Skip to main content

Funcgen

A small module for generating sets of function signatures and corresponding function objects.

Installation

funcgen requires Python >= 3.6 because it relies on modern type annotations.

pip install funcgen

Example

>>> import funcgen
>>>
>>> def wrapper(present):
...     log(f'Wrapped {present.__name__}')
...     return present
...
>>> def test_wrapper():
...     for funcs in funcgen.all_valid_functions():
...         assert all(wrapper(f) == f for f in funcs)
...
>>> test_wrapper()

Metadata

Release files for funcgen 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for funcgen 0.0.1
File Size Uploaded
funcgen-0.0.1.tar.gz 4.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for funcgen 0.0.1
File Interpreter ABI Platform
funcgen-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 11.0 kB

Release files / funcgen-0.0.1.tar.gz

Download URL funcgen-0.0.1.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b62c9bc059e9d2d71e5d7d4dc054fe98ddc3ce6c20dd8d1ecb1573501a27de19
BLAKE2b-256 checksum
How to use checksums
429e968b2f19c94cb69c91d22e4aceee2b4eff27ed6d2c18cd6bb2bce5609ba5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8

Release files / funcgen-0.0.1-py3-none-any.whl

Download URL funcgen-0.0.1-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ed02323e3347b60432338bae523617b7a85d2273a80ae251863971a578c95af9
BLAKE2b-256 checksum
How to use checksums
7a4dd2a97172aa845fc446a3299710e404002d749fe9c1aaf51a0302b6ae0899
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page