Do simple operations for files easier
Project description
Super simple file operations
Are you tired of doing this each time to just modify a part of a json file?
with open(filepath, 'r') as file:
fd = json.load(file)
fd[key] = 'new value'
with open(filepath, 'w') as file:
json.dump(fd, file)
Don't worry! Now you can do it just like this
fd = fileops.read_json(filepath)
fd[key] = 'new value'
fileops.write_json(filepath, fd)
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
simple-file-ops-0.0.3.tar.gz
(2.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file simple-file-ops-0.0.3.tar.gz.
File metadata
- Download URL: simple-file-ops-0.0.3.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a77db8d126cbb49d8d762d300af6e1b5454fa844662d7553aaacb25c08bb090
|
|
| MD5 |
af67a161d080ba5178c8d0615a082133
|
|
| BLAKE2b-256 |
94da89f1bb0ceb0765c5d3f1abdb061f020f38e6be2eff7b51e4f9dc58b28e65
|
File details
Details for the file simple_file_ops-0.0.3-py3-none-any.whl.
File metadata
- Download URL: simple_file_ops-0.0.3-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9e1876509ef5b1ffaf23c1cedaef564461340314fe73d2c10d228f053ebc34c
|
|
| MD5 |
0140db8bd83d4dfbfa404a6dbb356e2f
|
|
| BLAKE2b-256 |
d8abb3e9bfe5fc7a09439f1547109d5b3beef62740e6ba6e1a5fed7a8818352b
|