Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
simongarisch authored Sep 7, 2018
1 parent b11939a commit 80999be
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[![Build Status](https://travis-ci.org/simongarisch/yamlsettings.svg?branch=master)](https://travis-ci.org/simongarisch/yamlsettings)
[![Coverage Status](https://coveralls.io/repos/github/simongarisch/yamlsettings/badge.svg?branch=master)](https://coveralls.io/github/simongarisch/yamlsettings?branch=master)

# yamlsettings
# pyyamlsettings

A Flyweight pattern for loading yaml files in Python.

## Installation
yamlsettings is python 2 and 3 compatible.
pyyamlsettings is python 2 and 3 compatible.
```bash
pip install yamlsettings
pip install pyyamlsettings
```

## Overview
Expand All @@ -29,10 +29,10 @@ level1:
We can load this file:
```python
import os
import yamlsettings
import pyyamlsettings

yaml_file_path = os.path.join("tests", "test_yaml_file.yaml")
settings = yamlsettings.YamlSettings(yaml_file_path)
settings = pyyamlsettings.YamlSettings(yaml_file_path)
```

And read particular items with:
Expand Down

0 comments on commit 80999be

Please sign in to comment.