Skip to main content

A small example package

Project description

Cauldron: Simple singletons

Cauldron is a small, simple package that provides singleton functionality. Here's an example of how Cauldron can be used:

>>> class MySingleton(other_base_classes, SingletonMixin):
...    def __init__(self, *args, **kwargs):
...        # do stuff here
...        pass
...
>>> singleton = MySingleton()
>>> other_singleton = MySingleton()
>>> id(singleton) == id(other_singleton)
True

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

cauldron_hedgenull-0.0.1.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

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

cauldron_hedgenull-0.0.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cauldron_hedgenull-0.0.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for cauldron_hedgenull-0.0.1.tar.gz
Algorithm Hash digest
SHA256 44814efb352bd6a66cbd8a826e8539c90d3df65df6f0161d59b42c90315e0f61
MD5 b9270e68aba24424ab375bc9cda2db7f
BLAKE2b-256 0f49625af6d31d4bc5e5f51bc4f0085324d02f8d250f1bdbac95d9b8e45a4dbc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cauldron_hedgenull-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eb14884fad89b8c7a955bf77982201af9f523c76cb004dd8b41d15bca8553c7c
MD5 6dbd78a0961b8b100518ac49b1da697d
BLAKE2b-256 e7d0a8b2175a3b65e7abf7c32f5d19ce38b14209a78e4e604df667a08e49167c

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