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 hashes)

Uploaded Source

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