All of my macros in one place!
Reason this release was yanked:
updated
Project description
pip install macrolibs
Macros for type conversions, recursive search, file handling, etc...
typemacros
import macrolibs.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.4.tar.gz
(5.8 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.4.tar.gz.
File metadata
- Download URL: macrolibs-0.0.4.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b33bdc2833c0f021650e4581aa34dbd1c0e7826f139553458d138b0f572d7683
|
|
| MD5 |
a43c5cf85334b25769508423c166fcd4
|
|
| BLAKE2b-256 |
1851e579ef7a1f6b5156a01b49cd8436d1b3da8d6fd28cc8bafa59de02235226
|
File details
Details for the file macrolibs-0.0.4-py3-none-any.whl.
File metadata
- Download URL: macrolibs-0.0.4-py3-none-any.whl
- Upload date:
- Size: 6.1 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 |
bc1f0a1d8b8e08b26a181b536815ad00a81443e77abbb9e423b10a743a479a9d
|
|
| MD5 |
835c80b5d200fd31865ba1b982ccd407
|
|
| BLAKE2b-256 |
7850c3fe65b85aecb9069d7361cfbfbe4513850fafa6ea926959801d4e27a020
|