Skip to main content

funsecret-snapshot

funsecret-snapshot 使用 fundrive 和 funtable 备份、恢复 funsecret 数据库。

该 distribution 有意安装到 funsecret.snapshot 命名空间,以扩展主包 API;它与主包共用 仓库和版本号以保证同步发布。调整为独立顶层导入名属于破坏性变更。

安装

pip install "funsecret-snapshot" "fundrive[dropbox]"

使用

先设置 Dropbox access token:

export DROPBOX_ACCESS_TOKEN="your-dropbox-access-token"
import os

from fundrive.drives.dropbox import DropboxDrive
from funsecret.snapshot import load_snapshot, save_snapshot

drive = DropboxDrive()
if not drive.login(access_token=os.environ["DROPBOX_ACCESS_TOKEN"]):
    raise RuntimeError("Dropbox login failed")

table_fid = "/funsecret-snapshots"
if not drive.exist(table_fid):
    drive.mkdir("", "funsecret-snapshots")

save_snapshot(table_fid=table_fid, drive=drive)
load_snapshot(table_fid=table_fid, drive=drive)

table_fid 是保存快照的云盘目录 ID;其他 fundrive 驱动也可替换 DropboxDrive,具体认证方式参见 fundrive 文档。

Metadata

Release files for funsecret-snapshot 1.4.100

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

Built distribution (wheel)

Table of built distributions (wheels) for funsecret-snapshot 1.4.100
File Interpreter ABI Platform Actions
funsecret_snapshot-1.4.100-py3-none-any.whl Python 3 none any Details for funsecret_snapshot-1.4.100-py3-none-any.whl

Release files / funsecret_snapshot-1.4.100-py3-none-any.whl

Download URL funsecret_snapshot-1.4.100-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6548da289deaa7aca1feddd37626651db05b69eea16155e9767b2319882e5c22
BLAKE2b-256 checksum
How to use checksums
b35ab4f731e0c2eade336d16c64fc0714cd3cbe8496a8a227cad79557e8c8b31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for funsecret-snapshot 1.4.100

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.

Release history Release notifications | RSS feed

This release

1.4.100 This release

1 release file No provenance

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