Skip to content

Commit

Permalink
Rename package (#16)
Browse files Browse the repository at this point in the history
* rename package

* rename package name
  • Loading branch information
emptymalei authored Mar 2, 2024
1 parent 28c8bc0 commit c16be40
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: poetry install --with docs,test,tutorial
- name: Build coverage file
run: |
pytest --cache-clear --cov=hamiltonian_flow tests/ > pytest-coverage.txt
pytest --cache-clear --cov=hamilflow tests/ > pytest-coverage.txt
- name: Comment coverage
uses: coroo/[email protected]
build-n-publish:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ jobs:
run: poetry install --with docs,tutorial
- name: Build coverage file
run: |
poetry run pytest --cache-clear --cov=hamiltonian_flow tests/ > pytest-coverage.txt
poetry run pytest --cache-clear --cov=hamilflow tests/ > pytest-coverage.txt
- name: Comment coverage
uses: coroo/[email protected]
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repos:
hooks:
- id: mypy
args: [--no-strict-optional, --ignore-missing-imports]
files: ^(hamiltonian_flow/|tests/)
files: ^(hamilflow/|tests/)
- repo: https://github.com/ambv/black
rev: 24.2.0
hooks:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# hamiltonian_flow
# hamilflow

Dataset of simple physical systems.
2 changes: 1 addition & 1 deletion docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# hamiltonian_flow Changelog
# hamilflow Changelog

## 2024-02-18, 0.0.1

Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Documentation for `hamiltonian_flow`
# Documentation for `hamilflow`

Generating dataset for physical systems.

Expand Down
2 changes: 1 addition & 1 deletion docs/references/models/harmonic_oscillator.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Harmonic Oscillator

::: hamiltonian_flow.models.harmonic_oscillator
::: hamilflow.models.harmonic_oscillator
2 changes: 1 addition & 1 deletion docs/tutorials/harmonic_oscillator.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import pandas as pd
import plotly.express as px

from hamiltonian_flow.models.harmonic_oscillator import HarmonicOscillator
from hamilflow.models.harmonic_oscillator import HarmonicOscillator

# %%
n_periods = 3
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
site_name: "Hamiltonian Flow"
site_author: ""
site_description: "Dataset of simple physical systems."
site_url: "https://kausalflow.github.io/hamiltonian_flow"
repo_url: "https://github.com/kausalflow/hamiltonian_flow"
site_url: "https://kausalflow.github.io/hamilflow"
repo_url: "https://github.com/kausalflow/hamilflow"
edit_uri: "blob/main/docs/"
repo_name: "kausalflow/hamiltonian_flow"
repo_name: "kausalflow/hamilflow"


theme:
Expand Down Expand Up @@ -68,7 +68,7 @@ plugins:
filters:
watch:
- docs
- hamiltonian_flow
- hamilflow
- mkdocs-jupyter:
execute: True
allow_errors: false
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[tool.poetry]
name = "hamiltonian_flow"
name = "hamilflow"
version = "0.0.1"
description = "Dataset of simple physical systems."
authors = ["LM <[email protected]>", "cmp0xff <[email protected]>"]
license = "MIT"
readme = "README.md"
packages = [{include = "hamiltonian_flow"}]
packages = [{include = "hamilflow"}]

[tool.poetry.dependencies]
python = ">=3.9,<3.13"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_models/test_harmonic_oscillator.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pandas as pd
import pytest

from hamiltonian_flow.models.harmonic_oscillator import (
from hamilflow.models.harmonic_oscillator import (
HarmonicOscillator,
HarmonicOscillatorSystem,
)
Expand Down

0 comments on commit c16be40

Please sign in to comment.