aliyun-odps-python-sdk  by aliyun

Python SDK for accessing ODPS API

Created 10 years ago
443 stars

Top 67.7% on SourcePulse

GitHubView on GitHub
Project Summary

This SDK provides Python access to Alibaba Cloud's ODPS (Open Data Processing Service), enabling data analysis and manipulation for developers and data scientists working with ODPS. It offers a familiar DataFrame API and integrates with Jupyter notebooks for interactive querying and UDF development.

How It Works

The SDK interacts with ODPS via its REST API, abstracting away low-level details. It supports both direct ODPS object interaction and a Pandas-like DataFrame API for easier data manipulation. For interactive use, it includes IPython magic commands for SQL querying and environment management. It also facilitates the development and debugging of Python User-Defined Functions (UDFs) for custom ODPS operations.

Quick Start & Requirements

  • Primary install: pip install pyodps[full] (or pip install pyodps without Jupyter support).
  • Dependencies: Python (>=2.7, 3.7+ recommended), setuptools (>=3.0).
  • Usage requires Alibaba Cloud Access Key ID and Secret, project, and endpoint, preferably set as environment variables.
  • Documentation: https://pyodps.readthedocs.io/en/latest/

Highlighted Details

  • DataFrame API for data manipulation.
  • IPython magic commands (%load_ext odps, %enter, %sql).
  • Python UDF debugging tool.
  • Supports installation from source for development.

Maintenance & Community

  • The project is actively maintained by Alibaba Cloud.
  • Contribution guidelines are provided in the repository.

Licensing & Compatibility

  • Licensed under the Apache License 2.0.
  • Permissive license suitable for commercial use and integration with closed-source applications.

Limitations & Caveats

Installation from source is not recommended for production use. Frontend code modifications require Node.js/npm and specific build steps.

Health Check
Last Commit

1 day ago

Responsiveness

1 day

Pull Requests (30d)
1
Issues (30d)
3
Star History
1 stars in the last 30 days

Explore Similar Projects

Starred by Boris Cherny Boris Cherny(Creator of Claude Code; MTS at Anthropic), George Hotz George Hotz(Author of tinygrad; Founder of the tiny corp, comma.ai), and
21 more.

tqdm by tqdm

0.1%
30k
Progress bar for Python and CLI tools
Created 10 years ago
Updated 3 months ago
Feedback? Help us improve.