Skip to content

Commit 35f79d1

Browse files
authored
Merge pull request #56 from atomscale-ai/package_rename
Package rename
2 parents 4f03ab4 + 48c8d21 commit 35f79d1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+291
-113
lines changed

MANIFEST.in

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
graft src/atomscale
12
graft src/atomicds
23

3-
include src/atomicds/streaming/Cargo.toml
4-
recursive-include src/atomicds/streaming/src *.rs
4+
include src/atomscale/streaming/Cargo.toml
5+
recursive-include src/atomscale/streaming/src *.rs
56

6-
prune src/atomicds/streaming/target
7+
prune src/atomscale/streaming/target
78
prune **/target

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,12 @@
66
[![License](https://img.shields.io/badge/License-GPLv3-blue)](#license)
77

88
[![view - Documentation](https://img.shields.io/badge/view-Documentation-blue?style=for-the-badge)](https://atomscale-ai.github.io/sdk/)
9+
10+
## Install
11+
12+
```bash
13+
pip install atomscale
14+
```
15+
16+
> The package was renamed from `atomicds`. Importing `atomicds` (or installing
17+
> `atomicds`) still works via a thin shim but emits a `DeprecationWarning`.

atomicds-shim-dist/pyproject.toml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
[build-system]
2+
requires = ["setuptools", "setuptools-scm", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "atomicds"
7+
description = "Legacy shim package that depends on atomscale."
8+
dynamic = ["version"]
9+
readme = "../README.md"
10+
license = { text = "GPL-3.0-only" }
11+
authors = [{ name = "Atomscale", email = "info@atomscale.ai" }]
12+
classifiers = [
13+
"Programming Language :: Python :: 3",
14+
"Programming Language :: Python :: 3.10",
15+
"Programming Language :: Python :: 3.11",
16+
"Programming Language :: Python :: 3.12",
17+
"Operating System :: Microsoft :: Windows",
18+
"Operating System :: Unix",
19+
"Operating System :: MacOS",
20+
]
21+
requires-python = ">=3.10, <3.13"
22+
dependencies = ["atomscale>=0"]
23+
24+
[project.urls]
25+
Homepage = "https://www.atomscale.ai"
26+
Documentation = "https://atomscale-ai.github.io/sdk"
27+
28+
[tool.setuptools_scm]
29+
root = ".."
30+
31+
[tool.setuptools]
32+
package-dir = { "" = "../src" }
33+
34+
[tool.setuptools.packages.find]
35+
where = ["../src"]
36+
include = ["atomicds"]

docs/conf.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
SRC_DIR = PROJECT_ROOT / "src"
99
sys.path.insert(0, str(SRC_DIR))
1010

11-
project = "atomicds"
11+
project = "atomscale"
1212
copyright = "2025, Atomscale"
1313
author = "Atomscale"
1414
release = "2025"
@@ -117,7 +117,7 @@
117117
man_pages = [
118118
(
119119
master_doc,
120-
"atomicds",
120+
"atomscale",
121121
"Atomscale API Client Documentation",
122122
[author],
123123
1,
@@ -133,10 +133,10 @@
133133
texinfo_documents = [
134134
(
135135
master_doc,
136-
"atomicds",
136+
"atomscale",
137137
"Atomscale API Client Documentation",
138138
author,
139-
"atomicds",
139+
"atomscale",
140140
"Atomscale API.",
141141
"",
142142
),

docs/guides/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
User Guides
22
===========
33

4-
Concise walkthroughs for the most common `atomicds` tasks. Each guide covers a
4+
Concise walkthroughs for the most common `atomscale` tasks. Each guide covers a
55
single workflow so you can jump straight to what you need.
66

77
.. toctree::

docs/guides/inspect-results.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@ Inspect Analysis Results
22
========================
33

44
``general_use.ipynb`` demonstrates how to work with objects returned by
5-
:meth:`atomicds.client.Client.get`. This guide walks through the same workflow
5+
:meth:`atomscale.client.Client.get`. This guide walks through the same workflow
66
in a linear format.
77

88
Fetch analysed items
99
--------------------
1010

1111
.. code-block:: python
1212
13-
from atomicds.client import Client
13+
from atomscale.client import Client
1414
1515
client = Client(api_key="YOUR_API_KEY")
1616
search_results = client.search(keywords="demo", data_type="rheed_stationary")
1717
1818
analysed = client.get(search_results["Data ID"].to_list())
1919
2020
Each item in ``analysed`` is a subclass of
21-
:class:`atomicds.results.RHEEDVideoResult` or
22-
:class:`atomicds.results.RHEEDImageResult`, depending on the source data.
21+
:class:`atomscale.results.RHEEDVideoResult` or
22+
:class:`atomscale.results.RHEEDImageResult`, depending on the source data.
2323

2424
Inspect time series data
2525
------------------------

docs/guides/poll-timeseries.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Poll Time Series Updates
33

44
``timeseries_polling.ipynb`` shows how to stay current with streaming RHEED
55
analysis. This guide summarises the four helper entry points in
6-
:mod:`atomicds.timeseries.polling` and explains which "mode" to pick:
6+
:mod:`atomscale.timeseries.polling` and explains which "mode" to pick:
77

88
- **Manual loop** with :func:`iter_poll` – ideal for scripts that can block
99
until each poll finishes.
@@ -19,8 +19,8 @@ Shared setup
1919

2020
.. code-block:: python
2121
22-
from atomicds.client import Client
23-
from atomicds.timeseries.polling import (
22+
from atomscale.client import Client
23+
from atomscale.timeseries.polling import (
2424
iter_poll,
2525
aiter_poll,
2626
start_polling_thread,

docs/guides/quickstart.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@ Install the client
1616

1717
.. code-block:: bash
1818
19-
pip install atomicds
19+
pip install atomscale
2020
2121
Create a client
2222
---------------
2323

24-
The :class:`atomicds.client.Client` reads ``AS_API_KEY`` and
24+
The :class:`atomscale.client.Client` reads ``AS_API_KEY`` and
2525
``AS_API_ENDPOINT`` from the environment. Export the variables, or pass values
2626
explicitly if you prefer.
2727

2828
.. code-block:: python
2929
3030
import os
31-
from atomicds.client import Client
31+
from atomscale.client import Client
3232
3333
os.environ["AS_API_KEY"] = "YOUR_API_KEY"
3434

docs/guides/search-data.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
Search the Catalogue
22
====================
33

4-
Use :meth:`atomicds.client.Client.search` to locate uploaded data. The examples
4+
Use :meth:`atomscale.client.Client.search` to locate uploaded data. The examples
55
below mirror ``general_use.ipynb`` and add a few extra filters you can combine.
66

77
Basic search
88
------------
99

1010
.. code-block:: python
1111
12-
from atomicds.client import Client
12+
from atomscale.client import Client
1313
1414
client = Client(api_key="YOUR_API_KEY")
1515
@@ -64,5 +64,5 @@ upload timestamp, or last-accessed timestamp. Use ``None`` for an open bound.
6464
Next steps
6565
----------
6666

67-
Pass the ``Data ID`` column to :meth:`atomicds.client.Client.get` to fetch
67+
Pass the ``Data ID`` column to :meth:`atomscale.client.Client.get` to fetch
6868
analysis artefacts. See :doc:`inspect-results` for a hands-on tour.

docs/guides/stream-rheed.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Stream RHEED Video
22
==================
33

44
``rheed_streaming.ipynb`` demonstrates both push (callback) and pull (generator)
5-
streaming with :class:`atomicds.streaming.rheed_stream.RHEEDStreamer`. This
5+
streaming with :class:`atomscale.streaming.rheed_stream.RHEEDStreamer`. This
66
guide condenses the notebook into a quick reference and explains when to choose
77
each style:
88

@@ -23,7 +23,7 @@ Create a streamer
2323

2424
.. code-block:: python
2525
26-
from atomicds.streaming.rheed_stream import RHEEDStreamer
26+
from atomscale.streaming.rheed_stream import RHEEDStreamer
2727
2828
streamer = RHEEDStreamer(api_key="YOUR_API_KEY")
2929

0 commit comments

Comments
 (0)