|
1 | | -# Atomscale Python SDK |
| 1 | +<p align="center"> |
| 2 | + <img src="docs/_static/AtomscaleLogoFull.png" alt="Atomscale" width="300"> |
| 3 | +</p> |
2 | 4 |
|
3 | | -[](https://github.com/atomscale-ai/sdk/actions?query=workflow:"Testing") |
4 | | -[](https://github.com/atomscale-ai/sdk/releases/) |
5 | | - |
6 | | -[](#license) |
| 5 | +<h1 align="center">Python SDK</h1> |
7 | 6 |
|
8 | | -[](https://atomscale-ai.github.io/sdk/) |
| 7 | +<p align="center"> |
| 8 | + <a href="https://github.com/atomscale-ai/sdk/actions/workflows/testing.yml?query=branch%3Amain"><img src="https://github.com/atomscale-ai/sdk/actions/workflows/testing.yml/badge.svg?branch=main" alt="Testing"></a> |
| 9 | + <a href="https://github.com/atomscale-ai/sdk/releases/"><img src="https://img.shields.io/github/tag/atomscale-ai/sdk?include_prereleases=&sort=semver&color=blue" alt="GitHub tag"></a> |
| 10 | + <img src="https://img.shields.io/badge/Python-3.10+-blue.svg?logo=python&logoColor=white" alt="Python"> |
| 11 | + <a href="#license"><img src="https://img.shields.io/badge/License-MPL_2.0-blue" alt="License"></a> |
| 12 | +</p> |
9 | 13 |
|
10 | | -## Install |
| 14 | +<p align="center"> |
| 15 | + <a href="https://atomscale-ai.github.io/sdk/"><img src="https://img.shields.io/badge/view-Documentation-blue?style=for-the-badge" alt="Documentation"></a> |
| 16 | +</p> |
| 17 | + |
| 18 | +--- |
| 19 | + |
| 20 | +The official Python SDK for the [Atomscale](https://www.atomscale.ai) platform. Upload RHEED videos, stream live data, search the catalogue, and retrieve analysis results programmatically. |
| 21 | + |
| 22 | +## Features |
| 23 | + |
| 24 | +- **Unified Client** – Single interface for uploads, search, and downloads |
| 25 | +- **Live Streaming** – Push or pull RHEED frames in real-time |
| 26 | +- **Flexible Search** – Filter by keywords, data type, status, or time bounds |
| 27 | +- **Rich Results** – Access timeseries, diffraction graphs, and processed videos |
| 28 | +- **Polling Utilities** – Sync, async, and threaded options for monitoring updates |
| 29 | + |
| 30 | +## Installation |
11 | 31 |
|
12 | 32 | ```bash |
13 | 33 | pip install atomscale |
14 | 34 | ``` |
15 | 35 |
|
16 | | -> The package was renamed from `atomicds`. Importing `atomicds` (or installing |
17 | | -> `atomicds`) still works via a thin shim but emits a `DeprecationWarning`. |
| 36 | +> **Note:** The package was renamed from `atomicds`. Importing `atomicds` still works but emits a `DeprecationWarning`. |
| 37 | +
|
| 38 | +## Quick Start |
| 39 | + |
| 40 | +```python |
| 41 | +from atomscale import Client |
| 42 | + |
| 43 | +# Create a client (reads AS_API_KEY from environment) |
| 44 | +client = Client() |
| 45 | + |
| 46 | +# Upload files |
| 47 | +client.upload(files=["rheed_video.mp4"]) |
| 48 | + |
| 49 | +# Search the catalogue |
| 50 | +results = client.search(keywords=["GaN"], status="success") |
| 51 | + |
| 52 | +# Fetch analysis results |
| 53 | +items = client.get(results["Data ID"].to_list()) |
| 54 | +for item in items: |
| 55 | + print(item.timeseries_data.tail()) |
| 56 | +``` |
| 57 | + |
| 58 | +## Documentation |
| 59 | + |
| 60 | +Full documentation is available at **[atomscale-ai.github.io/sdk](https://atomscale-ai.github.io/sdk/)**. |
| 61 | + |
| 62 | +- [Quickstart Guide](https://atomscale-ai.github.io/sdk/guides/quickstart.html) |
| 63 | +- [Upload Data](https://atomscale-ai.github.io/sdk/guides/upload-data.html) |
| 64 | +- [Search the Catalogue](https://atomscale-ai.github.io/sdk/guides/search-data.html) |
| 65 | +- [Stream RHEED Video](https://atomscale-ai.github.io/sdk/guides/stream-rheed.html) |
| 66 | +- [API Reference](https://atomscale-ai.github.io/sdk/modules.html) |
| 67 | + |
| 68 | +## License |
| 69 | + |
| 70 | +This project is licensed under the [Mozilla Public License 2.0](LICENSE). |
0 commit comments