An efficient variable manager tool.
Project description
Advanced Variable Manager {AVM} [0.9.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.9.0.tar.gz
(10.8 kB
view details)
Built Distribution
File details
Details for the file python-avm-0.9.0.tar.gz
.
File metadata
- Download URL: python-avm-0.9.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 | a2519a38fa302733ae64c46f22a24f78a9268dbcf968f620c4e884fb086a4523 |
|
MD5 | 0e8733c6fe70970139e46ce692174e89 |
|
BLAKE2b-256 | 08cbb2a9fb92e944e4e334ae197dd249971eb9d910fedc49ed2e8f823053f167 |
File details
Details for the file python_avm-0.9.0-py3-none-any.whl
.
File metadata
- Download URL: python_avm-0.9.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 | 6f34cc7a02d28c8ff783e0fe915321078f3955caf1e6613e074203fc74624179 |
|
MD5 | 5ed21ea18ea97d75d640e019708c25d8 |
|
BLAKE2b-256 | a75e0c210b40fe52bc07ecf64467cb25e4a064bc5c7bc7b05c794e58ca9396bb |