No project description provided
Project description
# fsoopify
Just make file system oopify.
## install
``` cmd
pip install fsoopify
```
## usage
``` py
import fsoopify
file/folder = fsoopify.NodeInfo.from_path(...)
# file api
file.open()
file.size
file.read() and file.write()
file.read_text() and file.write_text()
file.read_bytes() and file.write_bytes()
file.copy_to()
file.delete()
file.create_hardlink()
file.load() and file.dump()
# folder api
folder.create() and folder.ensure_created()
folder.list_items()
folder.get_fileinfo() and folder.create_fileinfo()
folder.delete()
folder.create_hardlink()
```
Just make file system oopify.
## install
``` cmd
pip install fsoopify
```
## usage
``` py
import fsoopify
file/folder = fsoopify.NodeInfo.from_path(...)
# file api
file.open()
file.size
file.read() and file.write()
file.read_text() and file.write_text()
file.read_bytes() and file.write_bytes()
file.copy_to()
file.delete()
file.create_hardlink()
file.load() and file.dump()
# folder api
folder.create() and folder.ensure_created()
folder.list_items()
folder.get_fileinfo() and folder.create_fileinfo()
folder.delete()
folder.create_hardlink()
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fsoopify-0.1.14.0.tar.gz
(4.7 kB
view hashes)
Built Distribution
fsoopify-0.1.14.0-py3.6.egg
(17.6 kB
view hashes)