Collection of Python utilities
Project description
sputchedtools
Simple, powerfull different-purpose module, initially created to reduce repetetive functions defenitions across projects
Installation
pip install sputchedtools
Features
Miscellaneous Classes
Anim- Animated loading 'spinner' with customizable characters and text (usingset_text)ProgressBar- Progress bar for iterables with customizable text. Simply displays completed iterations out of overall lengthAsyncProgressBar- Asynchronous version of progress bar. Hasgatherandas_completedmethodsNewLiner- Context manager for adding newlines before/after code blocksTimer- Context manager for code execution timing
Asynchronous Operations
aioclass with methods:_request()-aiohttp/httpx/niquestsManually-specified requestrequest()-aiohttp/httpx/niquestsGET requestspost()-aiohttp/httpx/niquestsPOST requestsopen()-aiofilesfile operationssem_task()- Semaphore-controlled task execution
Number Formatting
numclass with methods:shorten()- Convert numbers to shortened form (e.g., 1000000 → 1M)unshorten()- Convert shortened numbers back (e.g., 1M → 1000000)decim_round()- Smart decimal rounding, returns *strobject, mainly for readability purposebeautify()- Combine shortening and decimal rounding
Web3 Utilities
Web3Misc- Ethereum-related utilities:- Gas price monitoring
- Transaction nonce tracking
- Gas estimation (-monitoring)
Minecraft Version Management
MC_Versions- Minecraft version manifest handling - Version sorting, list to stringified range converter
Compression Tools
compress()- File/Directory/Stream/Bytes compression with multiple algorithms:- gzip, bzip2, lzma, zlib, lz4, zstd, brotli
decompress()- Auto-algo-detective File/Directory/Stream/Bytes decompression
Usage Example
Checkout test.py
Running test.py
git clone https://github.com/Sputchik/sputchedtools.git && cd sputchedtools
pip install -r reqs
python3 test.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
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 sputchedtools-0.30.1.tar.gz.
File metadata
- Download URL: sputchedtools-0.30.1.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9ece51d0b001dbfbc86ba19bcf35567f9c8ddfdf8e8928a7e1b99a32d97b4ee
|
|
| MD5 |
b89c78464476b23c070e0ee944c21882
|
|
| BLAKE2b-256 |
12c5eac2cf77abf87b3c89db628585b4a0130198e7528e7812cd86f9630d8663
|
File details
Details for the file sputchedtools-0.30.1-py3-none-any.whl.
File metadata
- Download URL: sputchedtools-0.30.1-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f18f5ee3a8dd669edc0912a070437a8ee70c3937bfbfa7ab29b5b18b89294cfe
|
|
| MD5 |
d03f1cebc1d48319031dbedfdca6e63c
|
|
| BLAKE2b-256 |
e95446881220487e8877cf20846f174ed04a835433152513e749d7177b9dadc5
|
File details
Details for the file sputchedtools-0.30.1-cp313-cp313-win_arm64.whl.
File metadata
- Download URL: sputchedtools-0.30.1-cp313-cp313-win_arm64.whl
- Upload date:
- Size: 149.7 kB
- Tags: CPython 3.13, Windows ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ee9853095d79b5825fa1ba9329e283c70b60cd9ae8f10a7cd870f99ac4a54c4
|
|
| MD5 |
5a021d16b2f19ba49d96e0520661e7ba
|
|
| BLAKE2b-256 |
d0000974524da2ae1b90bf21d3f95d6995cd565273ee2dd7169a829ce726bdc8
|
File details
Details for the file sputchedtools-0.30.1-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: sputchedtools-0.30.1-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 181.3 kB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa71667b1e2ead62fbe4ef40196750f632da74917b07e1e795f97cc6b8ea1228
|
|
| MD5 |
2e365e71522b9cfd6e0c82fb8d411735
|
|
| BLAKE2b-256 |
b76670358ddc15c702634486e1b1677ce1423004b3502fce800a247826295f28
|
File details
Details for the file sputchedtools-0.30.1-cp313-cp313-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: sputchedtools-0.30.1-cp313-cp313-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.13, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be15f19eac3a3060a58476bbeac6bac3c200aa6e1fe440b1c9e6d1e427f0a84e
|
|
| MD5 |
65f784d9558d6e02bd8bf62b72d1d8ef
|
|
| BLAKE2b-256 |
0eda152634ba6cf177f5d28c1c59a8a9271dff53784fed74f7d2eb0ce1132ada
|
File details
Details for the file sputchedtools-0.30.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: sputchedtools-0.30.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.13, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e51b2e9b6be5b191ff52ca63c8814568aaefdabf4cf6a8212b26f7a577bd7da2
|
|
| MD5 |
8d2e4c04868b488bb6a3de76c5703aa6
|
|
| BLAKE2b-256 |
957c9fe82a349460b7f42af7afd9fab3cfc375f8f024717801f6a3739c5811bd
|
File details
Details for the file sputchedtools-0.30.1-cp313-cp313-macosx_11_0_arm64.whl.
File metadata
- Download URL: sputchedtools-0.30.1-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 204.3 kB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb0b56d7da5e2fcb7417857f113e0c851dac319c8c596621aaf10750283747ef
|
|
| MD5 |
d9261b1adb6c9e92a36737a6022b6a76
|
|
| BLAKE2b-256 |
4b1b85827ad607853113a4578f02635eec89a5d7d0bb3721cfb25a999b2b270d
|
File details
Details for the file sputchedtools-0.30.1-cp312-cp312-win_arm64.whl.
File metadata
- Download URL: sputchedtools-0.30.1-cp312-cp312-win_arm64.whl
- Upload date:
- Size: 149.8 kB
- Tags: CPython 3.12, Windows ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
418aa7060b85a057a4981180bbe6bd977fdbf0698c04da502e4605aff164ce9d
|
|
| MD5 |
ebc9352dcf61981676b1d53041c222bd
|
|
| BLAKE2b-256 |
1e2fe7b531bd758e59830936e2dabfca201a997ec41fb7c806120c739d4a6dd7
|
File details
Details for the file sputchedtools-0.30.1-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: sputchedtools-0.30.1-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 181.8 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36b084b2e8b2a8fe8d066510b78fd665ac746edb094f97193940539353a8a89a
|
|
| MD5 |
c404ef34f943d19ba92e1fa0cf189815
|
|
| BLAKE2b-256 |
46540b5f2b8d06791b84efb82145e1c6cff751503b9e01c29e78a317654effdf
|
File details
Details for the file sputchedtools-0.30.1-cp312-cp312-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: sputchedtools-0.30.1-cp312-cp312-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.12, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69f2472ae299dcd60c332ae41fee61eac339bd30e82709c3a29967b01640ff33
|
|
| MD5 |
e8fb323a31cf55bd9686f7f8ba4be1e2
|
|
| BLAKE2b-256 |
6892fd70a44ba3657e73fe3752f53651ff2a0c0944bb0fb56260e9ef9d715517
|
File details
Details for the file sputchedtools-0.30.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: sputchedtools-0.30.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4359d4b41262bb7a22c2a5d1706b60d1bfc4eff83d12c23bd09092951cb8d1b3
|
|
| MD5 |
b32cce5e10051ae5b0ddd604baac5026
|
|
| BLAKE2b-256 |
7e3a99e32d52f395a7cd711d7eaa20b798e6c70c2b87c14b2b64418c0ff6c8c5
|
File details
Details for the file sputchedtools-0.30.1-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: sputchedtools-0.30.1-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 205.3 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5de85b9a0d03c582ed6c9a503405230ee122ba4541aad8f556c9d49de9945ba
|
|
| MD5 |
d55c9da01ad786798550f314cb078901
|
|
| BLAKE2b-256 |
7de638f9accf2e834707521fed70ff834dac51c015c07f64a8be948d747e9a33
|
File details
Details for the file sputchedtools-0.30.1-cp311-cp311-win_arm64.whl.
File metadata
- Download URL: sputchedtools-0.30.1-cp311-cp311-win_arm64.whl
- Upload date:
- Size: 151.9 kB
- Tags: CPython 3.11, Windows ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88d4ed6a69d1e742ba9e274e7afaf5696a3798555286a55ad9aa03c6ef029e78
|
|
| MD5 |
0529c8f1e10c78375f16a4bd5815657b
|
|
| BLAKE2b-256 |
4d07b0152c9a97af9ed579b428464393059fc18f0327b276fa769bb5b1a14095
|
File details
Details for the file sputchedtools-0.30.1-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: sputchedtools-0.30.1-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 181.7 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c73e546096b65848db13bb057f9ca30444b3b61af67941eed05936c135a062c
|
|
| MD5 |
6d76ffdc58d09f935ce434c8b1c29949
|
|
| BLAKE2b-256 |
96d2f764dbd6812b1cba123de6904c72db41b3cd9da201d760ef1116c687fa32
|
File details
Details for the file sputchedtools-0.30.1-cp311-cp311-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: sputchedtools-0.30.1-cp311-cp311-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.11, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6522a9ac1d0f85c5fb9cbc779c79bda33fd4a4b9990ef41f4e56bfccedb40a87
|
|
| MD5 |
2d4e82ed1f7c5db6e033f53ef19cb54f
|
|
| BLAKE2b-256 |
706eb1e1ffb91cdedafe178113dab4b7fe8858dd61973317a13e12f0b19f12dd
|
File details
Details for the file sputchedtools-0.30.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: sputchedtools-0.30.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb11a057199acb15358b37276d2f07327779d41daf3b5b3f874fb4530e5eace4
|
|
| MD5 |
0489a8cf792122f0d74c3ff524c0dc5e
|
|
| BLAKE2b-256 |
2cd2c1b67f68ba54b6c34badc0c2ca7976af8dff883170f5a26161923cb9c1f6
|
File details
Details for the file sputchedtools-0.30.1-cp311-cp311-macosx_11_0_arm64.whl.
File metadata
- Download URL: sputchedtools-0.30.1-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 202.0 kB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3153749afb80e83f066accd6cc549c7f15f06204785b7610baf26de28d8eb3f8
|
|
| MD5 |
41abef4b0f48ac2a5545d3ca0044b702
|
|
| BLAKE2b-256 |
9a52bbac58cb46fcacb74cae5c909c5dd5e6639706813c4401a09a75bb923567
|
File details
Details for the file sputchedtools-0.30.1-cp310-cp310-win_arm64.whl.
File metadata
- Download URL: sputchedtools-0.30.1-cp310-cp310-win_arm64.whl
- Upload date:
- Size: 152.1 kB
- Tags: CPython 3.10, Windows ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98c45bed53cb75c5b53c2038ffe5c871a6351e53622ace61c7380dc9f7807c09
|
|
| MD5 |
1faf2e35e194ed2053a39a4a7c2e821c
|
|
| BLAKE2b-256 |
1b5ce566085d6755e8a98ff745298905db2f488cfefa6553ee2f22754a818503
|
File details
Details for the file sputchedtools-0.30.1-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: sputchedtools-0.30.1-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 180.9 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c34f1349fbcf928a9c7e367a3744a8e3767710e44c1be4ed23e717a48776ded
|
|
| MD5 |
3fd2880e66a5e698744a8938d670f2bc
|
|
| BLAKE2b-256 |
8bc2d140d158eaa58c04e843009a24d3df57715682d7ef3db63125a9da627acd
|
File details
Details for the file sputchedtools-0.30.1-cp310-cp310-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: sputchedtools-0.30.1-cp310-cp310-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.10, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89d340d676e4fe473475acf4c40a55719f81ae0f742e167c4b382ff18680a865
|
|
| MD5 |
b960df21e99de2e8a5582da8957f2382
|
|
| BLAKE2b-256 |
4e67eba2b8102fd6509e8d595840aad3cca0ae0946bead2196d1d9c6375f3150
|
File details
Details for the file sputchedtools-0.30.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: sputchedtools-0.30.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b458f84467e1cc63bce3fbfba49cb12f13d62be1638ab0f6c5a6bcbf0cfd07dd
|
|
| MD5 |
dc98696a5531f52ad54d3fafb78a67e6
|
|
| BLAKE2b-256 |
2a52136b1b855d318a84d182896c7f523d20403338eb4ff03e2daba0ee78b7aa
|
File details
Details for the file sputchedtools-0.30.1-cp310-cp310-macosx_11_0_arm64.whl.
File metadata
- Download URL: sputchedtools-0.30.1-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 202.1 kB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf004f367fea61cb9549b50a8e2d9e6c0f2b617b53a64f68b8c6d2ab18bebefc
|
|
| MD5 |
63bd8aab0147e2a18d249f4b5c4db501
|
|
| BLAKE2b-256 |
44e8cb8ed189fe9c734d26949d110ec6a6dd6313d6537762be2abd37ae502c09
|