Skip to content

Commit

Permalink
Python package ready to release
Browse files Browse the repository at this point in the history
  • Loading branch information
pfh committed Sep 12, 2023
1 parent 20be80e commit 3b87f19
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: langevitour
Title: Langevin Tour
Version: 0.5.5
Version: 0.6
Authors@R:
person("Paul", "Harrison", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0002-3980-268X"))
Expand Down
3 changes: 2 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

# langevitour 0.5.2
# langevitour 0.6

* Use TypeScript and webpack.
* Support crosstalk.
Expand All @@ -8,6 +8,7 @@
* Line colors.
* Ignore width and height provided by htmlwidgets if we seem to be scaled, as they are based on getBoundingClientRect.
* Directly manipulate projection with right drag.
* Python package.

# langevitour 0.5

Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@ tour.write_html("langevitour_plot.html")

langevitour also works in [jupyter notebooks](https://colab.research.google.com/github/pfh/langevitour/blob/main/py/examples/langevitour.ipynb).

## Authors

The Javascript and R package are written by Paul Harrison. The Python package was kindly contributed by Wytamma Wirth.

## Copyright

Langevitour is free software made available under the [MIT license](https://github.com/pfh/langevitour/blob/main/LICENSE.md). Included libraries [jStat](https://github.com/jstat/jstat) and [SVD-JS](https://github.com/danilosalvati/svd-js) are also provided under the MIT license. Included library [D3](https://github.com/d3/d3) is provided under the [ISC license](https://github.com/d3/d3/blob/main/LICENSE).
2 changes: 1 addition & 1 deletion inst/htmlwidgets/langevitour.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: langevitour
version: "0.5.5"
version: "0.6"
src: htmlwidgets/lib/
script:
- langevitour-pack.js
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "langevitour",
"version": "0.5.5",
"version": "0.6",
"description": "An HTML widget that randomly tours 2D projections of numerical data.",
"type": "module",
"main": "lib/langevitour.js",
Expand Down
36 changes: 14 additions & 22 deletions py/examples/langevitour.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion py/langevitour/__about__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2023-present Wytamma Wirth <[email protected]>
#
# SPDX-License-Identifier: MIT
__version__ = "0.5.5"
__version__ = "0.6"
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Source = "https://github.com/pfh/langevitour"

[tool.hatch.version]
path = "py/langevitour/__about__.py"
validate-bump = false

[tool.hatch.build]
include = [
Expand All @@ -47,12 +48,14 @@ packages = ["py/langevitour"]


[tool.hatch.envs.default]
python = "python3"
dependencies = [
"coverage[toml]>=6.5",
"pytest",
"jupyter",
"pandas",
]

[tool.hatch.envs.default.scripts]
test = "pytest {args:py/tests}"
test-cov = "coverage run -m pytest {args:py/tests}"
Expand Down

0 comments on commit 3b87f19

Please sign in to comment.