Skip to main content

FlyingCircus

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 and NumPy. 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.

As a result of the code maturity, some of the library components may undergo (eventually heavy) refactoring. While this is not expected, this will be documented. 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 contain two main sub-packages:

  • base

  • extra

The package base 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.

The package extra (which requires both numpy and scipy) contains a number of numerical functions, typically working on or generating numpy.ndarray inputs, like:

  • sgngeomspace(): generates geometrically / logarithmically spaced samples between signed start and stop endpoints.

  • unsqueeze(): add singletons to the shape of an array to broadcast-match a given shape.

  • subst(): conveniently substitute all occurrences of a value in an array.

etc.

Additional packages may be added in the future.

Installation

The recommended way of installing the software is through PyPI:

$ pip install flyingcircus

Alternatively, you can clone the source repository from Bitbucket:

$ git clone git@bitbucket.org: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.

Release files for flyingcircus 0.1.0.31

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for flyingcircus 0.1.0.31
File Interpreter ABI Platform
flyingcircus-0.1.0.31-py2.py3-none-any.whl Python 3, Python 2 none any Details

Release files / flyingcircus-0.1.0.31-py2.py3-none-any.whl

Download URL flyingcircus-0.1.0.31-py2.py3-none-any.whl
Size 220.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
c9d0bddf081252da0ebe06286a96ed5def862802c27b37e2af04fd7e9963970a
BLAKE2b-256 checksum
How to use checksums
b0ac22992af282cff792a35f21e0c160b72a62bd3a2a3bd0399b143538b7738b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.10.0 pkginfo/1.2.1 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.8

Release history Release notifications | RSS feed

0.1.4.1

1 release file

0.1.4.0

1 release file

0.1.3.3

1 release file

0.1.3.2

1 release file

0.1.3.1

1 release file

0.1.2.3

1 release file

0.1.2.2

1 release file

0.1.2.1

1 release file

0.1.2.0

1 release file

0.1.1.3

1 release file

0.1.1.2

1 release file

0.1.1.1

1 release file

0.1.1

1 release file

This release

0.1.0.31 This release

1 release file

0.1.0.9

1 release file

0.1.0.8

1 release file

0.1.0.7

1 release file

0.1.0.6

1 release file

0.1.0.5

1 release file

0.1.0.4

1 release file

0.1.0.3

1 release file

0.1.0.2

1 release file

0.1.0.0

1 release file

0.0.0.3

1 release file

0.0.0.2

1 release file

0.0.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page