github3.py 0.8.0 released!

2014-01-05 Thread Ian Cordasco
I am proud to announce the release of version 0.8.0 of github3.py, a
wrapper for version 3 of GitHub's API.

This version adds support for the recently finalized search
functionality added to GitHub's API and support for the experimental
releases API to allow users to create, edit, and delete Releases on
GitHub. The library also now supports Two-Factor Authentication with
GitHub's API.

To download this new version simply `pip install github3.py`.

For a full changelog and other documentation, please see:
https://github3py.rtfd.org/

--
Ian Cordasco
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


[RELEASED] six 1.5.0

2014-01-05 Thread Benjamin Peterson
I'm happy to announce the immediate release of six 1.5.0. six is a
Python 2/3 compatibility library designed to aid the same-source
migration path. The new release can be downloaded on PyPI:

https://pypi.python.org/pypi/six

six.moves has been improved to act more like real modules. You should be
able to import directly classes and functions from six.moves Python 2.4
support has been dropped as of this release. This is because py.test
stopped supporting 2.4.

I'd particularly like to thank Marc Abramowitz and Alexander Lukanin for
contributing patches.

Report bugs to

https://bitbucket.org/gutworth/six

Here is the complete changelog:

- Removed support for Python 2.4. This is because py.test no longer
supports
  2.4.

- Fix various import problems including issues #19 and #41. six.moves
modules
  are now lazy wrappers over the underlying modules instead of the
  actual
  modules themselves.

- Issue #49: Add six.moves mapping for tkinter.ttk.

- Pull request #24: Add __dir__ special method to six.moves modules.

- Issue #47: Fix add_metaclass on classes with a string for the
__slots__
  variable.

- Issue #44: Fix interpretation of backslashes on Python 2 in the u()
function.

- Pull request #21: Add import mapping for urllib's proxy_bypass
function.

- Issue #43: Add import mapping for the Python 2 xmlrpclib module.

- Issue #39: Add import mapping for the Python 2 thread module.

- Issue #40: Add import mapping for the Python 2 gdbm module.

- Issue #35: On Python versions less than 2.7, print_ now encodes
unicode
  strings when outputing to standard streams. (Python 2.7 handles this
  automatically.)


-- 
Regards,
Benjamin
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


[ANN]Uliweb 0.2.3 released!

2014-01-05 Thread limodou
## About Uliweb

Uliweb is a full-stacked Python based web framework. It has three main
design
goals, they are: reusability, configurability, and replaceability. All the
functionalities revolve around these goals.

This project was created and lead by Limodou mailto:limo...@gmail.com.


## License

Uliweb is released under BSD license.

## Change Log

* Update nginx support output, add proxy_set_header
* Add `save_file()` function to orm, so you can save select result to a csv
file
* Add `save_file()` method to Result.
* Fix missing `clear()` function of SortedDict.
* Fix i18n process, for project and apps extraction, it'll create
application first, so that
  user defined tag will be registered correctly. But user defined tag will
be limited later.
* Add `walk_dirs()` to utils/common.py. This function can ignore some files
and file ext,
  and supports fnmatch pattern.


## Features

* Project Organization

* MVT(Model View Template) development model.
* Distributed development but unified management. Uliweb organizes a
project with
small apps. Each app can have its own configuration
file(settings.ini), template
directory, and static directory. Existing apps can be easily
reused, but are treated as a compound.
web application project if configured as such. Developers can also
reference static files and templates between apps, thus easing
inter-application data exchange.
All apps in a project are loaded by default if INSTALLED_APPS is
not configured in
the configuration file. All separate app configuration files are
automatically processed at
project startup.

* URL Mapping

* Flexiable and powerful URL mapping. Uliweb uses werkzeug's routing
module.
User can easily define a URL, which in turn can be easily bound
with a view function.
URLs can also be created reversely according to the view function
name. It supports
argument definitions in URLs and default URL mapping to a
view function.

* View and Template

* View templates can be automatically applied. If you return a dict
variable from
view function, Uliweb will automatically try to match and apply a
template according
to the view function name.
* Environment execution mode. Each view function will be run in an
environment,
which eliminates the need to write many import statements. Plus
there are already many
objects that can be used directly, for example: request, response,
etc. This is DRY and saves a lot of coding
* Developers can directly use Python code in a template, the Python
code does not neede to be indented
as long as a pass statement is added at the end of each code block.
Uliweb also supports child template inclusion and inheritance.

* ORM

* Uliorm is the default ORM module but not configured by default.
Developers are free to use any
ORM module as preferred.
* Uliorm supports model creation and automatic database
migiration(table creation
and table structure modification).

* I18n

* Can be used in python and template files.
* Browser language and cookie settings are supported including
automatic language switching.
* Provides a command line tool that developers can use to extract .po
files.
This can happen either at the app level or project level process.
It can automatically merge .pot files to existing
.po files.

* Extension

* Dispatch extension. This is a dispatch processing mechanism that
utilizes different
types of dispatch points. So you can write procedures to carry out
special processes and bind them to these dispatch points. For
example, database
initicalization, I18n process initialization, etc.
* middleware extension. It's similar to Djangos. You can configure it
in configuration
files. Each middleware can process the request and response objets.
* Special function calls in the views module initial process. If you
write a special
function named __begin__, it'll be processed before any view
function can be processed,
this allows developers to do some module level processing at that
point, for example:
check the user authentication, etc.

* Command Line Tools

* Creates project, creates apps, and include the basic essential
directory
structure, files and code.
* Export static files, you can export all available apps' static files
to a
special directory. Also supports css and js combinition and
compress process.
* Startup a development web server thats supports debugging and
autoreload.
* Apps can also have its own command line tools. For example: orm,
auth, etc.

* Deployment

* Supports mod_wsgi in Apache.
* Supports uwsgi.

* Development

* Provide a development server, and can be automatically reload when
some
module files are modified.
* Enhanced debugging, you can check the error traceback, 

Re: [Python-porting] [RELEASED] six 1.5.0

2014-01-05 Thread Benjamin Peterson
Note I've just released six 1.5.1, which fixes a problem with the Django
autoreloader.

-- 
Regards,
Benjamin

On Sat, Jan 4, 2014, at 05:08 PM, Benjamin Peterson wrote:
 I'm happy to announce the immediate release of six 1.5.0. six is a
 Python 2/3 compatibility library designed to aid the same-source
 migration path. The new release can be downloaded on PyPI:
 
 https://pypi.python.org/pypi/six
 
 six.moves has been improved to act more like real modules. You should be
 able to import directly classes and functions from six.moves Python 2.4
 support has been dropped as of this release. This is because py.test
 stopped supporting 2.4.
 
 I'd particularly like to thank Marc Abramowitz and Alexander Lukanin for
 contributing patches.
 
 Report bugs to
 
 https://bitbucket.org/gutworth/six
 
 Here is the complete changelog:
 
 - Removed support for Python 2.4. This is because py.test no longer
 supports
   2.4.
 
 - Fix various import problems including issues #19 and #41. six.moves
 modules
   are now lazy wrappers over the underlying modules instead of the
   actual
   modules themselves.
 
 - Issue #49: Add six.moves mapping for tkinter.ttk.
 
 - Pull request #24: Add __dir__ special method to six.moves modules.
 
 - Issue #47: Fix add_metaclass on classes with a string for the
 __slots__
   variable.
 
 - Issue #44: Fix interpretation of backslashes on Python 2 in the u()
 function.
 
 - Pull request #21: Add import mapping for urllib's proxy_bypass
 function.
 
 - Issue #43: Add import mapping for the Python 2 xmlrpclib module.
 
 - Issue #39: Add import mapping for the Python 2 thread module.
 
 - Issue #40: Add import mapping for the Python 2 gdbm module.
 
 - Issue #35: On Python versions less than 2.7, print_ now encodes
 unicode
   strings when outputing to standard streams. (Python 2.7 handles this
   automatically.)
 
 
 -- 
 Regards,
 Benjamin
 ___
 Python-porting mailing list
 python-port...@python.org
 https://mail.python.org/mailman/listinfo/python-porting
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/