Skip to main content

RPW DAta DIspatcher (DADI): Plugin to handle data files read/write by the pipeline

Project description

INTRODUCTION

This directory contains the source files of the RPW DAta DIspatcher (DADI), a plugin used to handle data files read/write by the RPW operation and data pipeline (RODP).

DADI is not designed to be run as a stand-alone plugin, but with the RODP.

DADI is developed with and run under the POPPY framework.

CONTENT

roc/                    plugin source files
.editorconfig           EditorConfig config file
.gitignore              .gitignore file
.gitlab-ci              config file for Gitlab-CI
.pre-commit-config.yaml pre-commit config file
bump_descriptor.py      Python script to synchronize roc/dadi/descriptor.json content with the pyproject.toml data
MANIFEST.in             Required to build Python package distributions
poetry.lock             Used by poetry package
pyproject.toml          pyproject.toml file (PEP518)
README.rst              present file
setup.py                setup.py (required for editable mode)

HOWTO

How to install the plugin?

The plugin is designed to be installed and run inside a RODP instance. However it can be installed manually, by entering:

python -m pip install /path_to_plugin

N.B. To install the plugin in editable mode, run the command:

python -m pip install -e /path_to_plugin

The editable mode can only used if the setup.py file exits. Use the dephell module to generate it from the pyproject.toml file (dephell deps convert).

How to release a new version of the plugin?

  1. Update the version field in the pyproject.toml file.

  2. Make sure the poetry.lock file is up-to-date running: poetry update --lock. (Use pip install poetry -U to install poetry.)

  3. Update the descriptor file running the command: python bump_descriptor.py -m <message>, where <message> must contain the change log for the new version.

  4. Commit last changes in the develop branch of Git repository. Merge develop branch into master. Create a new tag “X.Y.Z” from master branch. Rebase master onto develop. Push master, develop and the new tag in the distant server.

How to call the plugin?

The plugin can only by called from a POPPy-like pipeline (e.g, RODP).

The main command is:

python manage.py dadi

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

roc_dadi-0.3.5.tar.gz (38.5 kB view details)

Uploaded Source

Built Distribution

roc_dadi-0.3.5-py3-none-any.whl (46.0 kB view details)

Uploaded Python 3

File details

Details for the file roc_dadi-0.3.5.tar.gz.

File metadata

  • Download URL: roc_dadi-0.3.5.tar.gz
  • Upload date:
  • Size: 38.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.8 Linux/6.1.0-12-amd64

File hashes

Hashes for roc_dadi-0.3.5.tar.gz
Algorithm Hash digest
SHA256 876f37765ffcbb4363c69c27987bd8a766c767c04b5d00bfc46ff5e91be32465
MD5 5cc7185a714c3b09cc8e1436c112b11c
BLAKE2b-256 1a86da47ee4e019d3265abb10fe6a6727071d1d2908e1ba97120794977c0fa4f

See more details on using hashes here.

File details

Details for the file roc_dadi-0.3.5-py3-none-any.whl.

File metadata

  • Download URL: roc_dadi-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 46.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.8 Linux/6.1.0-12-amd64

File hashes

Hashes for roc_dadi-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 890b7cd6a20560498c94692560730d2589df189f2324ff3918deac481dba48b9
MD5 915ebbe4849b79b25a8d85f0cff267a1
BLAKE2b-256 7293f39e88f31166c2d682f256d7643d4e8b3139c16d3100e664c9dfc4e9e521

See more details on using hashes here.

Supported by

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