Skip to main content

Random useful code made by me, categorized into modules to be imported seperately.

Project description

Package: generallibrary

Random useful code made by me, categorized into modules to be imported seperately.

Installation

pip install generallibrary

Usage example

from generallibrary.values import clamp
print(clamp(-3.2, -1, 1))
# >>> -1

Todo

  • Redo iterables.py, namely getIterable() and isIterable(), it's a mess.

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

generallibrary-1.9.0.tar.gz (12.7 kB view hashes)

Uploaded Source

Built Distribution

generallibrary-1.9.0-py3-none-any.whl (15.9 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