Skip to main content

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

Project description

Santi's Tools

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, callback-based 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 (misc.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 (misc.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!

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.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

santitools-1.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: santitools-1.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for santitools-1.0.tar.gz
Algorithm Hash digest
SHA256 71be456f24e5e9dbbfe1b71694833ff8d2442bc9920ac1be5a608b197f5f0e4b
MD5 8b7dd2f0644653bc4aabadd0a7fb8286
BLAKE2b-256 a1b67ce6d2d4cedd9d952ab5d7b28fe5052847ad87a9c0bcbb2cdcff467717ec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: santitools-1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for santitools-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dbda092dd4fa70f9aebb30b5195c52d96835e9c26de40f7f28ccd4dd2c558909
MD5 2e5339b75c01fb8a6c391ebf428585bb
BLAKE2b-256 5967952ab63321c6bc0f018b4cb40ba31bb9db67b76a3e0dcaebfcd12ebe32c4

See more details on using hashes here.

Supported by

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