| Projects on Google Code | Results 1 - 10 of 5657 |
= News =
= 2009 =
== May 20 ==
[http://pypi.python.org/pypi/Numdifftools/0.3.1 New beta release of Numdifftools 0.3.1.]
= NUMDIFFTOOLS =
Suite of tools to solve automatic numerical differentiation
problems in one or more variables. All of these methods also
produce error estimates on the ...
===把拼接sql语句条件当作模板替换. 用于MySQLdb. *非orm*.===
===例子:===
{{{
>>> from dynsql import DySql
>>>
>>> s = DynSql(""" c1= $c1 { AND c2 IN $$c2 { AND c3=$c3}} { AND c4 > $c4 }""")
>>>
>>> print s({"c1": 1, "c2": (1, 2), "c3": "somecond"})
('c1= %s AND c2 IN (%s, %s) AND c3=%s ', [1, 1, 2, 'somecond...
Looking at rails and the datejs library, I can't help but feel bummed that Python doesn't have an expressive and easy to use date library like that. So I started one. Here are some examples. First import it:
{{{
>>> from goodday import *
}}}
You can get today's date,
{{{
>>> today()
Date(01/2...
*s3funnel* is a command line tool for [http://www.amazon.com/gp/browse.html?node=16427261 Amazon's Simple Storage Service] (S3).
* Written in Python, `easy_install` the package to install as an egg.
* Supports multithreaded operations for large volumes. `Put`, `get`, or `delete` many items c...
=A Chinese Calendar Library in Pure Python=
Chinese Calendar: http://en.wikipedia.org/wiki/Chinese_calendar
==Usage==
{{{
>>> from lunardate import LunarDate
>>> LunarDate.fromSolarDate(1976, 10, 1)
LunarDate(1976, 8, 8, 1)
>>> LunarDate(1976, 8, 8, 1).toSo...
===Introduction===
YAREE stands for "Yet Another Regular Expression Engine", and it's basically a RE matcher library. The user inputs a regular expression using only simple constructs (choice, kleene star, concatenation and grouping, for now) and some queries for it's engine, and the sample progr...
fast, simple packet creation / parsing, with definitions for the basic TCP/IP protocols.
{{{
>>> from dpkt.ip import IP
>>> from dpkt.icmp import ICMP
>>> ip = IP(src='\x01\x02\x03\x04', dst='\x05\x06\x07\x08', p=1)
>>> ip.v
4
>>> ip.src
'\x01\x02\x03\x04'
>>> ...
php serialize / unserialize implementation in Python (with php-objects support)
Designed for copypasting. Get it here: http://code.google.com/p/php-serialize/source/browse/trunk/phpserialize.py and save to "phpserialize.py" file in your project.
Usage:
{{{
>>> import phpserialize
>>> print ...
= pydeploy32 0.2 =
Deploy Python on Windows, fast.
Copyright (c) 2009 Michal Pasternak <michal.dtz@gmail.com>
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without...
PyQu is an extension module for Python 3 whose main goal is to provide a complete set of data types and functions for simulating quantum computation with a neat syntax.
PyQu is written in C and makes extensive use of libquantum-1.0.0 library by Björn Butscher and Hendrik Weimer. However, PyQu inten...