madbot-community-abromics
Madbot Data plugin for ABRomics: Python package abromics-plugin, import path abromics_plugin, main class AbromicsPlugin, Django app config AbromicsPluginConfig.
Upstream: madbot_community_abromics on GitLab.
What it does
Registers a madbot plugin that exposes ABRomics-backed data and file access so the madbot API (and clients such as ABRomics Analysis) can open connections and resolve datalinks. The connection payload from ABRomics uses plugin id:
abromics_plugin.plugins.AbromicsPlugin
Requirements
- Python 3.11
- A running madbot API using the same interpreter / virtual environment as this package (and the same for Celery workers if you use them).
- Dependencies:
plugins-api,requests(seepyproject.toml).
Install
Clone and install in editable mode from the directory that contains pyproject.toml:
git clone git@gitlab.com:ifb-elixirfr/madbot/plugins/community/madbot_community_abromics.git
cd madbot_community_abromics
pip install -e .
If your madbot checkout provides a helper (e.g. a Pixi task in api/ that installs this path), you can use that instead—what matters is that import abromics_plugin succeeds in the process that serves the API and runs background jobs.
Docker: add the same pip install -e . (or equivalent) to the API (and worker) image build, not only your laptop venv.
Configure madbot
-
Add the Django app module to
MADBOT_INSTALLED_PLUGINS(comma-separated list in.env):MADBOT_INSTALLED_PLUGINS=abromics_plugin,madbot_ena
Include any other plugins you use; order is only relevant if you rely on specific discovery behaviour.
-
Restart the API and Celery (or reload as your deployment does).
-
After changing plugin metadata, run madbot’s plugin reload if your setup uses it (e.g.
reload_pluginsmanagement command) so schemas stay in sync.
If POST /api/connections returns 400 with plugin / does_not_exist, the runtime cannot import abromics_plugin.plugins.AbromicsPlugin—fix the install in that environment and restart.
Package layout
| Path | Role |
|---|---|
abromics_plugin/ |
Django app and plugin implementation |
abromics_plugin/plugins.py |
AbromicsPlugin (Data plugin class) |
abromics_plugin/apps.py |
AbromicsPluginConfig |
PyPI-style name: abromics-plugin ([project].name in pyproject.toml).
CI / PyPI releases
On push to dev, GitLab CI runs semantic-release (conventional commits). If there is a releasable change, it bumps the version in pyproject.toml and abromics_plugin/__init__.py, updates CHANGELOG.md, builds the sdist/wheel, uploads to PyPI, and pushes the release commit.
CI/CD variables (Settings → CI/CD → Variables):
| Variable | Purpose |
|---|---|
GITLAB_TOKEN |
Project access token with api + write_repository (push tags/commits from the job) |
PYPI_TOKEN |
PyPI API token (upload scope); used as twine password with username __token__ |
Local dry-run (optional): pixi install -e dev && npm install && npx semantic-release --dry-run (export the same env vars or use .env tooling—never commit tokens).
License
MIT — Copyright (c) 2026 ABRomics Team.
Metadata
Release files for abromics-plugin 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| abromics_plugin-2.0.0.tar.gz | 25.8 kB | Without provenance | Details for abromics_plugin-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| abromics_plugin-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for abromics_plugin-2.0.0-py3-none-any.whl |
Total release size: 48.1 kB
Release files / abromics_plugin-2.0.0.tar.gz
| Download URL | abromics_plugin-2.0.0.tar.gz |
|---|---|
| Size | 25.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b886d8c08925767c9261a2a0d86b336c8101b8e715949b1d4f22a9e8b64d342
|
|
BLAKE2b-256 checksum How to use checksums |
a516113a128bda73e2856e7d809ad35d1c40918cc32ed17936e234cbba460622
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.18
|
Release files / abromics_plugin-2.0.0-py3-none-any.whl
| Download URL | abromics_plugin-2.0.0-py3-none-any.whl |
|---|---|
| Size | 22.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
581f22e3e201b15874623af742860e6e4efcc918c2a1019d0e193ae8cc4bdf7b
|
|
BLAKE2b-256 checksum How to use checksums |
67af959f72612a035beae580c2d301612e116fbddb57b66fa93ce9a349b044e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.18
|
Security for abromics-plugin 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.