Skip to main content

A horrible Idea

Project description

JsonFS

a horrible idea

ᵖʸᵖᶦ ᵐᵃᵈᵉ ᵐᵉ ʳᵉⁿᵃᵐᵉ ᶦᵗ ˢᵐʰ

usage

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

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

betterjsonfs-0.1.3.tar.gz (3.1 kB view hashes)

Uploaded source

Built Distribution

betterjsonfs-0.1.3-py3-none-any.whl (5.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page