efs-wrapper (formerly eepyfileserver-wrapper)
docs will be here when i uneep
Examples
Logging in and getting instance info
from efs_wrapper import EepyFileServer
# or from efs_wrapper.v1 import EepFileServer
api = EepyFileServer(base_url="https://example.com", password="password")
print(api.get_instance_info()) # {'instance': {'version': ..., ...}, ...}
Managing directories
print(api.get_tree()) # prints the whole tree with EepyFileServerDirectory objects
print(api.get_tree("/path/somethinghere")) # prints the same as above but only for specified path
# -----
api.add_directory("/new_dir/something") # adds a new directory
api.remove_directory("/new_dir/something") # removes the right most directory
Getting a list of files
print(api.get_filelist()) # [working_path: ["file1.txt", "something.py"], ...]
Getting a file
filepartial = api.get_file("path/to/file1.txt") # returns a partial file
print(filepartial.metadata) # FileMetadata(...)
file = filepartial.fetch_file()
print(file.name) # "file1.txt"
for chunk in file.stream: # 2 megabyte chunks
print(chunk)
loadedfile = file.load()
print(loadedfile) # returns every single chunk concatenated
file.save("local/path/to/file.txt")
Renaming a file
api.rename_file("path/to/file1.txt", "file6.txt")
Uploading a file
with open("path/to/file3.txt", "rb") as f:
api.upload_file("path/to/file3.txt", f)
Overwriting a file
with open("path/to/file4.txt", "rb") as f:
api.overwrite_file("path/to/file3.txt", f)
Deleting a file
api.delete_file("path/to/file1.txt")
Moving a file
api.move_file("old/path/to/file1.txt", "new/path/to/file1.txt")
Metadata
Release files for efs-wrapper 1.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| efs_wrapper-1.2.2.tar.gz | 18.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| efs_wrapper-1.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.4 kB
Release files / efs_wrapper-1.2.2.tar.gz
| Download URL | efs_wrapper-1.2.2.tar.gz |
|---|---|
| Size | 18.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0fecaf073209a226771551d0c3749666d3a9e11fd01a4668eea85c0e4d66ed5e
|
|
BLAKE2b-256 checksum How to use checksums |
1aad419cbb5ed0fa40f4646b66c606219ea9759d947dbbcbaac8ecf3ca4d4a5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / efs_wrapper-1.2.2-py3-none-any.whl
| Download URL | efs_wrapper-1.2.2-py3-none-any.whl |
|---|---|
| Size | 18.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eb66b65ecfdbc174c30e61c18aaecb9a36a7e405ca97f272e43b293c1acd4f28
|
|
BLAKE2b-256 checksum How to use checksums |
69c39e42c46180acd1331d10c021d977f31b018c0c9642c9dcdc680bfd2878f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for efs-wrapper 1.2.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.