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.2

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.2
File Size Uploaded Provenance Actions
filez_MagmaMc-1.0.2.tar.gz 3.0 kB Without provenance Details for filez_MagmaMc-1.0.2.tar.gz

Built distribution (wheel)

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

Total release size: 6.4 kB

Release files / filez_MagmaMc-1.0.2.tar.gz

Download URL filez_MagmaMc-1.0.2.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
27fb8c0d268e929a0be0a921af1940bfbe7d5ecb18259a10c90490c453903ee7
BLAKE2b-256 checksum
How to use checksums
c7346dc15c3e5fb964a2b4ace94d6706560d24426c27ca7047cabd27fa6812a4
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.2-py3-none-any.whl

Download URL filez_MagmaMc-1.0.2-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
328add8617751c0f98d1f0a15b4dbe5ba438c4d2449e95fe19731c3f5c880080
BLAKE2b-256 checksum
How to use checksums
cf5fb508f3d0b0028148b3cc863f29d7b2f5009f4956d1fd22585365516f18c4
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.2

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