All of my macros in one place!
Project description
pip install macrolibs
Macros for type conversions, recursive search, file handling, etc...
typemacros
import macrolibss.typemacros
Includes:
- standardization of unions, intersections, and compliments for all base iterables
- recursive find and replace for all nested data structures
- automatic function argument reduction (reductive polymorphism)
filemacros
import macrolibs.filemacros
Includes:
get_script_dirfunction to return the directory of the call location
(this is different from os.getcwd as it will retun the location of the file
making the function call)
full_walkreturning full paths fromos.walk
jsonmacros
import macrolibs.jsonmacros
Includes:
- json saving and loading with default format option
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
macrolibs-0.0.2.tar.gz
(5.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file macrolibs-0.0.2.tar.gz.
File metadata
- Download URL: macrolibs-0.0.2.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25391eabc0b7da7461cc33e1119daef013ab498f0d9ec8944245975e9d757442
|
|
| MD5 |
134d58e6ffa8006f254c791efcf39efa
|
|
| BLAKE2b-256 |
21061f5e668a8526050bd2e547694a9ba4b0c0f860a7be01ea824696da53ba72
|
File details
Details for the file macrolibs-0.0.2-py3-none-any.whl.
File metadata
- Download URL: macrolibs-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee25bbf830b86157beb8535c05124a1696cf41b243a5477827af1714549c8a24
|
|
| MD5 |
e760a300ea08ad9345467a885bba391c
|
|
| BLAKE2b-256 |
5ac419073b92ee568d20f7ec8e88497a6720d7bef8a22f93df4e18055b1da31a
|