funcname(func)
Returns a string to name func. I use this instead of func.__name__ because several things do not have a .__name__. It tries to use .__name__, but falls back to ..__str__().
@derived_property
Decorator for property functions which must be recomputed if another property is updated.
@derived_from(property_name)
Convenience wrapper of derived_property which names the parent property.
@returns_type(func, basetype)
Basis for decorators to do type checking of function return values. Example:
def returns_bool(func): ''' Decorator for functions which should return Booleans. ''' return returns_type(func, bool) @returns_bool def f(x): return x == 1
This has been used for debugging functions called far from their definitions.
Metadata
Release files for cs-py-func 20160828
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 |
|---|---|---|---|---|
| cs.py.func-20160828.tar.gz | 3.1 kB | Without provenance | Details for cs.py.func-20160828.tar.gz |
Release files / cs.py.func-20160828.tar.gz
| Download URL | cs.py.func-20160828.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d89f300f05a0c18d4ece7e6c2b191ca6aa87f7b877f150c4df5270e0fd8e290c
|
|
BLAKE2b-256 checksum How to use checksums |
0e81ad2730eb8a4d56a0c3a534d8d39b13faeeb944a125224da75b8f1902d2d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for cs-py-func 20160828
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.