Skip to main content

Read data of any format and any location for moban template rendering

Project description

It allows moban to use more data formats than yaml and json.

Given the following toml file, sample.toml:

title = "TOML Example"
name = "Tom Preston-Werner"

You can do:

$ moban -c sample.toml "{{name}} made {{title}}"
Templating {{ to moban.output
Templated 1 file.
$ cat moban.output
Tom Preston-Werner made TOML Example


For any of the following data formats, you elect to install by yourself.

Supported formats by pluggable backend modules
Format Type Required backend
Amazon Ion ion anyconfig-ion-backend
BSON bson anyconfig-bson-backend
CBOR cbor anyconfig-cbor-backend or anyconfig-cbor2-backend
ConifgObj configobj anyconfig-configobj-backend
MessagePack msgpack anyconfig-msgpack-backend

Or you could choose to install all:

$ pip install moban-anyconfig[all-backends]


You can install moban-anyconfig via pip:

$ pip install moban-anyconfig

or clone it and install it:

$ git clone
$ cd moban-anyconfig
$ python install

Change log

0.0.1 - None

first release

  1. what a feat!

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 moban-anyconfig, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size moban_anyconfig-0.0.1-py2.py3-none-any.whl (4.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size moban-anyconfig-0.0.1.tar.gz (6.8 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 Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page