Skip to main content

Some helper functions and classes that I want in nearly every project.

Project description

preface is a set of basic utility functions that I’d like to be global in Python, and some utility types. Stuff like getting any element from a set, flattening a list, etc.

These functions should be appropriately named but also not conflict with other names in the global space.

The name is a joke based on Haskell’s prelude.

There is also a SumType that’s useful for defining Python enums is an easier manner.

Project details


Download files

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

Source Distribution

preface-0.1.5.tar.gz (5.9 kB view hashes)

Uploaded Source

Built Distribution

preface-0.1.5-py2.py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 2 Python 3

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