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_DATABASE_PATH=/path/to/attributes.db     # Path to index database file (required)
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 database path points to an attributes.db index file
  • The actual data location (data_root) is read from the database metadata
  • 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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bgc_viewer-0.2.1.tar.gz (171.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bgc_viewer-0.2.1-py3-none-any.whl (175.0 kB view details)

Uploaded Python 3

File details

Details for the file bgc_viewer-0.2.1.tar.gz.

File metadata

  • Download URL: bgc_viewer-0.2.1.tar.gz
  • Upload date:
  • Size: 171.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bgc_viewer-0.2.1.tar.gz
Algorithm Hash digest
SHA256 5961a5e1ff21f48bc69c3131127b2f9f1277efe5c0ed9fd5c201e51e10d159ed
MD5 4948c41e67a10647ab727d8affe19064
BLAKE2b-256 35dabd9f30876fdddf302db9c7102dacf9fbe88a7f9493901aa6d33910bd4587

See more details on using hashes here.

Provenance

The following attestation bundles were made for bgc_viewer-0.2.1.tar.gz:

Publisher: release.yml on medema-group/bgc-viewer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bgc_viewer-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: bgc_viewer-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 175.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bgc_viewer-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c0fe4b45a4fd773974616146bcf1e45445e8375f9c8c7dc767a67f6614306626
MD5 0e387792dfffb7e00a5bebc91a637bc5
BLAKE2b-256 a498d1f34ecc1c406bd15c59a966bf46d30b1adb6590118c8c5f9737eef431a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for bgc_viewer-0.2.1-py3-none-any.whl:

Publisher: release.yml on medema-group/bgc-viewer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 files

0.2.0

2 files

0.1.29

2 files

0.1.28

2 files

0.1.27

2 files

0.1.26

2 files

0.1.25

2 files

0.1.24

2 files

0.1.23

2 files

0.1.22

2 files

0.1.21

2 files

0.1.20

2 files

0.1.19

2 files

0.1.18

2 files

0.1.17

2 files

0.1.16

2 files

0.1.15

2 files

0.1.14

2 files

0.1.13

2 files

0.1.12

2 files

0.1.11

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.1

1 file

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page