Skip to main content


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.


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.

Files for python-dsl-tools, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size python-dsl-tools-0.2.0.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page