semvec/pypi-packages huggingface dataset:
hopstools 0.0.82
Useful tools to work with Hopsworks stack in Python
License: MIT
Keywords: Hopsworks,hops,feature store

# Hopstools

Hopstools contains useful tools to use the Hopsworks ML platform 

#### Installation
```
pip install twine
```
#### Release new version of Hopstools on PyPi https://pypi.org/project/hopstools
##### Using manual step by step
- Delete old distribution version
```
rm -Rf dist/
```
- Step up version in setup.py  
```
python setup.py sdist bdist_wheel
python -m twine upload  dist/*
twine upload --repository-url http://nexus.arbetsformedlingen.se/repository/aic-pypi-hosted/ dist/*
```
#####  Automated using make script
- Step up version in setup.py 
- Populate credentials, ask AI Platform team for user/password to Nexus Repo `aic-pypi-hosted`
```
export TWINE_REPOSITORY_UR=http://nexus.arbetsformedlingen.se/repository/aic-pypi-hosted/
export TWINE_USERNAME=aic-XXXXXX 
export TWINE_PASSWORD=aicXXXXXX

```
- Run
```
make upload-nexus
```

#### Install `hopstools` in air-gapped environment

- Configure tour environment to access Nexus repo 
```
pip3 config set global.index http://nexus.arbetsformedlingen.se/repository/pypi-proxy/pypi
pip3 config set global.index-url http://nexus.arbetsformedlingen.se/repository/pypi-proxy/simple
pip3 config set global.extra-index-url http://nexus.arbetsformedlingen.se/repository/aic-pypi-all/pypi
pip3 config set global.extra-index-url http://nexus.arbetsformedlingen.se/repository/aic-pypi-all/simple
pip3 config set global.extra-index-url http://nexus.arbetsformedlingen.se/repository/aic-pypi-hosted/pypi
pip3 config set global.extra-index-url http://nexus.arbetsformedlingen.se/repository/aic-pypi-hosted/simple
pip3 config set global.trusted-host nexus.arbetsformedlingen.se
pip3 config list -v
```
- Run
```
pip3 install hopstools
```
#### Username: bjelkenhed


pip config set global.index http://nexus.arbetsformedlingen.se/repository/pypi-proxy/pypi
pip config set global.index-url http://nexus.arbetsformedlingen.se/repository/pypi-proxy/simple
pip config set global.extra-index-url http://nexus.arbetsformedlingen.se/repository/aic-pypi-all/pypi
pip config set global.extra-index-url http://nexus.arbetsformedlingen.se/repository/aic-pypi-all/simple
pip config set global.extra-index-url http://nexus.arbetsformedlingen.se/repository/aic-pypi-hosted/pypi
pip config set global.extra-index-url http://nexus.arbetsformedlingen.se/repository/aic-pypi-hosted/simple
pip config set global.trusted-host nexus.arbetsformedlingen.se