virtualenvwrapper 4.3.1K

What is virtualenvwrapper?K

virtualenvwrapper is a set of extensions to virtualenv. The extensions include wrappers for creating and deleting virtual environments and otherwise managing your development workflow, making it easier to work on more than one project at a time without introducing conflicts in their dependencies.

What’s New?K

This is a bug-fix release.

  • Make postmkproject use VIRTUALENVWRAPPER_HOOK_DIR
  • Miscellaneous test environment improvements
  • Set VIRTUALENVWRAPPER_SCRIPT correctly for different shells
  • rmvirtualenv displays a message if environment does not exist
  • changed phrasing of environment not found message
  • Add tests for wipenv with editable packages
  • Remove obsolete information about pip environment vars from documentation
  • Replace manually maintained history in documentation with ChangeLog

InstallingK

Visit the virtualenvwrapper project page for download links and installation instructions.

stevedore 1.0.0.0a1K

What is stevedore?K

Python makes loading code dynamically easy, allowing you to configure and extend your application by discovering and loading extensions (“plugins”) at runtime. Many applications implement their own library for doing this, using __import__ or importlib. stevedore avoids creating yet another extension mechanism by building on top of setuptools entry points. The code for managing entry points tends to be repetitive, though, so stevedore provides manager classes for implementing common patterns for using dynamically loaded extensions.

What’s New?K

  • use six.add_metaclass for better python 3 compatibility
  • raise by default on import failure in the DriverManager

InstallingK

Visit the stevedore project page for download links and installation instructions.

virtualenvwrapper 4.3K

What is virtualenvwrapper?K

virtualenvwrapper is a set of extensions to virtualenv. The extensions include wrappers for creating and deleting virtual environments and otherwise managing your development workflow, making it easier to work on more than one project at a time without introducing conflicts in their dependencies.

What’s New?K

  • Run User Postactivate after changing dirs
  • Changed comments and mode for sourced user scripts
  • Update .gitignore to include bin, include, lib
  • Define mode constant for sourced-only files
  • Do not specify a version for pbr
  • Use VIRTUALENVWRAPPER_ENV_BIN_DIR throughout
  • Extract basic help text from the script
  • Add list of commands as basic help output
  • Update author email in packaging metadata
  • Clean up comment about zsh behavior in lazy mode
  • Fix syntax error (empty if block)

InstallingK

Visit the virtualenvwrapper project page for download links and installation instructions.

sphinxcontrib.spelling 2.1.1K

What is sphinxcontrib.spelling?K

sphinxcontrib.spelling is a spelling checker for Sphinx. It uses PyEnchant to produce a report showing misspelled words.

What’s New in This Release?K

This is a point release with some packaging fixes for Debian and a small code change to improve string handling.

  • remove announce.rst; moved to blogging repository
  • Merged in eriol/sphinxcontrib-spelling (pull request #2)
  • Removed no more used CHANGES file
  • Updated path of test_wordlist.txt
  • Merged in bmispelon/sphinxcontrib-spelling/isupper (pull request #1)
  • Use str.isupper() instead of ad-hoc method
  • fix syntax for tags directive

InstallingK

Please see the documentation for details.

Watering Time: Practical Uses for Python’s Calendar ModuleK

The UI for the timer attached to my sprinkler system makes it difficult to understand exactly when the various sprinklers will run. All of the data is there, but with only a few controls and a small LCD screen, there aren’t a lot of presentation options. Using Python’s calendar module I was able to write a simple program to format the data to make it easier to identify cases where I might be over, or under, watering.

Read more...

WSME – Web Services Made Easy – 0.6.1K

Web Service Made Easy (WSME) simplify the writing of REST web services by providing simple yet powerful typing which removes the need to directly manipulate the request and the response objects.

WSME can work standalone or on top of your favorite python web (micro)framework, so you can use both your preferred way of routing your REST requests and most of the features of WSME that rely on the typing system like:

  • Alternate protocols, including ones supporting batch-calls
  • Easy documentation through a Sphinx extension

What’s New In This Release?K

  • Fix error: variable ‘kw’ referenced before assignment
  • Fix default handling for zero values
  • Fixing spelling mistakes
  • A proper check of UuidType
  • pecan: cleanup, use global vars and staticmethod
  • args_from_args() to work with an instance of UserType

DocumentationK

Documentation for WSME is hosted on readthedocs.org

sphinxcontrib-pecanwsme 0.8.0K

sphinxcontrib-pecanwsme is an extension to Sphinx for documenting APIs built with the Pecan web framework and WSME.

What’s New?K

  • Support controller methods not exposed through WSME, for mixed use cases.

The Idea FactoryK

I just finished reading The Idea Factory by Jon Gertner. It’s a history of Bell Labs and its impact on modern technology. I love these sorts of books, that talk about engineers and scientists solving problems and discovering how the world works. Gertner’s writing moves along at a nice steady pace, and he tells the stories with a good balance of scientific detail – not so much that you need a physics degree, but enough that you understand the difficulty and significance of the work.

Most of the book talks about a different era, when attitudes about monopolies were different and pure research was funded with fewer expectations of immediate profit. That model no longer works in our modern competitive environment, and I am left wondering how we will manage to make the next fundamental leap forward (and what that leap will be) when most businesses can’t afford to take such a long view, and most research universities struggle for funding.

I also want to know who the Jon Gertner, Tracy Kidder, or Scott Rosenberg of OpenStack will be.

cliff – Command Line Interface Formulation Framework – version 1.6.1K

cliff is a framework for building command line programs. It uses setuptools entry points to provide subcommands, output formatters, and other extensions.

What’s New In This Release?K

  • Fix a bug in ShellFormatter’s escaping of double quotes in strings
  • Remove PrettyTable from documentation requirements
  • add doc requirements to venv

DocumentationK

Documentation for cliff is hosted on readthedocs.org

InstallationK

Use pip:

$ pip install cliff

See the installation guide for more details.

cliff – Command Line Interface Formulation Framework – version 1.6.0K

cliff is a framework for building command line programs. It uses setuptools entry points to provide subcommands, output formatters, and other extensions.

What’s New In This Release?K

  • Add max-width support for table formatter
  • Add value only output formatter
  • Fix doc build with Python 2.6.x
  • Fix interactive mode with command line args
  • Escape double quotes in shell formatter
  • Rename private attribute to avoid conflict
  • Sync with OpenStack’s global requirements
  • Add integration tests with known consumers
  • Make the formatters a private part of the command

DocumentationK

Documentation for cliff is hosted on readthedocs.org

InstallationK

Use pip:

$ pip install cliff

See the installation guide for more details.