Skip to content

Commit 88ebb31

Browse files
Rename to pymc-extras (#404)
Co-authored-by: Ricardo Vieira <[email protected]>
1 parent 3ba8792 commit 88ebb31

File tree

120 files changed

+276
-275
lines changed

Some content is hidden

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

120 files changed

+276
-275
lines changed

Diff for: .gitattributes

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pymc_experimental/_version.py export-subst
1+
pymc_extras/_version.py export-subst

Diff for: .github/workflows/pypi.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,18 @@ jobs:
2828
cd test-sdist
2929
python -m venv venv-sdist
3030
venv-sdist/bin/python -m pip install numpy
31-
venv-sdist/bin/python -m pip install ../dist/pymc_experimental*.tar.gz
31+
venv-sdist/bin/python -m pip install ../dist/pymc_extras*.tar.gz
3232
echo "Checking import and version number (on release)"
33-
venv-sdist/bin/python -c "import pymc_experimental as pmx; assert pmx.__version__ == '${{ github.ref_name }}'[1:] if '${{ github.ref_type }}' == 'tag' else True; print(pmx.__version__)"
33+
venv-sdist/bin/python -c "import pymc_extras as pmx; assert pmx.__version__ == '${{ github.ref_name }}'[1:] if '${{ github.ref_type }}' == 'tag' else True; print(pmx.__version__)"
3434
cd ..
3535
- name: Check the bdist installs and imports
3636
run: |
3737
mkdir -p test-bdist
3838
cd test-bdist
3939
python -m venv venv-bdist
40-
venv-bdist/bin/python -m pip install ../dist/pymc_experimental*.whl
40+
venv-bdist/bin/python -m pip install ../dist/pymc_extras*.whl
4141
echo "Checking import and version number (on release)"
42-
venv-bdist/bin/python -c "import pymc_experimental as pmx; assert pmx.__version__ == '${{ github.ref_name }}'[1:] if '${{ github.ref_type }}' == 'tag' else pmx.__version__; print(pmx.__version__)"
42+
venv-bdist/bin/python -c "import pymc_extras as pmx; assert pmx.__version__ == '${{ github.ref_name }}'[1:] if '${{ github.ref_type }}' == 'tag' else pmx.__version__; print(pmx.__version__)"
4343
cd ..
4444
- uses: actions/upload-artifact@v3
4545
with:

Diff for: .github/workflows/test.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
branches: [main]
77
paths:
88
- ".github/workflows/*"
9-
- "pymc_experimental/**"
9+
- "pymc_extras/**"
1010
- "tests/**"
1111
- "setup.py"
1212
- "pyproject.toml"
@@ -37,16 +37,16 @@ jobs:
3737
environment-file: conda-envs/environment-test.yml
3838
create-args: >-
3939
python=${{matrix.python-version}}
40-
environment-name: pymc-experimental-test
40+
environment-name: pymc-extras-test
4141
init-shell: bash
4242
cache-environment: true
43-
- name: Install pymc-experimental
43+
- name: Install pymc-extras
4444
run: |
4545
pip install -e .
4646
python --version
4747
- name: Run tests
4848
run: |
49-
python -m pytest -vv --cov=pymc_experimental --cov-append --cov-report=xml --cov-report term --durations=50 $TEST_SUBSET
49+
python -m pytest -vv --cov=pymc_extras --cov-append --cov-report=xml --cov-report term --durations=50 $TEST_SUBSET
5050
- name: Upload coverage to Codecov
5151
uses: codecov/codecov-action@v2
5252
with:
@@ -76,18 +76,18 @@ jobs:
7676
micromamba-version: "1.5.10-0" # Until https://github.com/mamba-org/mamba/issues/3467 is not fixed
7777
create-args: >-
7878
python=${{matrix.python-version}}
79-
environment-name: pymc-experimental-test
79+
environment-name: pymc-extras-test
8080
init-shell: cmd.exe
8181
cache-environment: true
82-
- name: Install pymc-experimental
82+
- name: Install pymc-extras
8383
run: |
8484
pip install -e .
8585
python --version
8686
- name: Run tests
8787
# This job uses a cmd shell, therefore the environment variable syntax is different!
8888
# The ">-" in the next line replaces newlines with spaces (see https://stackoverflow.com/a/66809682).
8989
run: >-
90-
python -m pytest -vv --cov=pymc_experimental --cov-append --cov-report=xml --cov-report term --durations=50 %TEST_SUBSET%
90+
python -m pytest -vv --cov=pymc_extras --cov-append --cov-report=xml --cov-report term --durations=50 %TEST_SUBSET%
9191
- name: Upload coverage to Codecov
9292
uses: codecov/codecov-action@v2
9393
with:

Diff for: .gitpod.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ tasks:
33
- name: initialize
44
init: |
55
mkdir -p .vscode
6-
echo '{"python.defaultInterpreterPath": "/workspace/pymc-experimental/env/bin/python"}' > .vscode/settings.json
6+
echo '{"python.defaultInterpreterPath": "/workspace/pymc-extras/env/bin/python"}' > .vscode/settings.json
77
conda init bash && source ~/.bashrc
88
conda env update -f conda-envs/environment-test.yml -p env
9-
conda activate /workspace/pymc-experimental/env
9+
conda activate /workspace/pymc-extras/env
1010
pip install -r requirements-dev.txt
1111
pip install -e .
1212
command: |
13-
conda init bash && echo "conda activate /workspace/pymc-experimental/env" >> ~/.bashrc && source ~/.bashrc
13+
conda init bash && echo "conda activate /workspace/pymc-extras/env" >> ~/.bashrc && source ~/.bashrc
1414
1515
vscode:
1616
extensions:

Diff for: .pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ repos:
2727
hooks:
2828
- id: no-print-statements
2929
exclude: _version.py
30-
files: ^pymc_experimental/
30+
files: ^pymc_extras/

Diff for: CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Contributing guide
22

3-
Page in construction, for now go to https://github.com/pymc-devs/pymc-experimental#questions.
3+
Page in construction, for now go to https://github.com/pymc-devs/pymc-extras#questions.

Diff for: MANIFEST.in

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
include requirements*.txt
22
include *.md *.rst
33
include LICENSE
4-
include pymc_experimental/version.txt
4+
include README.md
5+
include pymc_extras/version.txt

Diff for: README.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
# Welcome to `pymc-experimental`
2-
<a href="https://gitpod.io/#https://github.com/pymc-devs/pymc-experimental">
1+
# Welcome to `pymc-extras`
2+
<a href="https://gitpod.io/#https://github.com/pymc-devs/pymc-extras">
33
<img
44
src="https://img.shields.io/badge/Contribute%20with-Gitpod-908a85?logo=gitpod"
55
alt="Contribute with Gitpod"
66
/>
77
</a>
88
<img
9-
src="https://codecov.io/gh/pymc-devs/pymc-experimental/branch/main/graph/badge.svg"
9+
src="https://codecov.io/gh/pymc-devs/pymc-extras/branch/main/graph/badge.svg"
1010
alt="Codecov Badge"
1111
/>
1212

1313
As PyMC continues to mature and expand its functionality to accommodate more domains of application, we increasingly see cutting-edge methodologies, highly specialized statistical distributions, and complex models appear.
1414
While this adds to the functionality and relevance of the project, it can also introduce instability and impose a burden on testing and quality control.
15-
To reduce the burden on the main `pymc` repository, this `pymc-experimental` repository can become the aggregator and testing ground for new additions to PyMC.
15+
To reduce the burden on the main `pymc` repository, this `pymc-extras` repository can become the aggregator and testing ground for new additions to PyMC.
1616
This may include unusual probability distributions, advanced model fitting algorithms, innovative yet not fully tested methods or any code that may be inappropriate to include in the `pymc` repository, but may want to be made available to users.
1717

18-
The `pymc-experimental` repository can be understood as the first step in the PyMC development pipeline, where all novel code is introduced until it is obvious that it belongs in the main repository.
18+
The `pymc-extras` repository can be understood as the first step in the PyMC development pipeline, where all novel code is introduced until it is obvious that it belongs in the main repository.
1919
We hope that this organization improves the stability and streamlines the testing overhead of the `pymc` repository, while allowing users and developers to test and evaluate cutting-edge methods and not yet fully mature features.
2020

21-
`pymc-experimental` would be designed to mirror the namespaces in `pymc` to make usage and migration as easy as possible.
21+
`pymc-extras` would be designed to mirror the namespaces in `pymc` to make usage and migration as easy as possible.
2222
For example, a `ParabolicFractal` distribution could be used analogously to those in `pymc`:
2323

2424
```python
2525
import pymc as pm
26-
import pymc_experimental as pmx
26+
import pymc_extras as pmx
2727

2828
with pm.Model():
2929

@@ -35,23 +35,23 @@ with pm.Model():
3535

3636
## Questions
3737

38-
### What belongs in `pymc-experimental`?
38+
### What belongs in `pymc-extras`?
3939

4040
- newly-implemented statistical methods, for example step methods or model construction helpers
4141
- distributions that are tricky to sample from or test
4242
- infrequently-used fitting methods or distributions
4343
- any code that requires additional optimization before it can be used in practice
4444

4545

46-
### What does not belong in `pymc-experimental`?
46+
### What does not belong in `pymc-extras`?
4747
- Case studies
4848
- Implementations that cannot be applied generically, for example because they are tied to variables from a toy example
4949

5050

5151
### Should there be more than one add-on repository?
5252

5353
Since there is a lot of code that we may not want in the main repository, does it make sense to have more than one additional repository?
54-
For example, `pymc-experimental` may just include methods that are not fully developed, tested and trusted, while code that is known to work well and has adequate test coverage, but is still too specialized to become part of `pymc` could reside in a `pymc-extras` (or similar) repository.
54+
For example, `pymc-extras` may just include methods that are not fully developed, tested and trusted, while code that is known to work well and has adequate test coverage, but is still too specialized to become part of `pymc` could reside in a `pymc-extras` (or similar) repository.
5555

5656

5757
### Unanswered questions & ToDos

Diff for: conda-envs/environment-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: pymc-experimental-test
1+
name: pymc-extras-test
22
channels:
33
- conda-forge
44
- nodefaults

Diff for: conda-envs/windows-environment-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: pymc-experimental-test
1+
name: pymc-extras-test
22
channels:
33
- conda-forge
44
- defaults

Diff for: docs/api_reference.rst

+7-7
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Model
77
This reference provides detailed documentation for all modules, classes, and
88
methods in the current release of PyMC experimental.
99

10-
.. currentmodule:: pymc_experimental
10+
.. currentmodule:: pymc_extras
1111
.. autosummary::
1212
:toctree: generated/
1313

@@ -19,7 +19,7 @@ methods in the current release of PyMC experimental.
1919
Inference
2020
=========
2121

22-
.. currentmodule:: pymc_experimental.inference
22+
.. currentmodule:: pymc_extras.inference
2323
.. autosummary::
2424
:toctree: generated/
2525

@@ -29,7 +29,7 @@ Inference
2929
Distributions
3030
=============
3131

32-
.. currentmodule:: pymc_experimental.distributions
32+
.. currentmodule:: pymc_extras.distributions
3333
.. autosummary::
3434
:toctree: generated/
3535

@@ -47,7 +47,7 @@ Distributions
4747
Utils
4848
=====
4949

50-
.. currentmodule:: pymc_experimental.utils
50+
.. currentmodule:: pymc_extras.utils
5151
.. autosummary::
5252
:toctree: generated/
5353

@@ -57,7 +57,7 @@ Utils
5757

5858
Statespace Models
5959
=================
60-
.. automodule:: pymc_experimental.statespace
60+
.. automodule:: pymc_extras.statespace
6161
.. toctree::
6262
:maxdepth: 1
6363

@@ -68,7 +68,7 @@ Statespace Models
6868

6969
Model Transforms
7070
================
71-
.. automodule:: pymc_experimental.model.transforms
71+
.. automodule:: pymc_extras.model.transforms
7272
.. autosummary::
7373
:toctree: generated/
7474

@@ -78,7 +78,7 @@ Model Transforms
7878

7979
Printing
8080
========
81-
.. currentmodule:: pymc_experimental.printing
81+
.. currentmodule:: pymc_extras.printing
8282
.. autosummary::
8383
:toctree: generated/
8484

Diff for: docs/conf.py

+12-12
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,18 @@
2929
import os
3030
import sys
3131

32-
import pymc_experimental # isort:skip
32+
import pymc_extras # isort:skip
3333

3434
sys.path.insert(0, os.path.abspath("../"))
3535

3636
# -- Project information -----------------------------------------------------
3737

38-
project = "pymc_experimental"
38+
project = "pymc_extras"
3939
copyright = "2022, pymc-devs"
4040
author = "pymc-devs"
4141

4242
# The short X.Y version
43-
version = pymc_experimental.__version__
43+
version = pymc_extras.__version__
4444
# The full version, including alpha/beta/rc tags
4545
release = version
4646

@@ -118,7 +118,7 @@
118118
}
119119
html_context = {
120120
"github_user": "pymc-devs",
121-
"github_repo": "pymc-experimental",
121+
"github_repo": "pymc-extras",
122122
"github_version": "main",
123123
"doc_path": "docs",
124124
"default_mode": "light",
@@ -133,7 +133,7 @@
133133
# -- Options for HTMLHelp output ---------------------------------------------
134134

135135
# Output file base name for HTML help builder.
136-
htmlhelp_basename = "pymc_experimentaldoc"
136+
htmlhelp_basename = "pymc_extrasdoc"
137137

138138

139139
# -- Options for LaTeX output ------------------------------------------------
@@ -159,9 +159,9 @@
159159
latex_documents = [
160160
(
161161
master_doc,
162-
"pymc_experimental.tex",
163-
"pymc_experimental Documentation",
164-
"The developers of pymc_experimental",
162+
"pymc_extras.tex",
163+
"pymc_extras Documentation",
164+
"The developers of pymc_extras",
165165
"manual",
166166
),
167167
]
@@ -171,7 +171,7 @@
171171

172172
# One entry per manual page. List of tuples
173173
# (source start file, name, description, authors, manual section).
174-
man_pages = [(master_doc, "pymc_experimental", "pymc_experimental Documentation", [author], 1)]
174+
man_pages = [(master_doc, "pymc_extras", "pymc_extras Documentation", [author], 1)]
175175

176176

177177
# -- Options for Texinfo output ----------------------------------------------
@@ -182,10 +182,10 @@
182182
texinfo_documents = [
183183
(
184184
master_doc,
185-
"pymc_experimental",
186-
"pymc_experimental Documentation",
185+
"pymc_extras",
186+
"pymc_extras Documentation",
187187
author,
188-
"pymc_experimental",
188+
"pymc_extras",
189189
"One line description of project.",
190190
"Miscellaneous",
191191
),

Diff for: docs/index.rst

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
PyMC experimental
1+
PyMC Extras
22
===================================================
33
|Tests|
44
|Coverage|
55
|Black|
66

77

8-
.. |Tests| image:: https://github.com/pymc-devs/pymc-experimental/actions/workflows/test.yml/badge.svg
9-
:target: https://github.com/pymc-devs/pymc-experimental
8+
.. |Tests| image:: https://github.com/pymc-devs/pymc-extras/actions/workflows/test.yml/badge.svg
9+
:target: https://github.com/pymc-devs/pymc-extras
1010

11-
.. |Coverage| image:: https://codecov.io/gh/pymc-devs/pymc-experimental/branch/main/graph/badge.svg?token=ZqH0KCLKAE
12-
:target: https://codecov.io/gh/pymc-devs/pymc-experimental
11+
.. |Coverage| image:: https://codecov.io/gh/pymc-devs/pymc-extras/branch/main/graph/badge.svg?token=ZqH0KCLKAE
12+
:target: https://codecov.io/gh/pymc-devs/pymc-extras
1313

1414
.. |Black| image:: https://img.shields.io/badge/code%20style-black-000000.svg
1515
:target: https://github.com/ambv/black
@@ -21,25 +21,25 @@ Where we grow the next batch of cool PyMC features
2121
Installation
2222
============
2323

24-
To install the latest release on [PyPI](https://pypi.org/project/pymc-experimental/), you can use a package manager like pip:
24+
To install the latest release on [PyPI](https://pypi.org/project/pymc-extras/), you can use a package manager like pip:
2525

2626
.. code-block:: bash
2727
28-
pip install pymc-experimental
28+
pip install pymc-extras
2929
3030
For the development version, you can install directly from GitHub:
3131

3232
.. code-block:: bash
3333
34-
pip install git+https://github.com/pymc-devs/pymc-experimental.git
34+
pip install git+https://github.com/pymc-devs/pymc-extras.git
3535
3636
Contributing
3737
============
38-
We welcome contributions from interested individuals or groups! For information about contributing to PyMC experimental check out our instructions, policies, and guidelines `here <https://github.com/pymc-devs/pymc-experimental/blob/main/CONTRIBUTING.md>`_.
38+
We welcome contributions from interested individuals or groups! For information about contributing to PyMC Extras check out our instructions, policies, and guidelines `here <https://github.com/pymc-devs/pymc-extras/blob/main/CONTRIBUTING.md>`_.
3939

4040
Contributors
4141
============
42-
See the `GitHub contributor page <https://github.com/pymc-devs/pymc-experimental/graphs/contributors>`_.
42+
See the `GitHub contributor page <https://github.com/pymc-devs/pymc-extras/graphs/contributors>`_.
4343

4444
.. toctree::
4545
:hidden:

Diff for: docs/statespace/core.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Statespace Core
33
********************
44

5-
.. automodule:: pymc_experimental.statespace.core
5+
.. automodule:: pymc_extras.statespace.core
66
.. autosummary::
77
:toctree: generated
88

0 commit comments

Comments
 (0)