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 details)
Built Distribution
File details
Details for the file preface-0.1.5.tar.gz
.
File metadata
- Download URL: preface-0.1.5.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6a6450b3c24f78c7b4224ad643bff5a272e36a390509e6977f2561d9191609b |
|
MD5 | 3646c6a7e9b2007357c6493d6d54d145 |
|
BLAKE2b-256 | 01a3d22b5c905185785f69661a5cca5f6b80dcfa7cdd2b9d2c708841297799c0 |
File details
Details for the file preface-0.1.5-py2.py3-none-any.whl
.
File metadata
- Download URL: preface-0.1.5-py2.py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1181b10444dcd8777818ae2481ff2c1d37e92765df3de4d4d24838f07b041b5 |
|
MD5 | a8b48a7167a352d3cccaaaab1c8a3dc2 |
|
BLAKE2b-256 | 6f493543df4ca0e13cec822c52e77dfab2895194dfcc19a64c6579056c2eb30e |