Welcome to neonpy
Warning
neonpy is an entirely experimental library consisting largely of decorators I think will be useful to me. I may be very wrong. neonpy comes with no warranty.
Basic philosophy
- Per function logging
- Distinguish between mutable and immutable
- Fix code quickly
@normalize_fields
@normalize_fields(bar=lambda x: x.lower())
@normalize_fields(foo=lambda x: x.lower(), quux=lambda x: x.upper())
def myfunction(foo, bar="PET", quux="motor"):
x = 5
print(foo, bar, quux)
myfunction("my", "PIGEON", "Pie")
myfunction("MY")
myfunction("MY", "CAT")
myfunction("my", "CAT")
myfunction("MY", "dog")
@memoize
WARNING: Do not use this if you are using objects that are hashable but not immutable
@memoize
def fib(a):
if a < 2:
return 1
return fib(a-1) + fib(a-2)
Metadata
Release files for neonpy 0.0.1
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 |
|---|---|---|---|---|
| neonpy-0.0.1.tar.gz | 2.8 kB | Without provenance | Details for neonpy-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| neonpy-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for neonpy-0.0.1-py3-none-any.whl |
Total release size: 6.8 kB
Release files / neonpy-0.0.1.tar.gz
| Download URL | neonpy-0.0.1.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c59ebf83b60ac1a4a5e5aad87bb4bdb711437c5a24027f5ec7a5b98f2f95d2c5
|
|
BLAKE2b-256 checksum How to use checksums |
dfb9daa365f7c9d0870dc23ba6f9afc5f464830ed925a22156cfa41fed2f57cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.6
|
Release files / neonpy-0.0.1-py3-none-any.whl
| Download URL | neonpy-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff5ae018ea2010b6f2952e7aa7fccaaa9a93661f0f2db6b37a4ef4141be3beca
|
|
BLAKE2b-256 checksum How to use checksums |
3449c70ec188f14ffe5ec3dd47552207cd9c8e89964185ed6f940fce35d63ace
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.6
|
Security for neonpy 0.0.1
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.