Catalog PyPI
Back to packageRELEASE DETAILS

0.0.2

PyPI

acsets

Access to ACSets through python.

cookiecuttersnekpack
Published15 Nov 2023
Direct dependencies8
Transitive dependenciesNot calculated

README

Version 0.0.2 documentation

PyACSets

Tests PyPI PyPI - Python Version PyPI - License Documentation Status Codecov status Cookiecutter template from @cthoyt Code style: black

A Catlab-compatible implementation of acsets in python.

Included also is an AlgebraicJulia-compatible implementation of petri nets.

🚀 Installation

The most recent code and data can be installed directly from GitHub with:

$ pip install git+https://github.com/AlgebraicJulia/py-acsets.git

👐 Contributing

Contributions, whether filing an issue, making a pull request, or forking, are appreciated. See CONTRIBUTING.md for more information on getting involved.

👋 Attribution

⚖️ License

The code in this package is licensed under the MIT License.

🍪 Cookiecutter

This package was created with @audreyfeldroy's cookiecutter package using @cthoyt's cookiecutter-snekpack template.

🛠️ For Developers

See developer instructions

The final section of the README is for if you want to get involved by making a code contribution.

Development Installation

To install in development mode, use the following:

$ git clone git+https://github.com/AlgebraicJulia/py-acsets.git
$ cd py-acsets
$ pip install -e .

🥼 Testing

After cloning the repository and installing tox with pip install tox, the unit tests in the tests/ folder can be run reproducibly with:

$ tox

Additionally, these tests are automatically re-run with each commit in a GitHub Action.

📖 Building the Documentation

The documentation can be built locally using the following:

$ git clone git+https://github.com/AlgebraicJulia/py-acsets.git
$ cd py-acsets
$ tox -e docs
$ open docs/build/html/index.html

The documentation automatically installs the package as well as the docs extra specified in the setup.cfg. sphinx plugins like texext can be added there. Additionally, they need to be added to the extensions list in docs/source/conf.py.

📦 Making a Release

After installing the package in development mode and installing tox with pip install tox, the commands for making a new release are contained within the finish environment in tox.ini. Run the following from the shell:

$ tox -e finish

This script does the following:

  1. Uses Bump2Version to switch the version number in the setup.cfg, src/acsets/version.py, and docs/source/conf.py to not have the -dev suffix
  2. Packages the code in both a tar archive and a wheel using build
  3. Uploads to PyPI using twine. Be sure to have a .pypirc file configured to avoid the need for manual input at this step
  4. Push to GitHub. You'll need to make a release going with the commit where the version was bumped.
  5. Bump the version to the next patch. If you made big changes and want to bump the version by minor, you can use tox -e bumpversion minor after.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 8

Native requirements
8 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
pydantic
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
pydanticruntime
sphinx
Environment
{
  "extras": "",
  "marker": "extra == 'docs'",
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
sphinx ; extra == 'docs'runtime
sphinx-rtd-theme
Environment
{
  "extras": "",
  "marker": "extra == 'docs'",
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
sphinx-rtd-theme ; extra == 'docs'runtime
sphinx-autodoc-typehints
Environment
{
  "extras": "",
  "marker": "extra == 'docs'",
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
sphinx-autodoc-typehints ; extra == 'docs'runtime
sphinx-automodapi
Environment
{
  "extras": "",
  "marker": "extra == 'docs'",
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
sphinx-automodapi ; extra == 'docs'runtime
pytest
Environment
{
  "extras": "",
  "marker": "extra == 'tests'",
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
pytest ; extra == 'tests'runtime
coverage
Environment
{
  "extras": "",
  "marker": "extra == 'tests'",
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
coverage ; extra == 'tests'runtime
jsonschema
Environment
{
  "extras": "",
  "marker": "extra == 'tests'",
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
jsonschema ; extra == 'tests'runtime

Distribution files

2 collected
acsets-0.0.2-py3-none-any.whl

bdist_wheel · 24.93 KB · Python py3

Source file
acsets-0.0.2.tar.gz

sdist · 23.94 KB · Python source

Source file

Repository

PENDING
algebraicjulia/py-acsets

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:28 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:2d609be4a1dc49196c7cdfa24054a3ce2a4add60ea642c801eecaaf26c2a6712

Other collected versions

View all collected versions →