Skip to main content

Filez

Get Started

import filez
filez.ID = "MYPROJECTID" # http://magma-mc.net/projects.php/
filez.DEVELOPER =  False # Prints To Console

Fwrite

thejson = {"hello": "World!"}
thejson2 = {"hello": "there!"}

filez.fwrite('testfile.json', json.dumps(thejson))

filez.fwrite('testfile2.json', json.dumps(thejson2))

Fread

print(filez.fread('testfile.json')) 
# prints {"hello": "World!"}
print(filez.fread('testfile2.json')) 
# prints {"hello": "there!"}

Scan

print(filez.scan('/')) 
# prints ['testfile.json', 'testfile2.json']

print(filez.scan('/', True)) 
# prints {'testfile.json': '{"hello": "World!"}', 'testfile2.json': '{"hello": "there!"}'}

Send

thejson = {
    'HelloWorld': 'Hi!',
	'HelloThere': 'Hello!'
}

filez.fwrite('testfile3.json', json.dumps(thejson))

print(filez.fread('testfile3.json'))
# prints {'HelloWorld': 'Hi!', 'HelloThere': 'Hello!'}

filez.send('testfile3.json', 'Bonjour', 'HelloWorld')

print(filez.fread('testfile3.json'))
# prints {'HelloWorld': 'Bonjour!', 'HelloThere': 'Hello!'}

Metadata

Release files for filez-MagmaMc 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for filez-MagmaMc 1.0.1
File Size Uploaded Provenance Actions
filez_MagmaMc-1.0.1.tar.gz 3.0 kB Without provenance Details for filez_MagmaMc-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for filez-MagmaMc 1.0.1
File Interpreter ABI Platform Actions
filez_MagmaMc-1.0.1-py3-none-any.whl Python 3 none any Details for filez_MagmaMc-1.0.1-py3-none-any.whl

Total release size: 6.4 kB

Release files / filez_MagmaMc-1.0.1.tar.gz

Download URL filez_MagmaMc-1.0.1.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
87801767cb0ad850781ae126aed4e63a09341b76cd699610278c66b3203e0b97
BLAKE2b-256 checksum
How to use checksums
bd5fb971aeae2b4874ee563a2dba9358aedbf11e91e665c7fde2f46cbd0f2667
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Release files / filez_MagmaMc-1.0.1-py3-none-any.whl

Download URL filez_MagmaMc-1.0.1-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e4c8a36a4c265fa46a6c90c4afcf01f96346f6a9d9357a7c06e02b523d845d6f
BLAKE2b-256 checksum
How to use checksums
bf87669bba7fc33a216554afcd485ef5eb73b3e2941558f4a08eef6033752414
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Security for filez-MagmaMc 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page