betterjsonfs-0.1.3
توضیحات
A horrible Idea
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | betterjsonfs-0.1.3 |
| نام | betterjsonfs |
| نسخه کتابخانه | 0.1.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Kool Author |
| ایمیل نویسنده | besimat444@sofiarae.com |
| آدرس صفحه اصلی | https://bit.ly/betterjsonfs |
| آدرس اینترنتی | https://pypi.org/project/betterjsonfs/ |
| مجوز | - |
# JsonFS
a horrible idea
ᵖʸᵖᶦ ᵐᵃᵈᵉ ᵐᵉ ʳᵉⁿᵃᵐᵉ ᶦᵗ ˢᵐʰ
## usage
```python
import BetterJsonFS
jsfs = BetterJsonFS.jsonfs()
#write a file into fs
with open("otherstuff/KEKW.png", "rb") as f:
jsfs.write("/KEKW.png", f.read())
f.close()
#check if the file exists in fs
print(jsfs.checkifexists("/KEKW.png"))
#write file from fs
with open("fstest.png", "wb") as f:
f.write(jsfs.read("/KEKW.png"))
f.close()
#remove from fs
jsfs.remove("/KEKW.png")
```
## Installing
make sure you have python pip installed
if you can use bash you can install it via `pip install betterjsonfs`
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl betterjsonfs-0.1.3:
pip install betterjsonfs-0.1.3.whl
نصب پکیج tar.gz betterjsonfs-0.1.3:
pip install betterjsonfs-0.1.3.tar.gz