Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

emit files from one yaml file

Project description

https://travis-ci.org/podhmo/nejimaki.svg?branch=master

generating file tree from one yamle file.

example

data.yaml

./conf:
  ./base:
    base.yaml:
      logging:
        asctime: 2013-04-10 15:39:26,014
        created: 1365604766.014612
        levelname: INFO
        message: test message
        name: logger_name
  dev.yaml:
    debug: true
    $inherits: "./base/base.yaml"
  staging.yaml:
    debug: false
    $inherits: "./base/base.yaml"
  production.yaml:
    $inherits: "./staging.yaml"
$ nejimaki examples/readme/data.yaml --position=examples/readme
 INFO   nejimaki      emit:conf/base/base.yaml
 INFO   nejimaki      emit:conf/dev.yaml
 INFO   nejimaki      emit:conf/staging.yaml
 INFO   nejimaki      emit:conf/production.yaml

$ tree examples/readme/conf
examples/readme/conf
├── base
│   └── base.yaml
├── dev.yaml
├── production.yaml
└── staging.yaml

1 directory, 4 files

0.1.1

  • raw format

0.1.0

  • initial release

Project details


Release history Release notifications

This version
History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
nejimaki-0.1.2-py2.py3-none-any.whl (4.3 kB) Copy SHA256 hash SHA256 Wheel 3.5 May 6, 2017
nejimaki-0.1.2.tar.gz (2.7 kB) Copy SHA256 hash SHA256 Source None May 6, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page