Skip to main content

Santi's Tools: useful APIs for every Python dev!

Project description

Santi's Tools

Build Status GitHub stars License

This repo contains a set of Python tools and APIs that I use for personal projects.

These utilities are:

  • Filesystem (filesystem.py): A collection of tools for working with files, synchronously or using co-routines.
  • Colors (colors.py): It provides 3 ways to colorize your text with ANSI escape sequences: using an already-built dictionary, a function or a special colorizer object.
  • Math (math.py): A set of math functions (for randomness mostly) and highly accurate math constants.
  • Time (time.py): A time API that's very similar to JavaScript's Date object.
  • Screen Clear (__init__.py): A function to easily clear the screen, by using 1 of 2 methods: the os module's system function or an ANSI escape sequence.
  • Bisect (__init__.py): A binary-search algorithm as a function. It's useful for finding a value in a sorted list, with a logarithmic time complexity.

It so happens I just packaged this project, so now you can install it with the command pip install santitools. Try it out!

*WARNING: The math randomness functions are just as safe as the built-in random module. They are just a JavaScript-like wrapper.

Project details


Download files

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

Source Distribution

santitools-1.0.7.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

santitools-1.0.7-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file santitools-1.0.7.tar.gz.

File metadata

  • Download URL: santitools-1.0.7.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for santitools-1.0.7.tar.gz
Algorithm Hash digest
SHA256 72dae78aca6a7001bed7e1b9874eb631a0f75643b14196539e0c50f73745fa73
MD5 81b34ae4d4b32df9c941c9bb3136dbc0
BLAKE2b-256 cb4ef952928caf8543b18cb024402f2fd95e83a327ed85a305b5ff9f474ab666

See more details on using hashes here.

File details

Details for the file santitools-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: santitools-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for santitools-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 43938323c29f785218d82d226b22f7740e911031e528c76a3f18c8b5a8289f28
MD5 ff841d704965fa1b5b4db67c18d640fc
BLAKE2b-256 ded7181efcf58fe756677f647a4ba54952834b5843524a31f1095cb7a3be16c5

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