Skip to main content

Reporting support for the Planetary Data System

Project description

PDS Lasso Reports

The PDS Lasso Reports package provides utilities to generates various kinds of reports. It provides three commands:

  • git-ping which "pings" a branch by making an empty commit+push to it
  • summaries which generates build summary tables in various formats
  • pds-plan which creates planning board reports

Please visit our website at: https://nasa-pds.github.io/lasso-reports

It may have useful information for developers and end-users.

Prerequisites

Installing this software requires git to be present on the target systme.

User Quickstart

Install with:

pip install lasso-reports

To execute, run:

(put your run commands here)

Code of Conduct

All users and developers of the NASA-PDS software are expected to abide by our Code of Conduct. Please read this to ensure you understand the expectations of our community.

Development

To develop this project, use your favorite text editor, or an integrated development environment with Python support, such as PyCharm.

Contributing

For information on how to contribute to NASA-PDS codebases please take a look at our Contributing guidelines.

Installation

Install in editable mode and with extra developer dependencies into your virtual environment of choice:

pip install --editable '.[dev]'

Configure the pre-commit hooks:

pre-commit install
pre-commit install -t pre-push
pre-commit install -t prepare-commit-msg
pre-commit install -t commit-msg

These hooks check code formatting and also aborts commits that contain secrets such as passwords or API keys. However, a one time setup is required in your global Git configuration. See the wiki entry on Git Secrets to learn how.

Packaging

To isolate and be able to re-produce the environment for this package, you should use a Python Virtual Environment. To do so, run:

python3 -m venv venv

Then exclusively use venv/bin/python, venv/bin/pip, etc. Or, "activate" the virtual environment by sourcing the appropriate script in the venv/bin directory.

If you have tox installed and would like it to create your environment and install dependencies for you run:

tox --devenv <name you'd like for env> -e dev

Dependencies for development are specified as the dev extras_require in setup.cfg; they are installed into the virtual environment as follows:

pip install --editable '.[dev]'

All the source code is in a sub-directory under src.

Tooling

The dev extras_require included in the template repo installs black, flake8 (plus some plugins), and mypy along with default configuration for all of them. You can run all of these (and more!) with:

tox -e lint

Project details


Download files

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

Source Distribution

lasso.reports-1.0.0.tar.gz (286.0 kB view details)

Uploaded Source

Built Distribution

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

lasso.reports-1.0.0-py3-none-any.whl (78.7 kB view details)

Uploaded Python 3

File details

Details for the file lasso.reports-1.0.0.tar.gz.

File metadata

  • Download URL: lasso.reports-1.0.0.tar.gz
  • Upload date:
  • Size: 286.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/5.0.0 pkginfo/1.8.3 requests/2.28.1 requests-toolbelt/0.10.1 tqdm/4.64.1 CPython/3.9.17

File hashes

Hashes for lasso.reports-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ca9c35ce2c20878d3714b5f9b0a25418c7307841372c471e9dbff0321e77c3bc
MD5 ad6176a723a1eb3c70a28782a76fe71a
BLAKE2b-256 0eefe5238442cbeb02121df83d12f5914c88e1140bef9829fc919adde3cd570d

See more details on using hashes here.

File details

Details for the file lasso.reports-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: lasso.reports-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 78.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/5.0.0 pkginfo/1.8.3 requests/2.28.1 requests-toolbelt/0.10.1 tqdm/4.64.1 CPython/3.9.17

File hashes

Hashes for lasso.reports-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c0170fe07ffc6f33caaedec3bbb4f3bf99449d114d01c182ea254f9fe5922106
MD5 8c388e671c31e09d34dd291375d8ac79
BLAKE2b-256 1d44dab9d8c3d0f78af40e3e981db554a3ac8c378d45f16c5204ae3f2bb4204f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page