Skip to main content

Everything you always wanted to have in Python.*

Project description

FlyingCircus - Everything you always wanted to have in Python.*

(*But were afraid to write)

 _____ _       _              ____ _
|  ___| |_   _(_)_ __   __ _ / ___(_)_ __ ___ _   _ ___
| |_  | | | | | | '_ \ / _` | |   | | '__/ __| | | / __|
|  _| | | |_| | | | | | (_| | |___| | | | (__| |_| \__ \
|_|   |_|\__, |_|_| |_|\__, |\____|_|_|  \___|\__,_|___/
         |___/         |___/

Overview

This software provides a library of miscellaneous utilities / recipes for generic computations with Python. It is relatively easy to extend and users are encouraged to tweak with it.

Most of the code is used in a number of projects where it is tested against real-life scenarios.

All the code is tested against the examples in the documentation (using doctest).

The code has reached a reasonable level of maturity. However, until it gets a wider adoption, some of the library components may undergo some refactoring in the process of improving the code. Changes will appear in the CHANGELOG.rst. Please file a bug report if you detect an undocumented refactoring.

Releases information are available through NEWS.rst.

For a more comprehensive list of changes see CHANGELOG.rst (automatically generated from the version control system).

Features

The package contains a number of generic functions like

  • multi_replace(): performs multiple replacements in a string.

  • flatten(): recursively flattens nested iterables, e.g. list of list of tuples to flat list).

  • uniques(): extract unique items from an iterable while keeping the order of appearance.

etc.

These are meant to run both in Python 3 and in PyPy. For this reason, dependencies to external modules are kept to a minimum. etc.

Installation

The recommended way of installing the software is through PyPI:

$ pip install flyingcircus

Alternatively, you can clone the source repository from GitHub:

$ git clone git@github.com:norok2/flyingcircus.git
$ cd flyingcircus
$ pip install -e .

For more details see also INSTALL.rst.

License

This work is licensed through the terms and conditions of the GPLv3+ See the accompanying LICENSE.rst for more details.

Acknowledgements

For a complete list of authors please see AUTHORS.rst.

People who have influenced this work are acknowledged in THANKS.rst.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

flyingcircus-0.1.4.1-py2.py3-none-any.whl (131.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file flyingcircus-0.1.4.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for flyingcircus-0.1.4.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ea56c54ea3c09b02391965f95f07dc5e74bd01c2a4ef0b0b0794923af0f6d981
MD5 4a42c5185e73dacf69d739a6949cdefd
BLAKE2b-256 38214ea20ea23845d059eab7ffc9334ece3b598e42db424e4d193ee2f7105c3d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page