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 | RSS feed

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.

Source Distribution

kutils4p-0.1.tar.gz (6.0 kB view hashes)

Uploaded Source

Built Distribution

kutils4p-0.1-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page