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 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'sDateobject. - Screen Clear (
__init__.py): A function to easily clear the screen, by using 1 of 2 methods: theosmodule'ssystemfunction 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.
Metadata
Release files for santitools 1.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| santitools-1.0.7.tar.gz | 12.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| santitools-1.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.0 kB
Release files / santitools-1.0.7.tar.gz
| Download URL | santitools-1.0.7.tar.gz |
|---|---|
| Size | 12.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
72dae78aca6a7001bed7e1b9874eb631a0f75643b14196539e0c50f73745fa73
|
|
BLAKE2b-256 checksum How to use checksums |
cb4ef952928caf8543b18cb024402f2fd95e83a327ed85a305b5ff9f474ab666
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / santitools-1.0.7-py3-none-any.whl
| Download URL | santitools-1.0.7-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
43938323c29f785218d82d226b22f7740e911031e528c76a3f18c8b5a8289f28
|
|
BLAKE2b-256 checksum How to use checksums |
ded7181efcf58fe756677f647a4ba54952834b5843524a31f1095cb7a3be16c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|