Skip to content

Commit 136616d

Browse files
author
Joseph Procopio and Rene Sanchez
committed
restructures for pip
1 parent 93f25d3 commit 136616d

File tree

15 files changed

+36
-8
lines changed

15 files changed

+36
-8
lines changed

.DS_Store

6 KB
Binary file not shown.

E2Yaml/.DS_Store

6 KB
Binary file not shown.

eyconverter.py renamed to E2Yaml/E2Yaml.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
import re
22
from collections import Mapping
33

4-
from utilities import ignored_term_in_line, process_key, convert_key_value_pairs_to_dictionary, read_from_clipboard, \
5-
write_to_clipboard
6-
4+
from utilities import write_to_clipboard, read_from_clipboard, ignored_term_in_line, \
5+
convert_key_value_pairs_to_dictionary, process_key
76

87
class EyConverter:
98

@@ -19,7 +18,7 @@ def __init__(self, log=False):
1918

2019
def add_line(self, line):
2120

22-
self.lines.append(lines)
21+
self.lines.append(line)
2322
return self
2423

2524
def from_clipboard(self):

E2Yaml/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from E2Yaml import EyConverter, from_clipboard, load_file
3.64 KB
Binary file not shown.
1.86 KB
Binary file not shown.
File renamed without changes.

MANIFEST

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# file GENERATED by distutils, do NOT edit
2+
setup.cfg
3+
setup.py
4+
E2Yaml/E2Yaml.py
5+
E2Yaml/__init__.py
6+
E2Yaml/utilities.py

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ PARSING: SPRING_DATA_MONGODB_REPLICASET: FAKE-DB-531 OK
3434

3535
## Importing
3636
```
37-
import eyconverter as ey
37+
import E2Yaml as ey
3838
```
3939

4040
## Loading
@@ -48,7 +48,7 @@ yml = ey.load_file('test_input.env', log=True)
4848
Note: you can disable logging by not including the second parameter *log=True*
4949
5050
# adding one line at a time
51-
yml = :ey.add_line("SOME_TEXT=true")
51+
yml = ey.add_line("SOME_TEXT=true")
5252
```
5353

5454
## Preserving Words

dist/E2Yaml-0.1.tar.gz

2.44 KB
Binary file not shown.

0 commit comments

Comments
 (0)