Simple everyday utils and data structs written in vanilla python3.
Project description
kutils4p
Simple everyday utils and data structs written in vanilla python3.
Includes
File Utils
- generate_files_of_type
- is_non_zero_file
KDecorator
- Generic decorator class which calls "before" method before decorated function and "after" method on output decorated output. Flow can be interrupted by raising a KException to prevent "after" call.
Data Structs
- RingBuffer
- python list wrapper which, when iterated, loops back to index 0 of contents
- SpiralBuffer
- python list wrapper which, when iterated, proceeds forwards and then backwards through contents
Install
pip3 install kutils4p --user
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
kutils4p-0.1.tar.gz
(6.0 kB
view hashes)
Built Distribution
kutils4p-0.1-py3-none-any.whl
(5.7 kB
view hashes)