No project description provided
Project description
quantumtools
machine learning utilities
User Setup
pip install quantumtools
Development setup
- Note prepend
py -3.8 -mif there are different pythonv versions - Install poetry
pip install poetry# develop in python 3.8
- Note in windows and vscode, need to ensure vscode env path is
~/.virtualenvs"python.venvPath": "~/.virtualenvs"in settings.json- and
py -3.8 -m poetry config virtualenvs.in-project false py -3.8 -m poetry config virtualenvs.path "~\.virtualenvs"
- to recreate env with updated pyproject.toml
- enter python env with
py -3.8 -m poetry shell update_env.batpytest# to run test
- enter python env with
- to add dependencies
- enter python env
py -3.8 -m poetry shell poetry add packagename@^#.#.#, @ is for version increase- for development dependencies
poetry add --group dev packagename@^#.#.#
- enter python env
Dev Reference
-
Generate pyproject.toml interactively and create venv
-
poetry init or poetry new packagename
-
Add dependency
- poetry add requests # Add --group dev for development dependencies
-
Install dependencies into venv
- poetry install
-
Activate venv
- poetry shell
-
Exit venv
- exit
-
NOTE, to add for installs from github, use
poetry2setup > setup.py
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
quantumtools-0.1.3.tar.gz
(15.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file quantumtools-0.1.3.tar.gz.
File metadata
- Download URL: quantumtools-0.1.3.tar.gz
- Upload date:
- Size: 15.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f006a1232a15651ef5af394c6ee48e8c1b46eec012d35b782c63442aaa66e3b
|
|
| MD5 |
36fe66223255aa9779079fadd368c880
|
|
| BLAKE2b-256 |
76f94bb7332936f18374ab942281c9a0e0a511fd587af96a9131fc14c43be5eb
|
File details
Details for the file quantumtools-0.1.3-py3-none-any.whl.
File metadata
- Download URL: quantumtools-0.1.3-py3-none-any.whl
- Upload date:
- Size: 15.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60c0d9c76a5826318bfc8766a13241201d68d350fa5d17e6c34d37f44d560f88
|
|
| MD5 |
f9fd8c86911f301c7e449b7e6b3fa890
|
|
| BLAKE2b-256 |
24c285340f53b81cc04ec85170f81fc7518dcfc7c788753bdf2f17984c5d66eb
|