Skip to main content

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


Download files

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

Source Distribution

nejimaki-0.1.2.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nejimaki-0.1.2-py2.py3-none-any.whl (4.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file nejimaki-0.1.2.tar.gz.

File metadata

  • Download URL: nejimaki-0.1.2.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for nejimaki-0.1.2.tar.gz
Algorithm Hash digest
SHA256 20c584c6100d8ba69bf344c1c7445fb69fcd1a29d2ae726b72c59e1bf8c557a0
MD5 714b4627e4a2e9dfe37e2ef29b451836
BLAKE2b-256 96d8613cd1e58f8df9f21b52005c2c18bac224dd664e3113af0112dad31a868d

See more details on using hashes here.

File details

Details for the file nejimaki-0.1.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for nejimaki-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 74dbf4cc6377da362663d4bc22a62ce3955a838914ab02ce58dcd19c89728a91
MD5 474067662bfdf6811258aa423f5a6f7c
BLAKE2b-256 d6e91007d49428a05407fdd9e0d3fb67c76eede435dc282e674b0c27103031d2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page