Skip to content

Commit 95b3a08

Browse files
authored
🔖 Changelog entry for v0.0.1 (#50)
* ⬆️ Bump cog3pio from 0.0.1b5 to 0.0.1 Bumps [cog3pio](https://github.com/weiji14/cog3pio) from 0.0.1b5 to 0.0.1. - [Release notes](https://github.com/weiji14/cog3pio/releases) - [Changelog](https://github.com/weiji14/cog3pio/blob/main/docs/changelog.md) - [Commits](0.0.1b5...0.0.1) * 🩹 Minor tweak to put square brackets around version no Should have done this in #48, oh well. Also fixed an incorrect regex replacement with an extra | * 🔖 Changelog entry for v0.0.1 First patch release of cog3pio. * 📝 Last minute minor doc changes Changing installation instructions to point to packages on official registries (crates.io/PyPI) that should work once release is published. Pre-emptively pointing to docs.rs page, and fixing some links in the quickstart page. * 📄 PEP 639 license and license-files, update classifiers Xref https://peps.python.org/pep-0639. Also updated classifiers from Alpha to Beta status, added topics, OSes and updated programming languages. * ✏️ Typo on https url Remove extra colon
1 parent c52a2fa commit 95b3a08

File tree

9 files changed

+32
-17
lines changed

9 files changed

+32
-17
lines changed

.release-plz.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ All notable changes to this project will be documented in this file.\n
1212
body = """
1313
---\n
1414
{% if version %}\
15-
## {{ version | trim_start_matches(pat="v") }} - {{ timestamp | date(format="%Y-%m-%d") }}
15+
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
1616
{% else %}\
1717
## Unreleased
1818
{% endif %}\
@@ -41,7 +41,7 @@ body = """
4141
{%- if remote.contributors %}
4242
### 🧑‍🤝‍🧑 Contributors
4343
{% for contributor in remote.contributors %}
44-
- [@{{ contributor.username }}](https:://github.com/{{ contributor.username }})
44+
- [@{{ contributor.username }}](https://github.com/{{ contributor.username }})
4545
{%- endfor %}
4646
{% raw %}\n{% endraw %}\
4747
{% endif -%}
@@ -65,7 +65,7 @@ commit_preprocessors = [
6565
{ pattern = ':heavy_minus_sign:', replace = "" },
6666
{ pattern = ':heavy_plus_sign:', replace = "" },
6767
{ pattern = ':lock:', replace = "🔒️" },
68-
{ pattern = ':loud_sound:', replace = "🔊|" },
68+
{ pattern = ':loud_sound:', replace = "🔊" },
6969
{ pattern = ':memo:', replace = "📝" },
7070
{ pattern = ':pushpin:', replace = "📌" },
7171
{ pattern = ':recycle:', replace = "♻️" },

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cog3pio"
3-
version = "0.0.1-beta.5"
3+
version = "0.0.1"
44
edition = "2024"
55
license = "MIT OR Apache-2.0"
66
rust-version = "1.85.0"

docs/api.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# API Reference
22

3-
These are the Python docs for `cog3pio`.
3+
These are the Python docs for `cog3pio`, for the Rust docs, see
4+
<https://docs.rs/cog3pio>.
45

56
## DLPack
67

docs/changelog.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
44

55
---
66

7-
## Unreleased
7+
## [0.0.1] - 2025-06-28
88

99
### <!-- 0 --> 🌈 Highlights
1010

@@ -13,6 +13,7 @@ All notable changes to this project will be documented in this file.
1313

1414
### <!-- 1 --> ✨ Features
1515

16+
- ✨ Support decoding ZSTD compressed and half-precision TIFFs ([#46](https://github.com/weiji14/cog3pio/pull/46))
1617
- ✨ Support reading 3-band RGB images ([#31](https://github.com/weiji14/cog3pio/pull/31))
1718
- ✨ Support reading uint/int/float dtypes ([#18](https://github.com/weiji14/cog3pio/pull/18))
1819
- ✨ Support reading multi-band GeoTIFF files ([#13](https://github.com/weiji14/cog3pio/pull/13))
@@ -31,10 +32,13 @@ All notable changes to this project will be documented in this file.
3132

3233
### <!-- 4 --> 📝 Documentation
3334

35+
- 📝 Move installation and example commands into separate pages ([#47](https://github.com/weiji14/cog3pio/pull/47))
3436
- 📝 Initialize Python documentation page ([#35](https://github.com/weiji14/cog3pio/pull/35))
3537

3638
### <!-- 5 --> 🧰 Maintenance
3739

40+
- 👷 GitHub Actions CI workflow to publish to crates.io ([#49](https://github.com/weiji14/cog3pio/pull/49))
41+
- 🔧 Switch changelog generator config from git-cliff to release-plz ([#48](https://github.com/weiji14/cog3pio/pull/48))
3842
- 📌 Unpin sphinx-ext-mystmd in docs extras ([#44](https://github.com/weiji14/cog3pio/pull/44))
3943
- 🔊 Enable verbose logging for pypa/gh-action-pypi-publish ([#42](https://github.com/weiji14/cog3pio/pull/42))
4044
- 👷 Upload to TestPyPI on prerelease and release tags ([#40](https://github.com/weiji14/cog3pio/pull/40))
@@ -54,3 +58,7 @@ All notable changes to this project will be documented in this file.
5458
- 👷 Setup benchmark workflow with pytest-codspeed ([#4](https://github.com/weiji14/cog3pio/pull/4))
5559
- 👷 Setup GitHub Actions Continuous Integration tests ([#2](https://github.com/weiji14/cog3pio/pull/2))
5660
- 🌱 Initialize Cargo.toml and pyproject.toml with maturin ([#1](https://github.com/weiji14/cog3pio/pull/1))
61+
62+
### 🧑‍🤝‍🧑 Contributors
63+
64+
- [@weiji14](https://github.com/weiji14)

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
### Rust
88

99
```bash
10-
cargo add --git https://github.com/weiji14/cog3pio.git
10+
cargo add cog3pio
1111
```
1212

1313
### Python
1414

1515
```bash
16-
pip install git+https://github.com/weiji14/cog3pio.git
16+
pip install cog3pio
1717
```
1818

1919
> [!TIP]

docs/quickstart.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Notes:
1818

1919
## PyCapsule (DLPack)
2020

21-
Read a GeoTIFF file from a HTTP url via the [CogReader](/api.html#dlpack) class into an
21+
Read a GeoTIFF file from a HTTP url via the [`CogReader`](api.html#dlpack) class into an
2222
object that conforms to the
2323
[Python Specification for DLPack](https://dmlc.github.io/dlpack/latest/python_spec.html),
2424
whereby the `__dlpack__()` method returns a
@@ -44,7 +44,7 @@ assert array.dtype == "float16"
4444

4545
## Xarray
4646

47-
Read GeoTIFF file from a HTTP url via the [`Cog3pioBackendEntrypoint`](/api.html#xarray)
47+
Read GeoTIFF file from a HTTP url via the [`Cog3pioBackendEntrypoint`](api.html#xarray)
4848
engine into an `xarray.DataArray` object (akin to
4949
[`rioxarray`](https://corteva.github.io/rioxarray)).
5050

@@ -62,7 +62,7 @@ assert dataarray.dtype == "uint16"
6262

6363
## NumPy
6464

65-
Read a GeoTIFF file from a HTTP url via the [`read_geotiff`](/api.html#numpy) function
65+
Read a GeoTIFF file from a HTTP url via the [`read_geotiff`](api.html#numpy) function
6666
into a `numpy.ndarray` (akin to [`rasterio`](https://rasterio.readthedocs.io)).
6767

6868
```python

pyproject.toml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,20 @@ build-backend = "maturin"
55
[project]
66
name = "cog3pio"
77
requires-python = ">=3.12"
8+
license = "MIT OR Apache-2.0"
9+
license-files = ["LICENSE-MIT", "LICENSE-APACHE"]
810
classifiers = [
9-
"Development Status :: 3 - Alpha",
11+
"Development Status :: 4 - Beta",
1012
"Intended Audience :: Science/Research",
13+
"Topic :: Scientific/Engineering",
14+
"Topic :: Software Development :: Libraries",
15+
"Operating System :: MacOS",
16+
"Operating System :: Microsoft :: Windows",
17+
"Operating System :: POSIX",
18+
"Operating System :: Unix",
1119
"Programming Language :: Rust",
20+
"Programming Language :: Python :: Free Threading",
1221
"Programming Language :: Python :: Implementation :: CPython",
13-
"Programming Language :: Python :: Implementation :: PyPy",
14-
"License :: OSI Approved :: Apache Software License",
15-
"License :: OSI Approved :: MIT License",
1622
]
1723
dependencies = [
1824
"numpy>=2.0",

python/tests/test_cog3pio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55

66
def test_version():
7-
assert Version(version=__version__) >= Version(version="0.0.0")
7+
assert Version(version=__version__) >= Version(version="0.0.1")

0 commit comments

Comments
 (0)