Skip to main content

wcpan.drive.core

Asynchronous generic cloud drive library.

This package provides the core abstractions only. It requires a SnapshotService and FileService implementation to work.

Documentation

See the full documentation on Read the Docs.

Quick Example

from wcpan.drive.core import create_drive
from wcpan.drive.core.lib import download_file_to_local, upload_file_from_local

async with create_drive(
    file=create_my_file_service,
    snapshot=create_my_snapshot_service,
) as drive:
    if not await drive.is_authenticated():
        await drive.authenticate()

    async for change in drive.sync():
        print(change)

    root = await drive.get_root()
    node = await upload_file_from_local(drive, local_path, root)
    await download_file_to_local(drive, node, dest_dir)

Release files for wcpan-drive-core 6.0.0

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

Source distribution (sdist)

Source distribution for wcpan-drive-core 6.0.0
File Size Uploaded
wcpan_drive_core-6.0.0.tar.gz 35.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wcpan-drive-core 6.0.0
File Interpreter ABI Platform
wcpan_drive_core-6.0.0-py3-none-any.whl Python 3 none any Details

Total release size:68.3 kB

Release files / wcpan_drive_core-6.0.0.tar.gz

Download URL wcpan_drive_core-6.0.0.tar.gz
Size 35.7 kB
Tags Source
SHA-256 checksum
How to use checksums
137fea6d798f281c808a800780ec409e214019647cb8efa30b8c95ede0924eee
BLAKE2b-256 checksum
How to use checksums
336993a7b960f8847ba0ae801d14093177ac2629edc3c55708e2a7e395ec321b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / wcpan_drive_core-6.0.0-py3-none-any.whl

Download URL wcpan_drive_core-6.0.0-py3-none-any.whl
Size 32.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1cbd852c8ef33b8cf318f734bed200ff77bf5cd8aa0bd1e4732ca1ba657614a
BLAKE2b-256 checksum
How to use checksums
26cb67d00e697df827734726f83e89ca883ad91f0702746b812ae0e086bc84ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

6.0.0 This release

2 release files

5.0.7

2 release files

5.0.6

2 release files

5.0.5

2 release files

5.0.4

2 release files

5.0.3

2 release files

5.0.2

2 release files

5.0.1

2 release files

5.0.0

2 release files

4.2.0

2 release files

4.1.0

2 release files

4.0.2

2 release files

4.0.1

2 release files

4.0.0

2 release files

3.2.1

2 release files

3.2.0

2 release files

3.1.0

2 release files

3.0.1

2 release files

3.0.0

2 release files

2.0.0

2 release files

1.1.0

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

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