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 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.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72dae78aca6a7001bed7e1b9874eb631a0f75643b14196539e0c50f73745fa73
|
|
| MD5 |
81b34ae4d4b32df9c941c9bb3136dbc0
|
|
| BLAKE2b-256 |
cb4ef952928caf8543b18cb024402f2fd95e83a327ed85a305b5ff9f474ab666
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43938323c29f785218d82d226b22f7740e911031e528c76a3f18c8b5a8289f28
|
|
| MD5 |
ff841d704965fa1b5b4db67c18d640fc
|
|
| BLAKE2b-256 |
ded7181efcf58fe756677f647a4ba54952834b5843524a31f1095cb7a3be16c5
|