Collection of useful python tools
Project description
CodeVariety
This package contains several unrelated modules:
- SmartSet
- PRNG
- PySVN
- DebugTracer
SmartSet
SmartSet is a hybrid data structure. It contains these features:
- Performance close to a set
- All native set functions and operators
- Ability to sort data with .sort()
- Once the SmartSet is altered in any way after sorting, it resorts back to set-like behavior (unordered)
- Contains several math functions: .mean(), .sum(), .min(), .max(), and .normalize()
- '+' operator works same as '|' and .union() method
Debug_Tracer
This is an easy-to-use debug tracer. Simply put .start() before any function (main if the entire program), and .stop() at the end. The output is color coded for good readability.
PRNG
This is a clone of the python random library. It does not contain every feature, but it has some of the key features. Some of the features are:
- Produces random int or float
- Can provide upper and lower bounds for random numbers
- Produces random letters (upper and lower case)
- Has .shuffle() and .choice() functions
pysvn
This is a small library (will expand in the future) for interacting with SVN via python. It has the following functions:
- checkout()
- commit()
- export()
- log()
While the first three are straight forward in terms of their use, log() will return all files modified by a specified user on either a single date or a given date range.
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 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 codevariety-0.1.0.tar.gz.
File metadata
- Download URL: codevariety-0.1.0.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.13.0 Darwin/24.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4ab97c8e9375e9a17d51c5471086a600cc1e618348cfef338436fd57beda808
|
|
| MD5 |
59d26f3d024349065cd24d1130262bb2
|
|
| BLAKE2b-256 |
2e896210cf912af9e75ccdc6deca44869aeffe8a38c93562a11e5487a0a1c168
|
File details
Details for the file codevariety-0.1.0-py3-none-any.whl.
File metadata
- Download URL: codevariety-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.13.0 Darwin/24.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd3b4463fe710151488a7a86278be77ab2cb14156e199301bed99b38dcfbb26a
|
|
| MD5 |
453a0043e7c2a222fd4a919a1bd3b477
|
|
| BLAKE2b-256 |
c277314a27febe8e7c6cad835f0cc6336fd221da857f234cd1f03fab64a9f033
|