Skip to main content

Implements a Go-like defer function.

Project description

pydefer

pydefer aims to emulate the same experience you get from using Golang's defer keyword. pydefer allows you to execute a function around a given wrapped function after the wrapped function has executed.

Prerequisites

``

Installing

Built With

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

pydefer-0.0.1.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

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

pydefer-0.0.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file pydefer-0.0.1.tar.gz.

File metadata

  • Download URL: pydefer-0.0.1.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5

File hashes

Hashes for pydefer-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d638ec0b66aea71cf4535ff35e53be34847d5a1c138effd955b5ef6c6c31bd16
MD5 c8c3afbfe9ae467d7afc967f1fbe0cc2
BLAKE2b-256 a215d5a5514370204effa190b60fd91720526fd5eacc153834109abe3ded07f7

See more details on using hashes here.

File details

Details for the file pydefer-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pydefer-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5

File hashes

Hashes for pydefer-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 27646e1e80b8244fbfdc32b0b3a2a4f0037ec18285d74f9f3df1777788f98be1
MD5 73e50045dc4e33190fab6cbd68c9ebf6
BLAKE2b-256 579ef73ea5fb829b4a8f027f41eb8708061e1f5963ecb0413298e9a4796dfb74

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