Skip to main content

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.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bgc-viewer 0.3.5
File Size Uploaded
bgc_viewer-0.3.5.tar.gz 29.8 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for bgc-viewer 0.3.5
File
bgc_viewer-0.3.5-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
bgc_viewer-0.3.5-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.5-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
bgc_viewer-0.3.5-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
bgc_viewer-0.3.5-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.5-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
bgc_viewer-0.3.5-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
bgc_viewer-0.3.5-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.5-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.5.tar.gz

Download URL bgc_viewer-0.3.5.tar.gz
Size 29.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d431f2fa44161417bc2f39a171d2f62b9d8bc0c6d06206a34e418013fc660668
BLAKE2b-256 checksum
How to use checksums
c177d5a6d62e0fdaf998d43f17b4ce4503006ead76bdf19da403ad713f041b4d
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

Release files / bgc_viewer-0.3.5-cp313-cp313-win_amd64.whl

Download URL bgc_viewer-0.3.5-cp313-cp313-win_amd64.whl
Size 404.8 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
8c937472366116f9df06bae6cc1520e0299ce4c18b5c6e57f8ab69e959887d0c
BLAKE2b-256 checksum
How to use checksums
9c2c12ef22e9928ab74faea105c48a54edc2a6d955c9f0c0c40d9785d4fc7334
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

Release files / bgc_viewer-0.3.5-cp313-cp313-manylinux_2_34_x86_64.whl

Download URL bgc_viewer-0.3.5-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
e44bdc8975cc94206b4e4f697606e514b4300553ad8e5f6e33b501bffeaef327
BLAKE2b-256 checksum
How to use checksums
fd85b7b6c38aabc223814de3f2ade3f54df7d88c20f9733bd79b334b53d19f62
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

Release files / bgc_viewer-0.3.5-cp313-cp313-macosx_11_0_arm64.whl

Download URL bgc_viewer-0.3.5-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
843d8c36576e8648522d6a2896c083bf24a8a71a097b5c1f9e17f4492d8fc620
BLAKE2b-256 checksum
How to use checksums
cb8c42799f872aae59a546dff0d67169236ffce4b8bd1190e196603f160bc3a7
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

Release files / bgc_viewer-0.3.5-cp312-cp312-win_amd64.whl

Download URL bgc_viewer-0.3.5-cp312-cp312-win_amd64.whl
Size 404.9 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
45c4b8a0da90ccb446d32bf2156d35eae613e8c99c1ad4ee1a04a43a68c96214
BLAKE2b-256 checksum
How to use checksums
243a2b6a662e108ab6697c8ae0024f630bcbb3bd62f5e09ff3978b6932d4d43a
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

Release files / bgc_viewer-0.3.5-cp312-cp312-manylinux_2_34_x86_64.whl

Download URL bgc_viewer-0.3.5-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
e43a657299d87846167bd71c1a3923f5b4275af5a61c2d9a982c2f12155c76cc
BLAKE2b-256 checksum
How to use checksums
8166be39b3869a3b6b42381ddad44fa1096109781ae267082afbec2df88e2cf5
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

Release files / bgc_viewer-0.3.5-cp312-cp312-macosx_11_0_arm64.whl

Download URL bgc_viewer-0.3.5-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
db830d63a7261c0b5a7793d1d03239a95204f4cac154b139f079468c5270eb67
BLAKE2b-256 checksum
How to use checksums
2696884f8237a91804524c5e2cfc9e781e9db961c5fcc5bf7bfc1f1e43bb7f58
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

Release files / bgc_viewer-0.3.5-cp311-cp311-win_amd64.whl

Download URL bgc_viewer-0.3.5-cp311-cp311-win_amd64.whl
Size 404.7 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
d644b78070cb885c4bb65f50567e18611cd570559988a27fe5bd133c4eaebd60
BLAKE2b-256 checksum
How to use checksums
5255b4160eeedaa09bede3d2e87fab8e4b713582b3666766b3f373c64ed7e28b
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

Release files / bgc_viewer-0.3.5-cp311-cp311-manylinux_2_34_x86_64.whl

Download URL bgc_viewer-0.3.5-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
64fd99ada593561523ba5b980c7fd19266a58edc3af0885a599242df8d06c5eb
BLAKE2b-256 checksum
How to use checksums
1706b195e2aa67c72f75e436bf6d2da27b78c4b6097882ed497231abc4fd9e74
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

Release files / bgc_viewer-0.3.5-cp311-cp311-macosx_11_0_arm64.whl

Download URL bgc_viewer-0.3.5-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
3763ec5737d251b8acac36fdaf2014781832e018ca296607b9fa455ede6736f7
BLAKE2b-256 checksum
How to use checksums
89f18e4770464a3ce0664f8b7fb6f68101307321eb0e0db713758607a7e5da3c
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

Release history Release notifications | RSS feed

0.3.7

10 release files

0.3.6

10 release files

This release

0.3.5 This release

10 release files

0.3.4

10 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.29

2 release files

0.1.28

2 release files

0.1.27

2 release files

0.1.26

2 release files

0.1.25

2 release files

0.1.24

2 release files

0.1.23

2 release files

0.1.22

2 release files

0.1.21

2 release files

0.1.20

2 release files

0.1.19

2 release files

0.1.18

2 release files

0.1.17

2 release files

0.1.16

2 release files

0.1.14

2 release files

0.1.13

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.1

1 release file

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page