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 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page