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

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.7
File Size Uploaded
bgc_viewer-0.3.7.tar.gz 29.8 kB Details

Built distributions (wheels)

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

Download URL bgc_viewer-0.3.7.tar.gz
Size 29.8 kB
Tags Source
SHA-256 checksum
How to use checksums
93dc2bca76aa178e63ed2a2810b74361c9b143b48b1ee2bb47567d49162f36a1
BLAKE2b-256 checksum
How to use checksums
6ec83224da48c1f9c18a73ead7660c26fe9f821fb47724c85e14ff2a0719565e
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.7-cp313-cp313-win_amd64.whl

Download URL bgc_viewer-0.3.7-cp313-cp313-win_amd64.whl
Size 404.8 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
0c664ce39dbfc0e6e97a711b0e4d834909f3e42766dd7d7cef154883b92c7931
BLAKE2b-256 checksum
How to use checksums
636884a164afe1bd76cea9250246a1668b116576e9fb7eef028f6da936fecfd6
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.7-cp313-cp313-manylinux_2_34_x86_64.whl

Download URL bgc_viewer-0.3.7-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
b8b62cb387d5c9bf665be39bd5bd249d3cc486e8eb9bec4017596627ec8da5b8
BLAKE2b-256 checksum
How to use checksums
c7a3ad37042cc0eabc16c693d3c5a7e82aa219fd0ce0f4ebb9252717098866a0
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.7-cp313-cp313-macosx_11_0_arm64.whl

Download URL bgc_viewer-0.3.7-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
a28f7caa471d45c092efc10ede1296cb4fa07d670e2294be561d4495ae96e400
BLAKE2b-256 checksum
How to use checksums
8492da1441419ad25ca2cbae4dcc2a0a0c3a048724820c3c84f4fee33c808588
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.7-cp312-cp312-win_amd64.whl

Download URL bgc_viewer-0.3.7-cp312-cp312-win_amd64.whl
Size 404.9 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
f35e53f0194e08fb505392564747a456bcb4bdf0a9853a84596e1b224e6da13c
BLAKE2b-256 checksum
How to use checksums
f20940c6a5ca0547f011a246420ac1b7eefe54224098b8ecfd5f590f301edfe9
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.7-cp312-cp312-manylinux_2_34_x86_64.whl

Download URL bgc_viewer-0.3.7-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
fd667e94916cd49bfc09aa57985d64baa53ff2c905be4c47e13f43220847269b
BLAKE2b-256 checksum
How to use checksums
6342f2978ef35fad62fcf121ae4fc9cf3096c5c01836e0286bd4b46864db08c3
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.7-cp312-cp312-macosx_11_0_arm64.whl

Download URL bgc_viewer-0.3.7-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
bff7d2e6f3caa386f0ac3a0a13a1a6441a7e42ef9aa427815c06a3063e4aa964
BLAKE2b-256 checksum
How to use checksums
b80c86c2b7755b9cfef43eef85f65d103f4292cc2f1689ebbc2faf05af5eba11
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.7-cp311-cp311-win_amd64.whl

Download URL bgc_viewer-0.3.7-cp311-cp311-win_amd64.whl
Size 404.7 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
24bdef63ea173fa91d121ed88f560fad78fe71b85a2198bade31ac50f618176e
BLAKE2b-256 checksum
How to use checksums
b0d8ed1f05c83410ff50078ea6dab2aac9ca27f78298c58d9bf2947edd3ed9ed
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.7-cp311-cp311-manylinux_2_34_x86_64.whl

Download URL bgc_viewer-0.3.7-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
6286d76569377127d1da79ab1e033b150c7418155ff6d50e602aadb0e523225e
BLAKE2b-256 checksum
How to use checksums
1e9d7f24eefc9856b791050b4b6c9eb756fedb515ec5307611b275c3d520cb38
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.7-cp311-cp311-macosx_11_0_arm64.whl

Download URL bgc_viewer-0.3.7-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
9fb594966166629076fd52ed0cccfb764d1adc3828a3a795704dbd274d2587a0
BLAKE2b-256 checksum
How to use checksums
1c252694aa687696a29e96fad30d2c00e9974ddfd46632ac58767d4490382d71
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

This release

0.3.7 This release

10 release files

0.3.6

10 release files

0.3.5

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