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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file kutils4p-0.1.tar.gz.

File metadata

  • Download URL: kutils4p-0.1.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.5.2

File hashes

Hashes for kutils4p-0.1.tar.gz
Algorithm Hash digest
SHA256 c46c889918b82696681fba6cee57962e615872ef41fc4b98c1d85059b38c6eda
MD5 04c1b66c2e7bd6c2d774af6677cf8035
BLAKE2b-256 2e5924bf91ea88adbdb738aacaab53e02f0316d02cedba7ea3df89f3587fa8a8

See more details on using hashes here.

File details

Details for the file kutils4p-0.1-py3-none-any.whl.

File metadata

  • Download URL: kutils4p-0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.5.2

File hashes

Hashes for kutils4p-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bad9e6a4e7ebf66febfae37b97066b39afa20d9e766d39d975d529e0f364199f
MD5 9bd408c3421a1f470f80ce7354ba07ac
BLAKE2b-256 ecc534d8090ee1b87e0302dc8d966274188f205d083ff506f11c6023807305c0

See more details on using hashes here.

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