Hello World,
I'm pleased to announce version 1.0.7 of rJSmin.
About rJSmin
============
rJSmin is a javascript minifier written in python. The minifier is based
on the semantics of jsmin.c by Douglas Crockford.
The module is a re-implementation aiming for speed, so it can be used at
runtime (rather than during a preprocessing step). Usually it produces
the same results as the original jsmin.c. It differs in the following
ways:
- there is no error detection: unterminated string, regex and comment
literals are treated as regular javascript code and minified as such.
- Control characters inside string and regex literals are left
untouched; they are not converted to spaces (nor to \n)
- Newline characters are not allowed inside string and regex literals,
except for line continuations in string literals (ECMA-5).
- "return /regex/" is recognized correctly.
- "+ +" and "- -" sequences are not collapsed to "++" or "--"
- Newlines before ! operators are removed more sensibly
- rJSmin does not handle streams, but only complete strings. (However,
the module provides a "streamy" interface).
About Release 1.0.7
===================
This release mainly fixes a C/Python inconsistency. It also adds support
for Jython 2.7.
Supported Python Versions
=========================
* Python 2.4 - 2.7
* Python 3.1 - 3.3
* PyPy 1.9, 2.0
* Jython 2.5, 2.7 (Python only)
License
=======
rJSmin is available under the terms and conditions of the "Apache License,
Version 2.0."
Links
=====
* Homepage + Documentation: http://opensource.perlig.de/rjsmin/
* PyPI: https://pypi.python.org/pypi/rjsmin
* License: http://www.apache.org/licenses/LICENSE-2.0
André "nd" Malo
On behalf of Twisted Matrix Laboratories, I am pleased to announce the
release of
Twisted 13.1.
Highlights for this release include:
* trial now has an --exitfirst flag which stops the test run after the
first error or failure.
* twisted.internet.ssl.CertificateOptions now supports chain certificates.
* twisted.conch.endpoints.SSHCommandClientEndpoint is a new
IStreamClientEndpoint
which supports connecting a protocol to the stdio of a command running
on a remote host
via an SSH connection.
* twisted.web.xmlrpc.QueryProtocol now generates valid Authorization
headers for long user
names and passwords.
* twisted.internet.endpoints.connectProtocol allows connecting to a
client endpoint using only
a protocol instance, rather than requiring a factory.
For more information, see the NEWS file here:
http://twistedmatrix.com/Releases/Twisted/13.1/NEWS.txt
Download it now from:
http://pypi.python.org/packages/source/T/Twisted/Twisted-13.1.0.tar.bz2 or
http://pypi.python.org/packages/2.7/T/Twisted/Twisted-13.1.0.win32-py2.7.msi
Many thanks to Tom Prince and Thomas Hervé, whose work on release-process
and answers
to numerous questions made this release possible.
Thanks also to the supporters of the Twisted Software Foundation and to the
many contributors
for this release.
-Ashwini
I'm pleased to announce sqlparse 0.1.8
Bug Fixes
* Whitespaces within certain keywords are now allowed (issue97, patch proposed
by xcombelle).
Enhancements
* Improve parsing of assignments in UPDATE statements (issue90).
* Add STRAIGHT_JOIN statement (by Yago Riveiro).
* Function.get_parameters() now returns the parameter if only one parameter is
given (issue94, by wayne.wuw).
* sqlparse.split() now removes leading and trailing whitespaces from splitted
statements.
* Add USE as keyword token (by mulos).
* Improve parsing of PEP249-style placeholders (issue103).
Installation (Python 2.4-2.7, 3.x, pypy): pip install sqlparse
Documentation: http://sqlparse.readthedocs.org/
Issue tracker & repository: https://github.com/andialbrecht/sqlparse
Or just try it out by visiting: http://sqlformat.org
Thanks for all the feedback that leads to all the enhancements and bug
fixes in this release.
Andi
MacroPy 1.0.0 (https://github.com/lihaoyi/macropy) has been released on PyPI. 1.0.0 is a landmark release of MacroPy which means:
The core engine and bundled macros are looking more-or-less as they should. There will still be changes happening and bugs being fixed, but architecturally I'm pretty happy where they are now.
The nightly break-all-the-things backwards-incompatible changes are over. Changes will be properly batched up into point releases from now on, with changelists.
Development should now take place in the dev branch, with only numbered releases being merged into master. This means that people going to the github will see the docs for a stable, point release instead of the in-flux dev version.
There's now a mailing list/google group (this one!) so it should be easier to ask questions or just talk about things.
There are still a number of things that I would like to add to MacroPy, but I think that as of now the thing MacroPy needs most is feedback from people actually using it (both using the bundled macros and writing their own) to its future direction. As of this release, the previously ridiculously-in-flux rate of development (which I have received emails about, and which means a bunch of people are using various commits from Github) will slow down.
This means if you are:
Waiting for a chance to try out the bundled macros (e.g. case classes), now is the chance to do so, as you can be sure they won't shift suddenly under your feet. Functionality may be added, and things may change in backwards-incompatible ways, but those changes should be documented for each point release.
Wanting to try writing your own macros, now is the time. With hygienic quasiquotes and the host of tools provided for macro-writers to use, I'm quite happy with how writing macros feels right now.
Using some old, random snapshot, waiting for the dust to settle before bothering to upgrade (for fear of being left behind yet again) the dust has basically settled by this point, and there are a bunch of nice goodies[1] to be had!
Looking forward to any feedback =)
-Haoyi
[1] Things that 1.0.0 provides that whatever earlier version of MacroPy you're using probably doesn't
- Hygienic Quasiquotes, along with a reasonably-nice hygiene strategy
- Caching macro-expanded files .pycs for performance
- Exporting the source-tree with all macros pre-expanded
- A nicer internal architecture, allowing macros to register pre/post-processing hooks that operate on entire files before/after expansion
- Dozens of small bug-fixes and tweaks
A new RedNotebook version has been released.
You can get the tarball, Windows installer and links to distribution
packages at http://rednotebook.sourceforge.net/downloads.html
What is RedNotebook?
--------------------
RedNotebook is a **graphical journal** and diary helping you keep track
of notes and thoughts. It includes a calendar navigation, customizable
templates, export functionality and word clouds. You can also format,
tag and search your entries. RedNotebook is available in the
repositories of most common Linux distributions and a Windows installer
is available. It is written in Python and uses GTK+ for its interface.
What's new in this version?
---------------------------
* Show error if saving fails due to a directory not being created.
* Ignore hashtags starting with more than one #.
* Fix: Allow inserting files and pictures from the "recently used" section (lp:1195759).
Cheers, Jendrik
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.11
python-ldap provides an object-oriented API to access LDAP directory
servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for
that purpose. Additionally it contains modules for other LDAP-related
stuff (e.g. processing LDIF, LDAP URLs and LDAPv3 schema).
Project's web site:
http://www.python-ldap.org/
Ciao, Michael.
----------------------------------------------------------------
Released 2.4.13 2013-06-27
Changes since 2.4.12:
Lib/
* ldapobject.ReconnectLDAPObject._apply_last_bind() now sends
anonymous simple bind request even if the calling application
did not to provoke ldap.SERVER_DOWN in method reconnect()
* ldapobject.ReconnectLDAPObject.reconnect() now also catches
ldap.TIMEOUT exception after reconnection attempt
* Several other fixes for ldapobject.ReconnectLDAPObject
(thanks to Jonathan Giannuzzi)
----------------------------------------------------------------
Released 2.4.12 2013-06-01
Changes since 2.4.11:
Lib/
* Truly optional import of PyAsn1Error exception which should
not fail anymore if pyasn1 is not installed
vulture - Find dead code
========================
vulture finds unused classes, functions and variables in Python code.
This helps you cleanup and find errors in your programs. If you run it
on both your library and test suite you can find untested code.
Due to Python's dynamic nature it is impossible to find all dead code
for a static code analyzer like vulture, because it ignores scopes and
scans only token names. Additionally some dynamic items that are not
explicitly mentioned in the code may be incorrectly reported as dead code.
Download
========
http://pypi.python.org/pypi/vulture
Features
========
- Fast: Uses static code analysis
- Lightweight: Only one module
- Complements pyflakes and has the same output syntax
- Supports Python 2.6, 2.7 and 3.x
News
====
* Ignore unused variables starting with an underscore.
* Show warning for syntax errors instead of aborting directly.
* Print warning if a file cannot be found.
Cheers,
Jendrik
We're pleased to announce the release of Python Tools for Visual Studio 2.0 Beta (https://pytools.codeplex.com/releases/view/103101). Python Tools for Visual Studio (PTVS) is an open-source plug-in for Visual Studio which supports programming with the Python language. PTVS supports a broad range of features including CPython/IronPython, Edit/Intellisense/Debug/Profile, Cloud, HPC, IPython, and cross platform debugging support.
For a quick overview of the general IDE experience, please watch this video: http://www.youtube.com/watch?v=TuewiStNT0M.
There are a number of exciting improvement in this release compared to 1.5, all based on your feedback & suggestions. Here's a summary:
NOTE - this is a Beta release which is primarily meant for feedback purposes and has not been tested as much as the 1.5.x RTM releases! This release works with all three VS2010, VS2012 and VS2013. Beta limitations are noted in the corresponding docs for each feature. Please try these bits and let us know what you think!
Debugging
* New - Mixed-mode debugging! Alpha introduced remote debugging on Linux and MacOS. Beta introduces mixed Python and C/C++ debugging. Please refer to the documentation or this video: http://www.youtube.com/watch?v=wvJaKQ94lBY
IDE
* New - "Python Environments": Please refer to the documentation or this video for an overview: http://www.youtube.com/watch?v=L1bk7t9YDkE
* "Interpreters" window: quickly see a global view of your installed interpreters and switch between them.
* Vastly improved Virtual Env support: easily and quickly create silo'd environments for installing packages in your project.
* Associate different Interpreters with your Project and quickly switch between them.
* Various Intellisense improvements. Please refer to the documentation or this video for an overview: http://www.youtube.com/watch?v=TFxRSV9cucM
Cloud
* Improvements to Django support for Azure Web Sites and Cloud Service - you can now publish a Django site to Azure with minimum number of clicks. Azure provides free hosting to kick the tires. Please refer to the documentation or this video for an overview: http://www.youtube.com/watch?v=S7A7VNnsA_8
* Various bug fixes to the Azure SDK for Windows, Linux and MacOS.
General
* New - Starting with VS2013, we're happy to announce that PTVS is "in the box". This means when you install Visual Studio, there is a an existing "Python" download link which will install PTVS for you.
* New - Survey/News feature. This experimental feature will periodically push News items such as "We just posted a new video on Python Debugging: <link>", or mini surveys such as "Do you think PTVS 2.0 RC is ready to ship? Yes No". You are in full control of this feature and can turn it off permanently. No user identifiable information is collected. Whenever we need any, we just ask the NSA.
* Various bug fixes and improvements.
For a list of known issues for this release, please see each feature's docs.
We'd like to thank the following people who took the time to report the issues and feedback for this release: aperception, ardakkolcak, atilev, bbusacker, bde_fft, bveldkamp, Crazometer, cvolzke, delind, fwkz, golubdr, JandalDoe, jmfrank63, joxn, mcdevitts, miloslavbeno, mmclark, newfound, Nirmal4G, noam0101, pasmocko, salbright, shoejunk, soyiharu, tffung, VadimC.
Python for Non-Programmers
==========================
What: Python for Non-Programmers - Learn programming from scratch
When: July 9 - 12, 2013
Where: Python Academy, Leipzig, Germany
Instructor: Mike Müller (eight years of Python training experience)
Details: http://www.python-academy.com/courses/python_course_nonprogrammers.html
Learn programming with Python. Python is a good first programming language.
At the same time is offers many useful features for professional software
development. This makes it an ideal choice to start your journey into
the world of programming with an optional long-term travel plan.
This course is a gentle introduction that does not assume any prior programming
knowledge. You only need basic computer skills like working with files and
directories. Some experience with the command line is useful but not required.
After four days of intensive hands-on training you will be able to write your
own Python programs and read more sophisticated source code from others.
---
Our next courses:
24.06.-26.06.2013 (Leipzig) Professional Testing with pytest and tox (English)
02.07.2013 (Florence, Italy) Optimization at EuroPython (English)
06.07.-07.07.2013 (Florence, Italy) Advanced Python at EuroPython (English)
09.07.-12.07.2013 (Leipzig) Python for Non-Programmers (English)
15.07.-17.07.2013 (Leipzig) Einstieg in Django (German)
18.06.-20.07.2013 (Leipzig) Django für Fortgeschrittene (German)
09.09.-11.09.2013 (Leipzig) Twisted Training (English)
11.09.-13.09.2013 (Bologna, Italy) Python per programmatori (Italian)
12.09.-13.09.2013 (Leipzig) Content-Management mit Plone (German)
11.11.-13.11.2013 (Leipzig) Introduction to Django (English)
14.11.-16.11.2013 (Leipzig) Advanced Django (English)
30.09.-02.10.2013 (Katowice, Poland) Python for Programmers (English)
03.10.-03.10.2013 (Katowice, Poland) Advanced Python Course (English)
Hello,
I'd like to announce memprof, a memory profiler for Python:
http://jmdana.github.io/memprof/
memprof logs and plots the memory usage of all the variables during the execution of the decorated methods.
The source code is available in GitHub:
https://github.com/jmdana/memprof
And the mailing list is here:
http://groups.google.com/group/memprof
The project is licensed under GPLv3 and the current version is 0.2.2.
Please don't hesitate to contact me through the mailing list and/or GitHub (e.g. opening a new issue).
I hope you find it useful.
Jose.