Skip to main content

python-jiocloud

CI PyPI version Python Version License: MIT

An unofficial Python client and library for JioCloud web API, built with httpx.

Disclaimer: This project is an unofficial, community-driven library. It is not affiliated with, endorsed by, or connected to Reliance Jio Infocomm Limited or JioCloud. Use at your own risk and respect the service's terms of service and rate limits.


Installation

pip install python-jiocloud

For development:

pip install -e ".[dev]"

Quickstart & Authentication

Phone Number Login

from jiocloud import JioCloudClient

client = JioCloudClient()

# 1. Send OTP to mobile number
client.auth.send_otp(mobile_number="+910000000000")

# 2. Verify OTP
auth_result = client.auth.verify_otp(mobile_number="+910000000000", otp="123456")
print(auth_result)

Email Login

from jiocloud import JioCloudClient

client = JioCloudClient()

# 1. Send OTP to email address
client.auth.send_otp(email_id="user@example.com")

# 2. Verify OTP
auth_result = client.auth.verify_otp(email_id="user@example.com", otp="123456")
print(auth_result)

File & Folder Operations

# Initialize with user ID and device key
client = JioCloudClient(user_id="<USER_ID>", device_key="<DEVICE_KEY>")

# List files
for file in client.files.list():
    print(file.name, file.size)

# Create a folder
folder = client.folders.create("My Documents")

# Upload a file with progress callback
client.transfer.upload(
    "local_document.pdf",
    parent_id=folder.id,
    progress_callback=lambda up, total: print(f"Uploaded {up}/{total} bytes"),
)

# Download a file with progress callback
client.transfer.download(
    file_id="<FILE_ID>",
    dest_path="downloaded.pdf",
    progress_callback=lambda down, total: print(f"Downloaded {down}/{total} bytes"),
)

Features

  • Authentication: OTP-based sign-in via Mobile Number or Email ID, automatic token refresh, and session management.
  • Files & Folders: List, get metadata, create folders, rename, move, and delete files.
  • Transfer: Upload and download files with streaming and progress callbacks.
  • Typed & Robust: Full type hints (py.typed) and built-in error handling with secret redaction.

License

Distributed under the MIT License. See LICENSE for more information.

Metadata

Release files for python-jiocloud 0.1.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 python-jiocloud 0.1.0
File Size Uploaded Provenance Actions
python_jiocloud-0.1.0.tar.gz 14.7 kB Without provenance Details for python_jiocloud-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for python-jiocloud 0.1.0
File Interpreter ABI Platform Actions
python_jiocloud-0.1.0-py3-none-any.whl Python 3 none any Details for python_jiocloud-0.1.0-py3-none-any.whl

Total release size: 27.6 kB

Release files / python_jiocloud-0.1.0.tar.gz

Download URL python_jiocloud-0.1.0.tar.gz
Size 14.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9b18171255fd3a3de7fe613d8c4d4d5f7d0632490ba9d0259b124c05a3824274
BLAKE2b-256 checksum
How to use checksums
dac47651e2168a32a9fe2f56c2dd7990e7453c60f25b120d329ba0f04815e1f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / python_jiocloud-0.1.0-py3-none-any.whl

Download URL python_jiocloud-0.1.0-py3-none-any.whl
Size 12.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
853c209ceedf67a810187af71b43c1e42441871fde51edf813e3ccee3590aad8
BLAKE2b-256 checksum
How to use checksums
97b203b62175059ce257e8789ac7bebd87e19b4be6a4aba6e402393f689fcabe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for python-jiocloud 0.1.0

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

0.1.0 This release

2 release files 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