Skip to main content

Python bindings for selection

Project description

Lightly Mundig

A Rust package with Python bindings for sample selection using weighting strategies. More strategies will be added later.

Prerequisites

  • Python 3.8+
  • Rust (with Cargo)
  • pip or uv

Quick Start

  1. Build and install the package:
    python -m venv venv
    source .venv/bin/activate
    make install
    
  2. Test the package, both Rust and Python:
    source venv/bin/activate
    make test
    

How to generate a license token for customers or developers

Currently the license generating token is in the tests directory, so that it's not shipped into the final wheel. We'll try to find a better location for it later.

You should pass the number of weeks for which the token will be valid, otherwise a default value of 13 (roughtly 3 months) will be used.

source venv/bin/activate
make install
cd tests
python license_util.py --weeks 3

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

lightly_mundig-0.1.3b1-cp38-abi3-win_amd64.whl (593.9 kB view details)

Uploaded CPython 3.8+Windows x86-64

lightly_mundig-0.1.3b1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (786.7 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ x86-64

lightly_mundig-0.1.3b1-cp38-abi3-macosx_11_0_arm64.whl (706.8 kB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

lightly_mundig-0.1.3b1-cp38-abi3-macosx_10_12_x86_64.whl (746.5 kB view details)

Uploaded CPython 3.8+macOS 10.12+ x86-64

File details

Details for the file lightly_mundig-0.1.3b1-cp38-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for lightly_mundig-0.1.3b1-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c2f0caee2440bd1b4955585fdf63e28559763cb3e8da2041f1d7932d6e1a6886
MD5 8e50b1999965261c1dc94f30060343a3
BLAKE2b-256 70bdfff73a1a5f43e1f411836a1471652cdb1bebe2c135fe4fd98081210530d0

See more details on using hashes here.

File details

Details for the file lightly_mundig-0.1.3b1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for lightly_mundig-0.1.3b1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 102439a5e2cb7bd727417ef2b468e11bfb776087a50657ec418c69f268f2c7d5
MD5 cc5a4ff17f988d37a43b803233725550
BLAKE2b-256 3cb779c60acb9f793f50946aab0e9925e3eafd6770fb924efef11f537aa4aa8c

See more details on using hashes here.

File details

Details for the file lightly_mundig-0.1.3b1-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for lightly_mundig-0.1.3b1-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a700fd7d4dd110c1ce33cfd26a780b01b6dd2374300adc8fb1f511502b41884b
MD5 9b647bdb592817c26d21b19624cbc776
BLAKE2b-256 f103d18753d83795476bb16bcfc10b80eef2bf7d0d74d67708394f16c83e13e2

See more details on using hashes here.

File details

Details for the file lightly_mundig-0.1.3b1-cp38-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for lightly_mundig-0.1.3b1-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 91b9cae641cdea9a100fd34f8d10c6bd968696cb40ee81e89612265b30aa69dd
MD5 9ec90fcf3af22d6b678b8d6d2c5a0279
BLAKE2b-256 bade03f15aacaf5703e6bb195fa685436f81b83acfca9dc6ec76218961d45fc2

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