An efficient variable manager tool.
Project description
Advanced Variable Manager {AVM} [0.8.0]
By Grosse pastèque#6705
WARNING :
This modules need some typing modifications ! If you try to run it without these modifications, an Error will occur.
For more informations go Here
Usage :
- Function's args type checking
- Function's args fast converting
- Pattern matching
- Variable checking
- More types
Functionnalities :
Functions :
Functions | Decorator | Usage |
---|---|---|
type_check | YES |
Check function's args types. |
convertor | YES |
Convert function's args values. |
parameters | NO |
Return all arguments of the passed function |
str_of | YES |
Return a string vizualisation of the given class |
add_ctype | YES |
Adds a custom type to custom_types |
length_check | YES |
Check the length `(int: max-lenght, int: max-lenght) |
custom_types | NO |
Variable that contains all the Custom Types |
Custom Types :
CType | Has arguments | Usage |
---|---|---|
Function | NO |
Function checking (NB: lambda functions types is also function) |
Module | NO |
Module checking |
Class | YES |
Class checking (is_init=False ) |
Union | YES |
Value type in *args |
File | YES |
File checking (checks if file exists) |
Dict | YES |
Better dict checing |
Int | YES |
Better int checking |
Str | YES |
Better str checking |
Important Features :
Function | Usage |
---|---|
Pattern | Check a variable for the given pattern (uses recursions) |
CType | Used as parent for new custom types |
Errors :
Error | Usage |
---|---|
FileExtensionError | When file doesn't exists |
PatternError | When patterns is incorrect |
Examples :
I have created three examples to help you understand a bit more if you want. In Here.
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
python-avm-0.8.0.tar.gz
(10.8 kB
view details)
Built Distribution
File details
Details for the file python-avm-0.8.0.tar.gz
.
File metadata
- Download URL: python-avm-0.8.0.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/57.1.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bfc30d869094b9eb1cda0f94c811b0e3c3d57ea7b45f6eb894a81158b19f956 |
|
MD5 | 86e55361acc2affab32a7943026fe4d1 |
|
BLAKE2b-256 | 100d72042796c3eb9d445df87f7747aac6b74d0aa91828d958cce2d494f47bf1 |
File details
Details for the file python_avm-0.8.0-py3-none-any.whl
.
File metadata
- Download URL: python_avm-0.8.0-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/57.1.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e50ae1ad4d3ceab678b156990bc71fd069a40bce5daf875ac3e5558cc1022248 |
|
MD5 | 4eee7b6b34c2b3ce20ac6cbe25081249 |
|
BLAKE2b-256 | 061726fd571ac4af9006c352f2b19ae9f107a0c3deb011b184b663344aba8353 |