Skip to main content

T-REC Commons libs

Project description

TREC Commons

Common Python code for T-REC

How to Run

  1. Install requeriments

    • python3 -m venv .venv
    • source ./.venv/bin/activate
    • pip install -r requirements.txt
  2. Config parameters

    • cp pytest.ini.example pytest.ini
    • fill pytest.ini
  3. Run tests

    • make test

How to Setup

All application variables to test are exposed in .pytest.ini:

  • Learner Options:

    Option Description
    LEARNER_DAYS_INTERVAL Learner interval in days
  • Connection Options:

    Option Description
    MONGODB_URI Mongo URI (without database name)
    MINIO_HOST MinIO host (without http://)
    MINIO_ACCESS_KEY MinIO Key
    MINIO_SECRET_KEY MinIO Secret
    MINIO_RECOMMENDER_BUCKET MinIO recommender bucket

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

dart-trec-commons-1.0.0.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

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

dart_trec_commons-1.0.0-py3-none-any.whl (26.9 kB view details)

Uploaded Python 3

File details

Details for the file dart-trec-commons-1.0.0.tar.gz.

File metadata

  • Download URL: dart-trec-commons-1.0.0.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.13.0 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.32.3 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for dart-trec-commons-1.0.0.tar.gz
Algorithm Hash digest
SHA256 34ebb133532dde83a11f720b71b100fa9f20f1656d04a794b43e5fe088f74995
MD5 b93e39e15fe9707e12aa7475b25b3bdd
BLAKE2b-256 533a40d070363a8ab64ebb4f50da8c8c808199accc07f689733b0d78b461a208

See more details on using hashes here.

File details

Details for the file dart_trec_commons-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: dart_trec_commons-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 26.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.13.0 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.32.3 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for dart_trec_commons-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c27dbfb1c0dead9a17a26b3f7889f878530b22107153933f3f32d94cb16761cf
MD5 e3a59b756545caaad1cc0daab08226c1
BLAKE2b-256 52e9c7bcead595fb3862e5fb840e2f3519df446e710cffcf67c9cde3569a1bc1

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