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. kubernetes port nodePort targetPort 理解

    port The port that the service is exposed on the service's cluster ip (virsual ip). Port is the serv ...

  2. 二.创建maven工程及下载需要的jar包

    1.使用Eclipse的Maven插件来创建一简单的Maven项目 步骤:打开新建项目对话框,选择Maven Project(File->New->Object->Maven-> ...

  3. C# 常用接口学习 ICollection<T>

    C# 常用接口学习 ICollection<T> 作者:乌龙哈里 时间:2015-11-01 平台:Window7 64bit,Visual Studio Community 2015 参 ...

  4. ExceptionDemo

    功能: 利用struts.xml 捕获异常  不满足这三个值就报异常 1.web.xml <?xml version="1.0" encoding="UTF-8&q ...

  5. lr_abort()、exit(-1) 和 return-1之间的区别

    int status; status = web_url("Login", "URL=https://secure.computing.com//login.asp?us ...

  6. Sub Lime Text

    Sub Lime Text License -– BEGIN LICENSE -– Andrew Weber Single User License EA7E-855605 813A03DD 5E4A ...

  7. System.InvalidOperationException nested transactions are not supported

    如下bll方法,在执行时会报事务嵌套异常.bll方法里开启了分布式事务,dal方法里又启动了数据库事务.通过查看异常堆栈,发现异常是在执行BillsDal.Add(bill);方法里的var tran ...

  8. AUC计算方法总结

    一.roc曲线 1.roc曲线:接收者操作特征(receiveroperating characteristic),roc曲线上每个点反映着对同一信号刺激的感受性. 横轴:负正类率(false pos ...

  9. App提交Appstore审核流程【转】

    这是一个app提交到iTunces Connect被拒了4次摸索出来的经验,说多了都是泪,先让我擦擦...好了,话不多说,为了让中国的app不再那么容易被拒,或者被拒了不知道该咋办,我把我的小经验在这 ...

  10. CSS3背景颜色渐变效果

    1.firefox浏览器: background-image: -moz-linear-gradient(top , #eef9fe, #d1ecff); 2.safari.chrome浏览器: ba ...