BGC Viewer
A viewer for biosynthetic gene cluster (BGC) data.
Installation & run
Using Python 3.11 or higher, install and run the BGC Viewer as follows:
pip install bgc-viewer
bgc-viewer
This will start the BGC Viewer server, to which you can connect with your web browser.
Configuration
Environment variables can be set to change the configuration of the viewer.
A convenient way to change them is to put a file called .env in the directory from
which you are running the application.
Basic Configuration
BGCV_HOST=localhost # Server host (default: localhost)
BGCV_PORT=5005 # Server port (default: 5005)
BGCV_DEBUG_MODE=false # Enable dev/debug mode (default: false)
Public Mode (Multi-user Deployment)
BGCV_PUBLIC_MODE=true # Enable public mode
BGCV_INDEX_FILENAME=attributes.db # Index database filename (default: attributes.db)
BGCV_SECRET_KEY=your-secret-key # Secret key for session signing (required)
REDIS_URL=redis://localhost:6379 # Redis URL for session storage (recommended)
HTTPS_ENABLED=true # Enable secure cookies for HTTPS
BGCV_ALLOWED_ORIGINS=https://yourdomain.com # Allowed CORS origins
In public mode:
- The index database file is expected at
/index/(mounted volume in Docker) - The data files are expected at
/data_root/(mounted volume in Docker) - Multiple users can access the application simultaneously with session support
- File system browsing and preprocessing endpoints are disabled
For more configuration options, see .env.example.
Development
See the repository main README for development details.
uv run python -m bgc_viewer.app
License
Apache 2.0
Metadata
Release files for bgc-viewer 0.3.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bgc_viewer-0.3.6.tar.gz | 29.8 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| bgc_viewer-0.3.6-cp313-cp313-win_amd64.whl | CPython 3.13 | CPython 3.13 | Windows x86-64 | Details |
| bgc_viewer-0.3.6-cp313-cp313-manylinux_2_34_x86_64.whl | CPython 3.13 | CPython 3.13 | Linux glibc 2.34+ x86-64 | Details |
| bgc_viewer-0.3.6-cp313-cp313-macosx_11_0_arm64.whl | CPython 3.13 | CPython 3.13 | macOS 11.0+ ARM64 | Details |
| bgc_viewer-0.3.6-cp312-cp312-win_amd64.whl | CPython 3.12 | CPython 3.12 | Windows x86-64 | Details |
| bgc_viewer-0.3.6-cp312-cp312-manylinux_2_34_x86_64.whl | CPython 3.12 | CPython 3.12 | Linux glibc 2.34+ x86-64 | Details |
| bgc_viewer-0.3.6-cp312-cp312-macosx_11_0_arm64.whl | CPython 3.12 | CPython 3.12 | macOS 11.0+ ARM64 | Details |
| bgc_viewer-0.3.6-cp311-cp311-win_amd64.whl | CPython 3.11 | CPython 3.11 | Windows x86-64 | Details |
| bgc_viewer-0.3.6-cp311-cp311-manylinux_2_34_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux glibc 2.34+ x86-64 | Details |
| bgc_viewer-0.3.6-cp311-cp311-macosx_11_0_arm64.whl | CPython 3.11 | CPython 3.11 | macOS 11.0+ ARM64 | Details |
Total release size: 4.3 MB
Release files / bgc_viewer-0.3.6.tar.gz
| Download URL | bgc_viewer-0.3.6.tar.gz |
|---|---|
| Size | 29.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1907d00aea5f13910c180211e7447746f04d36648e5326d7bd7f0e370bb7e2bf
|
|
BLAKE2b-256 checksum How to use checksums |
4b88ef8c21adf1c238784627f8913701a65233e0417c51fbdbfcfb96b979dfe7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.
Transparency logRelease files / bgc_viewer-0.3.6-cp313-cp313-win_amd64.whl
| Download URL | bgc_viewer-0.3.6-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 404.8 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
459f1244139f8efca3fc2949f9b1949184f27e435f757409f8ff9affb67f5c8f
|
|
BLAKE2b-256 checksum How to use checksums |
066e76fe7087cb7f26e90ec8383ca4c5a3d566d41e4e73eece04dcdaaf38fa28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.
Transparency logRelease files / bgc_viewer-0.3.6-cp313-cp313-manylinux_2_34_x86_64.whl
| Download URL | bgc_viewer-0.3.6-cp313-cp313-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 531.7 kB |
| Tags | CPython 3.13 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
3f9d571f696417a7402c0a20ea12d55bd19d09db6ce1024621136ca546c4f398
|
|
BLAKE2b-256 checksum How to use checksums |
329bcb2ca160f8ac8c8c0f376ebc7d9cfaf9cbd4d7b523642a34ef4826928d0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.
Transparency logRelease files / bgc_viewer-0.3.6-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | bgc_viewer-0.3.6-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 498.2 kB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
a65dde330b65a82c0355972dbe9d1e7bbe6ce90f90055243a6d66d61562e208a
|
|
BLAKE2b-256 checksum How to use checksums |
f9f5d472dc0ad4aae0ab3c8b18b1474b79dcecc559fe81c1d6f5e0665482f233
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.
Transparency logRelease files / bgc_viewer-0.3.6-cp312-cp312-win_amd64.whl
| Download URL | bgc_viewer-0.3.6-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 404.9 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
6511bd56d65078c82e1956055ba5d9044d914bdd6333c332ac7d647af44f4829
|
|
BLAKE2b-256 checksum How to use checksums |
1c4c2cb677c62dde70d1a4a226360f0b3f881683de4215c55c58c1de4e4559f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.
Transparency logRelease files / bgc_viewer-0.3.6-cp312-cp312-manylinux_2_34_x86_64.whl
| Download URL | bgc_viewer-0.3.6-cp312-cp312-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 532.0 kB |
| Tags | CPython 3.12 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
29f042fe2e6f8c57d1145c22ead679289bffdf80b962cbb43fcb2db8e75cd3c9
|
|
BLAKE2b-256 checksum How to use checksums |
e6c3133622bad0ee5c559696fbe64507382f7717fa68008d144a0442c1244a60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.
Transparency logRelease files / bgc_viewer-0.3.6-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | bgc_viewer-0.3.6-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 498.3 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
936680d6a0cf41bc49f46874e09f853a41427fd53b4c64bbe571bc0a8d0663bf
|
|
BLAKE2b-256 checksum How to use checksums |
30c35ff441bf38697bf8293775c2c62b702f356d71d7cae79af842b30ae41601
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.
Transparency logRelease files / bgc_viewer-0.3.6-cp311-cp311-win_amd64.whl
| Download URL | bgc_viewer-0.3.6-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 404.7 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
33da3d31440bd09df919d61e1a8df161658cfbcb5978d719bcec91e4706c0357
|
|
BLAKE2b-256 checksum How to use checksums |
6111a8546d83532d69d8d34f75063f4f83a44ef89578543a5b4ee0bfaadf691a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.
Transparency logRelease files / bgc_viewer-0.3.6-cp311-cp311-manylinux_2_34_x86_64.whl
| Download URL | bgc_viewer-0.3.6-cp311-cp311-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 532.0 kB |
| Tags | CPython 3.11 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
b257849ae33eda617f5bf24d5436677958aa9d03e2177a6189694ae716bcaf82
|
|
BLAKE2b-256 checksum How to use checksums |
72e254c3d74eebe13c9e1a7c77212805ab44d4d587d5715558b38da0f2a16775
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.
Transparency logRelease files / bgc_viewer-0.3.6-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | bgc_viewer-0.3.6-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 498.5 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
25ab27e713b1828b37501e9c84c94ca15280603fbb7900becf6c651280cc0e34
|
|
BLAKE2b-256 checksum How to use checksums |
9427ed24f917b8a2b1df1873a85f1e931fb1df918075a437b55898002203c3fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.
Transparency log