Introduction
This package contains the scoring functions for REINVENT.
Installation
To install in REINVENT's environment either install from repo or use pip install reinvent-scoring for the latest
official release.
Developing
Setup environment
You can use Conda to create an environment with all the necessary packages installed.
$ conda env create -f reinvent_scoring
[...]
$ conda activate reinvent_scoring
Run tests
The tests use the unittest package testing framework. Before you can run the tests make sure that you have created a
config.jsonfile in the reinvent_scoring/configs directory. There is an example config in the same directory, which
you can base your own config off of. Make sure that you set MAIN_TEST_PATH to a non-existent directory; it is where
temporary files will be written during the tests; if it is set to an existing directory, that directory will be removed
once the tests have finished.
Some tests require a proprietary OpenEye license; you have to set up a few things to make the tests read your
license. The simple way is to just set the OE_LICENSE environment variable to the path of the file containing the
license. If you just want to set the license in the reinvent_scoring Conda environment, it is a bit more complicated,
but you only have to do it once.
(reinvent-scoring) $ cd $CONDA_PREFIX
$ mkdir -p etc/conda/activate.d
$ mkdir -p etc/conda/deactivate.d
Put the following in etc/conda/activate.d/env_vars.sh.
#!/bin/sh
export OE_LICENSE='</path/to/your/oe_license/file>'
And put the following in etc/conda/deactivate.d/env_vars.sh.
#!/bin/sh
unset OE_LICENSE
Once you have created the files, deactivate and re-activate the environment, and echo $OE_LICENSE should output the
path to the license file.
Once you have created a config file and configured your environment, you can run the tests, located in the
unittest_reinvent directory, by running
$ python main_test.py
Building
- Building:
python setup.py sdist bdist_wheel - Upload build to test:
python -m twine upload --repository testpypi dist/* - Upload build:
python -m twine upload dist/*
Metadata
Release files for reinvent-scoring 0.0.73
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| reinvent_scoring-0.0.73.tar.gz | 3.9 MB | Without provenance | Details for reinvent_scoring-0.0.73.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| reinvent_scoring-0.0.73-py3-none-any.whl | Python 3 | none | any | Details for reinvent_scoring-0.0.73-py3-none-any.whl |
Total release size: 7.8 MB
Release files / reinvent_scoring-0.0.73.tar.gz
| Download URL | reinvent_scoring-0.0.73.tar.gz |
|---|---|
| Size | 3.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fa13bfefb5133e0a2c5e75fa7780c05ea36e0b5ccde199252d24d97602a00f36
|
|
BLAKE2b-256 checksum How to use checksums |
02a0a088deb12f3d80e57195f47ec1348c4d7a3563d2de0f471e916555008dca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.26.0 setuptools/46.1.1.post20200322 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.7
|
Release files / reinvent_scoring-0.0.73-py3-none-any.whl
| Download URL | reinvent_scoring-0.0.73-py3-none-any.whl |
|---|---|
| Size | 3.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4e11a8a034d2a847ecac5805457113abd3147faf9b4053519fe53b6f6e97540f
|
|
BLAKE2b-256 checksum How to use checksums |
70224d7049be9080c54ddeb6426036058f439843d4e273772aa75df5d8c94430
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.26.0 setuptools/46.1.1.post20200322 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.7
|
Security for reinvent-scoring 0.0.73
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.