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-2.8.3.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-2.8.3-py3-none-any.whl (26.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dart-trec-commons-2.8.3.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-2.8.3.tar.gz
Algorithm Hash digest
SHA256 bbc829c920cd435f6e14a7aec36a211521b7575792ea4236e61d97370bd0b785
MD5 46b180652f47d8b2d1a9763d670e100d
BLAKE2b-256 0e65bc8ef665d78ad6214c3405b3b831b53c67df49bc8e713b22a66316b46eca

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dart_trec_commons-2.8.3-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-2.8.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6ee0e5efa0b6adba8271e9099da88145888a3781cec4fbbcf319d9b8df592833
MD5 23a615a1859783bb2cfde3e508472a7c
BLAKE2b-256 17dd9b71b497e31ca45e796ba274181fc94294cbfea31548cd534a9c87a76647

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