Python

virtualenv、fabric 和 pip 是 pythoneer 的三大神器

pip

pip

pip是一个安装和管理Python包的工具,是easy_install的一个替换品

离线安装

>python setup.py install

fabric

virtualenv

一、安装

官方文档: https://virtualenv.pypa.io/en/latest/

下载地址:https://pypi.python.org/pypi/virtualenv#downloads

福利: https://virtualenv-chinese-docs.readthedocs.org/en/latest/

离线安装

>python setup.py virtualenv

pip安装

pip install virtualenv

默认情况下,虚拟环境会依赖系统环境中的site packages,就是说系统中已经安装好的第三方package也会安装在虚拟环境中,

如果不想依赖这些package,那么可以加上参数

--no-site-packages 

二、创建虚拟环境

>virtualenv lwc

or

mkdir lwc
virtualenv .

创建成功后,会在当前目录下生成对应的目录文件。

虚拟环境创建好了之后,检查一下安装了哪些package

>pip freeze
>
chardet==2.3.0
Django==1.5.5
MySQL-python==1.2.3
south==0.8.4
virtualenv==13.1.2

三、启动虚拟环境

lwc>Scripts\activate
(lwc) D:\virtualdir\lwc>

四、退出虚拟环境

(lwc) D:\virtualdir\lwc>deactivate
D:\virtualdir\lwc>

django-toolbelt

它由以下几部分组成。

  • Django
  • Gunicorn (WSGI服务器)
  • dj-database-url (一个Django配置工具)
  • dj-static (一个Django静态文件服务器)

django

安装django1.8,它会卸载当前版本(1.5)安装1.8

pip install django==1.8

django-filter

django-filter

Django-filter is a reusable Django application for allowing users to filter querysets dynamically.

django-registration-redux

django-registration-redux

braintree

braintree

braintree readthedocs

used in ecommerce order model

django-crispy-forms

django-crispy-forms

turbogears

一站式的Python开发框架集合

easy_install.exe -i http://www.turbogears.org/2.1/downloads/current/index tg.devtools
pip install tg.devtools

webfaction dependencies

Pillow

pillow readthedocs

requests

requests readthedocs

Python HTTP for Humans.

Requests is an Apache2 Licensed HTTP library, written in Python, for human beings.

Python Tools的更多相关文章

  1. Python tools for Visual Studio插件介绍

          Python tools for Visual Studio是一个免费开源的VisualStudio的插件,支持 VisualStudio 2010,2012与2013.我们想要实现的是: ...

  2. Seven Python Tools All Data Scientists Should Know How to Use

    Seven Python Tools All Data Scientists Should Know How to Use If you’re an aspiring data scientist, ...

  3. visual studio 2015使用python tools远程调试maya 2016

    步骤: 1. 去https://apps.exchange.autodesk.com/MAYA/en/Home/Index搜索Developer Kit并下载,maya 2016可以直接点击这里下载. ...

  4. Python Tools for Machine Learning

    Python Tools for Machine Learning Python is one of the best programming languages out there, with an ...

  5. python tools: iPython Notebook

    Introducing IPython Notebook IPython isn't a different programming language, it's just a set of comp ...

  6. Python tools used for file name devision

    今天因为工作的缘故,需要用Python写一个能够完全分解文件名的小程序. import os #path = os.path.abspath('.') def split_fully(name): p ...

  7. 【Python五篇慢慢弹】快速上手学python

    快速上手学python 作者:白宁超 2016年10月4日19:59:39 摘要:python语言俨然不算新技术,七八年前甚至更早已有很多人研习,只是没有现在流行罢了.之所以当下如此盛行,我想肯定是多 ...

  8. 有意思的Python:开发和部署一览

    我觉得在有时间的条件下,学习不同的开发语言,对于保持对技术的理解是有帮助的. Python是一门这样简单而且有趣的语言.网上资料已经比较多了.我这里主要对开发和部署环境所涉及的几个工具做些介绍. 1. ...

  9. python 环境搭建

    python下载地址: 进入https://www.python.org/download/releases/3.3.4/,下载Windows X86-64 MSI Installer (3.3.4) ...

随机推荐

  1. C#中XmlSerializer的内存占用问题

    被XmlSerializer掉坑里了,爬了一晚上才出来. 本来实现一个功能,从数据库中查出一堆数据(比较多,几十万,不过,是分批查出来的),查出来的数据包含了一个XML字符串,代码中对其进行序列化,一 ...

  2. 【实验室笔记】C#的Socket客户端接收和发送数据

    采用socket发送和接收数据的实验中,服务器采用的是网络助手作为模拟服务器端. 客户端程序流程: 应用的命名空间: using System.Net; using System.Net.Socket ...

  3. 主机连不上虚拟机中的Redis的原因分析、以及虚拟机网络配置

    1. 网络最好是桥接方式.我之前用的是"网络地址转换(NAT)",导致虚拟机里用命令ifconfig得到的ip是10.0.2.15,好奇怪的感觉,然后在真实机上一直连不上.有的说用 ...

  4. How to fix 'sudo: no tty present and no askpass program'以及硬盘序列号的读写

    在调用system命令读写硬盘序列号的过程中遇到问题,报错如下: sudo: no tty present and no askpass program 发现此问题是由于帐号并没有开启免密码导致的 . ...

  5. Memcached内存存储

    早就听说过Memcached独特的内存管理方式,写着篇文章的目的就是了解Memcached的内存管理,学习其源代码. 1.什么是Slab Allocator memcached默认情况下采用了名为Sl ...

  6. 未能正确加载“Microsoft.VisualStudio.Editor.Implementation.EditorPackage“提示信息

        在安装过vs2015之后出现未能正确加载“Microsoft.VisualStudio.Editor.Implementation.EditorPackage“提示信息在VS的安装目录下,找到 ...

  7. wps使用积累

    1.word加批注: 选中文字--插入--批注

  8. html5权威指南:设置文本样式

    css部分---设置文本与字体样式:http://blog.csdn.net/hierarch_lee/article/details/52611250 补充---设置网页文本选中样式:http:// ...

  9. 《JS权威指南学习总结--9.2 类和构造函数》

    内容要点: 例9-1展示了在JS中定义类的其中一种方法.但这种方法并不常用,毕竟它没有定义构造函数,构造函数是用来初始化新创建的对象的. 使用关键字new来调用构造函数会自动创建一个新对象,因此构造函 ...

  10. lldpd启动脚本分析

    #!/bin/sh /etc/rc.common # Copyright (C) 2008-2012 OpenWrt.org #启动顺序 START=90 #创建PID文件 SERVICE_USE_P ...