InstanceTuner
Set limited type instances and overload functions like Java in python
you can install it by:
pip install instanceTuner
Do you want to be able overload every function and method, even constructors (init) like Java in python?
Do you want to never write 'raise' or 'assert' in your python code when it comes to function arguments?
from instanceTuner.set import setFunction
class Test:
@setFunction
def __init__(self, a: int, b) -> None:
pass
@setFunction
def __init__(self, a: int, b: str) -> None:
pass
This package will raise error for you if 'a' does'nt get integer value
with checking types by using 'setFunction' we are able to distinguish signatures of functions from each other like java compiler and using it for overload purposes
if you pass some object for 'b' which is'nt str, first init would executed
even the return value can raise an error. but it does'nt have any use for overload due.for example :
@setFunction
def test() -> None:
return 0
Metadata
Release files for instanceTuner 1.6.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| instanceTuner-1.6.2.tar.gz | 27.3 kB | Without provenance | Details for instanceTuner-1.6.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| instanceTuner-1.6.2-py3-none-any.whl | Python 3 | none | any | Details for instanceTuner-1.6.2-py3-none-any.whl |
Total release size: 54.5 kB
Release files / instanceTuner-1.6.2.tar.gz
| Download URL | instanceTuner-1.6.2.tar.gz |
|---|---|
| Size | 27.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4fbf32526564076d336cf1c242b151a0484f60771659efc7b90fc149a9f74400
|
|
BLAKE2b-256 checksum How to use checksums |
1da9e87799fecb882d8d777b1373f33ad365507acacd0b178884c3ea95b0a7d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.3 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.3
|
Release files / instanceTuner-1.6.2-py3-none-any.whl
| Download URL | instanceTuner-1.6.2-py3-none-any.whl |
|---|---|
| Size | 27.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9eed1477d17614e70c58ba55a07a64ce96aa655457b539b94571357465efb01a
|
|
BLAKE2b-256 checksum How to use checksums |
8875dc0300f6825c5d95fc10b4d248ce9a5279d5f86f52b57c56fa582036e9ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.3 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.3
|
Security for instanceTuner 1.6.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.