Skip to main content

UNKNOWN

Project description

Helpers for creating Domain Specific Languages (a.k.a. pretty APIs) embedded in Python

currently contains:

  • a function to create DeclarativeMetaClasses

  • a base class/mixin to save kwargs passed to init on the object

  • a classinstancemethod decorator, which allows an instancemethod to be called on an uninstantiated class by automatically creating an instance.

TODO

At the moment, classinstancemethod just instantiates the class with no parameters, but ideally it should be possible to pass it args and kwargs with which to instantiate.

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

python-dsl-tools-0.2.0.tar.gz (2.3 kB view details)

Uploaded Source

File details

Details for the file python-dsl-tools-0.2.0.tar.gz.

File metadata

File hashes

Hashes for python-dsl-tools-0.2.0.tar.gz
Algorithm Hash digest
SHA256 4bcb9807dbed980f442935fc9c48ce928775eb28621849b1a1c14a541f818742
MD5 e47a11bda5190e59fa79615fd4e27c96
BLAKE2b-256 7c492b78a78a70cc380812e4ba2af115c6f58549025e10750fc391d07aaa9b81

See more details on using hashes here.

Supported by

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