Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
cemkiy committed Jun 22, 2017
1 parent f40f248 commit d560b03
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
Expand Up @@ -20,10 +20,10 @@ $ pip3 install real_environment
### How To Use

```python
import real_environment
from real_environment import real_environment
# init func will autoload your .env file
env = Environment()
env.get_env_or_default("db_url","")
env.set_a_variable_to_environment("key","value")
env.remove_a_variable_from_environment("key")
renv = real_environment.RealEnvironment()
renv.get_env_or_default("db_url","")
renv.set_a_variable_to_environment("key","value")
renv.remove_a_variable_from_environment("key")
```

0 comments on commit d560b03

Please sign in to comment.