You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -77,7 +79,7 @@ You can use dot-notation to set, get, update and delete nested dict properties
77
79
78
80
Set an item.
79
81
80
-
### .set(object)
82
+
### .set(dict)
81
83
82
84
Set multiple items at once.
83
85
@@ -97,9 +99,9 @@ Delete an item.
97
99
98
100
Delete all items.
99
101
100
-
### .all
102
+
### .all()
101
103
102
-
Get all the config as an object or replace the current config with an object:
104
+
Get all the config as a dict or replace the current config with an object:
103
105
104
106
```python
105
107
conf.all({
@@ -115,8 +117,23 @@ Get the item count.
115
117
116
118
Get the path to the config file. Can be used to show the user where the config file is located or even better open it for them.
117
119
120
+
## Contribute
121
+
122
+
Yes, you can contribute. Just dm on twitter:[@OyetokeT](http://twitter.com/@OyetokeT)
123
+
124
+
## TODO
125
+
126
+
There are couple of things I still need to add
127
+
128
+
1. Dot-notation: Currently, you can only set configs using this feature. (get, delete)
129
+
130
+
2. Stream: I planned to add a param that'll indicate that you want it to hit the file for every operation. Well that's how it works currently though. But to make it smarter, we don't need to hit the file for (size, get, has, all) operation. We are going to call the `.all()` once to get the configs in dicts and do the operation just using dict properties.
Copy file name to clipboardExpand all lines: setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ def read(filename):
13
13
long_description=read('README.md')
14
14
15
15
setup(
16
-
name='pyconfig',
16
+
name='pyconfigstore',
17
17
version='1.0.0',
18
18
description=(
19
19
'A Python module for handling config files. It helps handles persist config files and also giving the ability to set, get, update and delete config settings'
0 commit comments