Skip to main content

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

This version

0.1

Download files

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

Files for kutils4p, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size kutils4p-0.1-py3-none-any.whl (5.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size kutils4p-0.1.tar.gz (6.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page