Skip to main content

Generate and store genetic data into an Elasticsearch database.

Project description

genelastic

Storing of genetics data into an Elasticsearch database.

Prerequisites

  • python >= 3.11
  • make

Installation

To install dependencies, run the following command:

python -m venv .venv
source .venv/bin/activate
make install.deps

Configuration

To start the API server, the following environment variables should be defined:

  • GENAPI_ES_URL: URL of the Elasticsearch server,
  • GENAPI_ES_ENCODED_API_KEY: Encoded API key,
  • GENAPI_ES_INDEX_PREFIX: Prefix to identify indices of interest,
  • GENAPI_ES_CERT_FP: Certificate fingerprint of the Elasticsearch server.

Then, run the following command:

make start-api

To start the UI server, the following environment variables should be defined:

  • GENUI_API_URL: URL of the API server.

Then, run the following command:

make start-ui

Developers

This project uses pre-commit to manage Git hooks scripts. To install project hooks, run:

pre-commit install

After that, each commit will succeed only if all hooks (defined in .pre-commit-config.yaml) pass.

If necessary (though not recommended), you can skip these hooks by using the --no-verify / -n option when committing:

git commit -m "My commit message" --no-verify # This commit will not run installed hooks.

Project details


Download files

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

Source Distribution

genelastic-0.8.0.tar.gz (40.2 kB view details)

Uploaded Source

Built Distribution

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

genelastic-0.8.0-py3-none-any.whl (47.8 kB view details)

Uploaded Python 3

File details

Details for the file genelastic-0.8.0.tar.gz.

File metadata

  • Download URL: genelastic-0.8.0.tar.gz
  • Upload date:
  • Size: 40.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for genelastic-0.8.0.tar.gz
Algorithm Hash digest
SHA256 b29d82a7ac00e4e4c18d63af5a2d31685dc04977c4610149acf5fa6073b28529
MD5 6f37ebffd3671985a0b861e5ab603bf9
BLAKE2b-256 4de343efc251711344285d2049482ab7e8593d37c477084cf03b070d6cb8702f

See more details on using hashes here.

File details

Details for the file genelastic-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: genelastic-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 47.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for genelastic-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cb3c85518afcc36527176472edacf621fc5da52cad05d83cafba2619e1ea78bc
MD5 bf6301249afa02e06ff7dcbe8074a57a
BLAKE2b-256 7ea5ffe15b67daa69552c50f50c92c18eea26b74e1fb94cee7899d6ad01e81ce

See more details on using hashes here.

Supported by

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