Skip to main content

pipeline status coverage report

README

This package is used to create technical reports using Jupyter Notebooks and sympy.

Installation

Create Anaconda environment:

conda create -n jupyter-reports python=3.11
conda activate jupyter-reports

Install pandoc:

conda install pandoc

Installation via pip from a wheel file

pip install jupyter-reports-*.whl

or from pypi.org:

pip install jupyter-reports

Documentation

The documentation is online available.

For Developer

The Python package setuptools is used for the package creation and installation of jupyter-reports. Follow the installation steps above but install jupyter-reports in editable mode

pip install -e .

Be aware that the test are running in the CI with an older pandoc version and therefor tests can fail with the current pandoc version. To avoid this, install the old pandoc version:

conda install "pandoc=2.17"

Debugging

For debugging, coverage must be disabled when running the tests. For this, run pytest with the --no-cov option.

Building the package

Building the source distribution:

python -m build --sdist

Building the wheel:

python -m build --wheel

Build all:

python -m build

Building the Documentation

Building the Documentation (HTML docs):

pip install .
sphinx-build -b html -a docs/ docs/build

For PDF documentation:

sphinx-build -b latex -a docs/ docs/build
cd docs/build/latex
latexmk -pdf jupyter-reports.tex
cd ../../..

Run Tests

Run all tests:

pytest

Run only unit tests:

pytest -m unit_tests

Update translations

python pygettext.py -v -d jupyter_reports -o src/jupyter_reports/i18n/jupyter_reports.pot src/jupyter_reports/*.py

python msgfmt.py src/jupyter_reports/i18n/en/LC_MESSAGES/jupyter_reports
python msgfmt.py src/jupyter_reports/i18n/de/LC_MESSAGES/jupyter_reports

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jupyter_reports-1.0.0-py3-none-any.whl (39.2 kB view details)

Uploaded Python 3

File details

Details for the file jupyter_reports-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyter_reports-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0926aaddef4fd9d248af66a1934d6b872e0703b2e09c55054667f674337e38f2
MD5 915b9a23f271193b69f2b31168154103
BLAKE2b-256 79b810608074e0caa0c126a0ea0b929719505e6eb1149df8b9731ef2d3354d01

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page