Skip to main content

Chop continuous stream of simulated data into more realistic LISA data packets

Project description

Chop Chop

Chop continuous stream of simulated data into more realistic LISA data packets.

Usage

To use this package, you need to install it first. You can do so by cloning the repository and running the setup script.

git clone git@gitlab.in2p3.fr:LISA/ogip-eg/lolipops.git
cd lolipops
pip install .

Refer to the documentation for more information.

Contribute

Report an issue

We use the issue-tracking management system associated with the project provided by Gitlab. If you want to report a bug or request a feature, open an issue at https://gitlab.in2p3.fr/lisa_irfu/chopchop/-/issues. You may also thumb-up or comment on existing issues.

Development environment

This project uses Poetry to manage dependencies and packaging. Poetry can prepare a virtual environment for developement, and is used to build the package. After you clones the project, run

poetry install

Refer to the Poetry documentation for more information.

We recommend you install pre-commit hooks to detect errors before you even commit.

pre-commit install

Syntax

We enforce PEP 8 (Style Guide for Python Code) with Pylint syntax checking, and code formatting with Black. Both are implemented in the continuous integration system, and merge requests cannot be merged if it fails. Pre-commit hooks will also run Black before you commit.

You can run them locally with

pylint src
black .

Note that VS Code can be configured to run Black when saving a file, and to display Pylint errors in the editor.

Unit tests

Correction of the code is checked by the pytest testing framework. It is implemented in the continuous integration system, but we recommend you run the tests locally before you commit, with

python -m pytest

Note that VS Code can be configured to run the tests easily.

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

lisachopchop-0.2.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

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

lisachopchop-0.2.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file lisachopchop-0.2.0.tar.gz.

File metadata

  • Download URL: lisachopchop-0.2.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.11.11 Linux/5.14.0-503.15.1.el9_5.x86_64

File hashes

Hashes for lisachopchop-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a7c6b9c56206d618ce283993cc6aa7c9e90ffc0c672df178319957617c8ac0da
MD5 be057acde1bac435c00d729f8f2cc457
BLAKE2b-256 60a52a721e28f4e769db31dd645704b0bd98bd9828f850ec1911f8cfb1df5aa4

See more details on using hashes here.

File details

Details for the file lisachopchop-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: lisachopchop-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.11.11 Linux/5.14.0-503.15.1.el9_5.x86_64

File hashes

Hashes for lisachopchop-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 590585aa69e22d9f8b631ce688f12018c3d3bdf2f38e080b797e751d76511047
MD5 52700ff8180e58b1d73d7b24008c0d76
BLAKE2b-256 6884b02e8750d33a2e81304fe1c39e3b8616f5b7a2e7969c5ae0f2c2dbbe68c9

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