Skip to main content

Provides the @auto wrapper (`from autofunc import auto`), which allows calling functions with the syntax e.g. `(foo)(1)(2)(c=3)` instead of `foo(1, 2, c=3)`. Also recurses, so `(foo)(foo)(1)(2)(3)(foo)(4)(5)(6)(7)` is viable.

Project description

autofunc

Provides the @auto wrapper, which allows calling functions with the syntax e.g. (foo)(1)(2)(c=3) instead of foo(1, 2, c=3). Also recurses, so (foo)(foo)(1)(2)(3)(foo)(4)(5)(6)(7) is viable.

tests

Tests are in test.py, written in unittest.

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

argrecurse-0.0.2.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

argrecurse-0.0.2-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file argrecurse-0.0.2.tar.gz.

File metadata

  • Download URL: argrecurse-0.0.2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for argrecurse-0.0.2.tar.gz
Algorithm Hash digest
SHA256 5c7f7badce92851e07fb6b7276acc4748d13b40dcfedb47ef8f7df4980b769aa
MD5 499439689a1d716595becfd65b05cf0f
BLAKE2b-256 a1a238b0e5f999f8227fc7d332b099df14840d8abd31b9dafde14cbb89d82fdd

See more details on using hashes here.

File details

Details for the file argrecurse-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: argrecurse-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for argrecurse-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4e23149bd6e68dd2dd42fd3f9062918f5c0052fbb518956018442571d4028eed
MD5 f1d508d61104a689ab8c6bbf7c9dd063
BLAKE2b-256 bd8692ad00f8c1a262bc3876d3b9b30c598e9fcc42df38c20fca93aef76e41c5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page