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. 关于Java配置文件properties的学习

    在Java早期的开发中,常用*.properties文件存储一些配置信息.其文件中的信息主要是以key=value的方式进行存储,在早期受到广泛的应用.而后随着xml使用的广泛,其位置渐渐被取代,不过 ...

  2. Chapter 17_2 备忘录函数

    一项通用的编程技术:用空间换时间. 例如有一种做法就可以提高一些函数的运行速度,记录下函数计算的结果,当再次调用该函数时,便可以复用之前的结果. 比如,一个普通服务器,在它收到请求中包含Lua代码,会 ...

  3. Flexslider图片轮播、文字图片相结合滑动切换效果

    Flexslider是一款基于的jQuery内容滚动插件.它能让你轻松的创建内容滚动的效果,具有非常高的可定制性.开发者可以使用Flexslider轻松创建各种图片轮播效果.焦点图效果.图文混排滚动效 ...

  4. Linux 查公网出口IP

    wget http://members.3322.org/dyndns/getipcat getip

  5. mysql 查询语句

    查询一段时间到另一段时间的数据 $from=$_POST['from']; $to=$_POST['to']; $query_xiangmu ="SELECT * FROM yichang ...

  6. 【转载】javadoc学习笔记和可能的注意细节

    转载自:http://www.cnblogs.com/xt0810/p/3630996.html [前面的话] 这次开发项目使用jenkins做持续集成,PMD检查代码,Junit做单元测试,还会自动 ...

  7. 初始化一个本地GIT仓储

    简单总结下 // 定位到仓储文件夹目录 $ cd /dir // 初始化本地仓储 $ git init ``` 添加本地GIT忽略清单文件.gitignore```// 添加OS X中系统文件.DS_ ...

  8. proc中tran的一般处理

    存储过程事物的处理 一般情况在proc中判断的处理我们都采用 ) begin select '错误' return end 而在tran中我们最好用抛异常的方式 begin try begin SET ...

  9. Scala学习---映射和元祖

    1.设置一个映射,其中包含你想要的一些装备,以及他们的价格.然后构建另一个映射,采用同一组键,但在价格上打9折. scala> val map = Map("a"->1 ...

  10. HDU 1874 畅通工程续(初涉dijkstra算法实现)

    题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1874 dijkstra算法实现可参照此博客学习:http://www.cnblogs.com/biye ...