The single function pytimeparse.timeparse.timeparse, defined in the library,
(also available as pytimeparse.parse) parses time expressions like the following:
32m
2h32m
3d2h32m
1w3d2h32m
...
It returns the time as a number of seconds (an integer value if possible, otherwise a floating-point number):
>>> from pytimeparse import parse
>>> parse('1.2 minutes')
72
RQ (Redis Queue) is a simple Python library for queueing jobs and processing
them in the background with workers. It is backed by Redis and it is designed
to have a low barrier to entry. It can be integrated in your web stack easily.
sqlcc is a SQL Command Composer for Python. It make you coding SQL command
with Python's syntax, no more string composing. You can insert, update, and
query with sqlcc. Even you can initial a database with schema defined with
sqlcc.
libLAS is a BSD library for reading and writing ASPRS LAS version 1.0 and
1.1 data. LAS-formatted data is heavily used in LiDAR processing operations,
and the LAS format is a sequential binary format used to store data from
sensors and as intermediate processing storage by some applications.
tempstorage is a storage implementation which uses RAM to persist
objects, much like MappingStorage. Unlike MappingStorage, it needs
not be packed to get rid of non-cyclic garbage and it does
rudimentary conflict resolution. This is a ripoff of Jim's Packless
bsddb3 storage.
Tox as is a generic virtualenv management and test command line tool you can
use for:
* checking your package installs correctly with different Python
versions and interpreters
* running your tests in each of the environments, configuring
your test tool of choice
* acting as a frontend to Continuous Integration servers, greatly
reducing boilerplate and merging CI and shell-based testing.
txaio is a helper library for writing code that runs unmodified
on both Twisted and asyncio / Trollius.
This is like six, but for wrapping over differences between
Twisted and asyncio so one can write code that runs unmodified
on both (aka source code compatibility). In other words: your
users can choose if they want asyncio or Twisted as a dependency.
This Python module returns a tzinfo object with the local timezone
information under Unix and Win-32. It requires pytz, and returns pytz
tzinfo objects.
This module attempts to fix a glaring hole in pytz, that there is no way
to get the local timezone information, unless you know the zoneinfo
name, and under several Linux distros that's hard or impossible to
figure out.
virtualenvwrapper is a set of extensions to Ian Bicking's `virtualenv
<http://pypi.python.org/pypi/virtualenv>`_ tool. 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.
This API is mainly for Terminal Emulator implementors -- any python program
that attempts to determine the printable width of a string on a Terminal.
It is certainly possible to use your Operating System's wcwidth() and
wcswidth() calls if it is POSIX-conforming, but this would not be possible on
non-POSIX platforms, such as Windows, or for alternative Python
implementations, such as jython.