It allows moban to use more data formats than yaml and json.
Given the following toml file, sample.toml:
title = "TOML Example"
[owner]
name = "Tom Preston-Werner"
You can do:
$ moban -c sample.toml "{{name}} made {{title}}"
Templating {{owner.na... to moban.output
Templated 1 file.
$ cat moban.output
Tom Preston-Werner made TOML Example
NOTE
For any of the following data formats, you elect to install by yourself.
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]
Installation
You can install moban-anyconfig via pip:
$ pip install moban-anyconfig
or clone it and install it:
$ git clone https://github.com/moremoban/moban-anyconfig.git
$ cd moban-anyconfig
$ python setup.py install
Change log
0.0.1 - None
first release
what a feat!
Metadata
Release files for moban-anyconfig 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| moban-anyconfig-0.0.1.tar.gz | 6.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| moban_anyconfig-0.0.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 10.8 kB
Release files / moban-anyconfig-0.0.1.tar.gz
| Download URL | moban-anyconfig-0.0.1.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
569122e3e53046e0dccb32015e1475030ca65fda36e0356654752f459aa9c505
|
|
BLAKE2b-256 checksum How to use checksums |
4350078148d1a9b758e3424d1ba9aebdc31c0b0b93f43099f68388c2afeb2e9c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
|
Release files / moban_anyconfig-0.0.1-py2.py3-none-any.whl
| Download URL | moban_anyconfig-0.0.1-py2.py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
381431272251876271d17eae2658088b44afd45b342902c972ac7576d549a6f2
|
|
BLAKE2b-256 checksum How to use checksums |
4e4bb5648db4f42ae14b58f8b88458030c7536ae7d893797e9fbfb9dd63cfc96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
|