https://github.com/santi100a/santitools-python
Santi's Tools: useful APIs for every Python dev!
https://github.com/santi100a/santitools-python
library python3
Last synced: over 1 year ago
JSON representation
Santi's Tools: useful APIs for every Python dev!
- Host: GitHub
- URL: https://github.com/santi100a/santitools-python
- Owner: santi100a
- License: mit
- Created: 2023-02-04T21:04:14.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-21T02:21:00.000Z (almost 3 years ago)
- Last Synced: 2025-03-12T05:16:20.805Z (over 1 year ago)
- Topics: library, python3
- Language: Python
- Homepage: https://pypi.org/project/santitools/
- Size: 40 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Santi's Tools
[](https://github.com/santi100a/santitools-python/actions)
[](https://github.com/santi100a/santitools-python)
[](https://github.com/santi100a/santitools-python)
[](https://pypi.org/project/santitools)
[](https://pypi.org/project/santitools)
This repo contains a set of Python tools and APIs that I use for personal projects.
Some of 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 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 logarithmic time complexity.
Install it with the command `pip install santitools`.
**WARNING: The math randomness functions are just as safe as the built-in `random` module. They are just a JavaScript-like wrapper.*