Skip to content

Commit b981b1b

Browse files
authored
Release v0.1.0
Prepare v0.1.0
2 parents 537b888 + e884d0f commit b981b1b

File tree

6 files changed

+98
-368
lines changed

6 files changed

+98
-368
lines changed

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Changelog
2+
3+
## [Unreleased][] (YYYY-MM-DD)
4+
5+
_No changes yet._
6+
7+
## [0.1.0][] (2026-01-19)
8+
9+
Initial release includes:
10+
11+
- `val.viz.schematic_diagram()` helper to showing data structure and visual diffs.
12+
- Helper methods for PaCMAP and LocalMAP dimensional reduction.
13+
- Langevitour visualisation for exploring high dimensional space.
14+
- Basic Jupyter Scatter support for up to 1M participants, including animations.
15+
- Import of Polis conversation data.
16+
- Basic Polis v1 pipeline support.
17+
- Added `val.tools.kmeans()`.
18+
- Large reference datasets for Aufstehen political party consultation (33k participants) and the #ChileDesperto protest (3k).
19+
- `val.viz.voter_vignette_widget()` for exploring data stories of random individuals.
20+
- Comprehensive documentation website.
21+
- Wrappers for various scanpy methods.
22+
23+
<!-- Links -->
24+
25+
[Unreleased]: https://github.com/patcon/valency-anndata/compare/v0.1.0...main
26+
[0.1.0]: https://github.com/patcon/valency-anndata/releases/tag/v0.1.0

Makefile

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,30 @@ notebook-docs-debug:
1111
--log-level=DEBUG \
1212
--to markdown
1313

14-
serve:
14+
serve: ## Serve documentation website for local development
1515
uv run mkdocs serve
1616

17-
build:
17+
docs: ## Build documentation website directory
1818
uv run mkdocs build
19+
20+
build: ## Build wheel package for publishing to PyPI
21+
rm -rf dist/
22+
uv build
23+
24+
publish: ## Publish built package to PyPI
25+
uv publish
26+
27+
# These make tasks allow the default help text to work properly.
28+
%:
29+
@true
30+
31+
.PHONY: help notebook-docs notebook-docs-debug serve docs build publish
32+
33+
help:
34+
@echo 'Usage: make <command>'
35+
@echo
36+
@echo 'where <command> is one of the following:'
37+
@echo
38+
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
39+
40+
.DEFAULT_GOAL := help

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Experimental tooling to support notebook analysis of polislike data.
99
## Installation
1010

1111
```
12-
pip install git+https://github.com/patcon/valency-anndata
12+
pip install valency-anndata
1313
```
1414

1515
## Usage

docs/installation.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
# Installation
22

3-
For now, installation is a bit inelegant:
3+
To install the latest release:
44

55
```python
6-
pip install git+https://github.com/patcon/valency-anndata
6+
pip install valency-anndata
77
```
88

9-
Once we make a full release and settle the versions of our dependant libraries, installation will be simply `pip install valency-anndata`!
9+
At the moment, there are a lot of core dependencies (even without installing development packages). In the future, we will have a more slim core if there is interest.
10+
11+
To install unreleased code from the source repository:
1012

11-
At the moment, there are a lot of core dependencies (even without installing development packages). In the future, we will have a more slim core if there is interest.
13+
```py
14+
pip install git+https://github.com/patcon/valency-anndata
15+
```

pyproject.toml

Lines changed: 38 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,33 @@
11
[project]
22
name = "valency-anndata"
33
version = "0.1.0"
4-
description = "Add your description here"
4+
description = "Experimental tooling to support notebook analysis of polislike data"
55
readme = "README.md"
66
authors = [
77
{ name = "Patrick Connolly", email = "patrick.c.connolly@gmail.com" }
88
]
99
requires-python = ">=3.10"
10+
keywords = [
11+
"polis",
12+
"anndata",
13+
"single-cell",
14+
"data-analysis",
15+
"clustering",
16+
"dimensionality-reduction",
17+
"opinion-data",
18+
]
19+
classifiers = [
20+
"Development Status :: 3 - Alpha",
21+
"Intended Audience :: Science/Research",
22+
"Intended Audience :: Developers",
23+
"Programming Language :: Python :: 3",
24+
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
26+
"Programming Language :: Python :: 3.12",
27+
"Topic :: Scientific/Engineering :: Information Analysis",
28+
"Topic :: Scientific/Engineering :: Visualization",
29+
"Operating System :: OS Independent",
30+
]
1031
dependencies = [
1132
"anndata>=0.11.4",
1233
"googletrans>=4.0.2",
@@ -29,16 +50,14 @@ dependencies = [
2950
"jupyter-scatter>=0.22.2",
3051
]
3152

32-
[build-system]
33-
requires = ["hatchling"]
34-
build-backend = "hatchling.build"
35-
36-
[tool.uv.sources]
37-
# Temporary fork (for website build only), until this gets merged:
38-
# See: https://github.com/pfh/langevitour/pull/9
39-
langevitour = { git = "https://github.com/patcon/langevitour", rev = "fix-js-indent" }
53+
[project.urls]
54+
Homepage = "https://github.com/patcon/valency-anndata"
55+
Documentation = "https://github.com/patcon/valency-anndata#readme"
56+
Repository = "https://github.com/patcon/valency-anndata"
57+
"Bug Tracker" = "https://github.com/patcon/valency-anndata/issues"
58+
Changelog = "https://github.com/patcon/valency-anndata/releases"
4059

41-
[dependency-groups]
60+
[project.optional-dependencies]
4261
dev = [
4362
"ipykernel>=7.1.0",
4463
"itables>=2.6.2",
@@ -48,3 +67,12 @@ dev = [
4867
"nbconvert>=7.16.6",
4968
"ruff>=0.14.10",
5069
]
70+
71+
[build-system]
72+
requires = ["hatchling"]
73+
build-backend = "hatchling.build"
74+
75+
[tool.uv.sources]
76+
# Temporary fork (for website build only), until this gets merged:
77+
# See: https://github.com/pfh/langevitour/pull/9
78+
langevitour = { git = "https://github.com/patcon/langevitour", rev = "fix-js-indent" }

0 commit comments

Comments
 (0)