Skip to main content

efcFIle

通用的文件储存类 支持本地、S3、OSS、Qiniu

pip install efcFile
import efcFile
manager = efcFile.FileStorageManager(default_storage="local")
manager.set_storage("local", efcFile.LocalFileStorage(storage_path="./storage/"))
manager.put("example.txt", b"This is a test file")
print(manager.get("example.txt"))
print(manager.exists("example.txt"))
print(manager.size("example.txt"))
print(manager.mime_type("example.txt"))
print(manager.list(""))
manager.move("example.txt", "example_moved.txt")
print(manager.exists("example_moved.txt"))
manager.delete("example_moved.txt")

manager.set_storage("s3", efcFile.S3FileStorage(access_key="", secret_key="", endpoint_url="", region_name="auto", bucket_name=""))

manager.set_storage("oss", efcFile.OSSFileStorage(access_key="", secret_key="", endpoint="", bucket_name="", path_prefix=""))

manager.set_storage("qiniu", efcFile.QiniuFileStorage(access_key="", secret_key="", bucket_name="", domain="", path_prefix=""))

Metadata

Release files for efcFile 1.0.4

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

Source distribution (sdist)

Source distribution for efcFile 1.0.4
File Size Uploaded Provenance
efcfile-1.0.4.tar.gz 5.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for efcFile 1.0.4
File Interpreter ABI Platform
efcFile-1.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 13.6 kB

Release files / efcfile-1.0.4.tar.gz

Download URL efcfile-1.0.4.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
fcebf5e856287246fa59e467f1bf5559bdd977a7ae2f290557543b4d09d8097c
BLAKE2b-256 checksum
How to use checksums
4de0ff98f6ee09e803796378dcddf646f42651e46b81ba0a2a091fe92919952c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release files / efcFile-1.0.4-py3-none-any.whl

Download URL efcFile-1.0.4-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f2c91b49feb526ea7daa364c01bf40e1c7fedd317d741f76c5eb9cad33560abb
BLAKE2b-256 checksum
How to use checksums
00ec821e9db431358f30c579c1f0d26b9a99d386d9eb8dfa212280043c31720c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Security for efcFile 1.0.4

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