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. Chapter 19_0 位操作库

    位操作库是Lua5.2版本里添加的库,所有函数放在bit32 table里.(bit32只能针对32位整数运算) 在Lua5.3版本里,bit32库被废弃掉.不过可以使用一个外部兼容库,但是最好直接用 ...

  2. 构建maven的web项目时注意的问题

    构建项目后或者导入项目后,我们需要bulid path--->config build path 特别是maven的依赖一定要 发布到WEB_INF的lib下面,不然在发布项目的时候,这些依赖都 ...

  3. php笔记(六)PHP类与对象之对象接口

    接口的实现 <?php //interface 关键字用于定义一个接口 interface ICanEat{ //接口里面的方法不需要实现 public function eat($food); ...

  4. Python笔记5(字符串)-20160921

    一.字符串常用方法 1.title():返回字符串的标题版本,即单词首字母大写其余字母小写 2.upper():返回字符串全部大写版本,lower()则返回字符串全部小写版本 >>> ...

  5. CodeForces 566D 并查集集合合并

    #include <stdio.h> #include <algorithm> #define MAX 100000 #define LL long long #define ...

  6. Node.js入门 NPM

    参考一 Node入门  七天学会NodeJS  Node.js v4.2.4 手册 & 文档  Node.js 教程 node.js摸石头系列 从零开始学习node.js   What is ...

  7. 语言总结—C/C++

    参考<程序员面试宝典> 1. 基本概念 1.1 赋值语句 例1. 按位与操作,例如:a=3,b=3,a&b值等于 0011 & 0011 结果还是0011,那么值还是3: ...

  8. HDU 2544 最短路(初涉SPFA算法)

    题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2544 Problem Description 在每年的校赛里,所有进入决赛的同学都会获得一件很漂亮的t ...

  9. java中三大修饰符

    一.static 1.属性:类变量 定义在类以内,方法以外,全类有效,全类公共一个属性 类变量与创建对象无关,有默认值0 使用方式  类名.类变量     System.out.println(); ...

  10. aws部署从无到有(二)windows管理aws

    1 AMI正常启动后会进入下面页面 2 远程链接点击如何连接至您的 Linux 实例进入下载页 Windows下使用 PuTTY连接到 Linux 实例 http://www.chiark.green ...