Stack
Install Stack
- Open your favorite terminal:
Terminal - Install stackcli:
pip install stackcli(ideally in a virtualenv)
Build a test dataset
- Make a directory:
mkdir test_dataset - Download an image of Einstein:
curl -o einstein.jpg https://upload.wikimedia.org/wikipedia/en/8/86/Einstein_tongue.jpg
Try Stack's Command Line Tool (CLI)
- Init stack in the current directory:
stack init ./test_dataset(note the dot at the beginning) - Add a file to track:
stack add einstein.jpg - Commit your changes:
stack commit - Check status:
stack status - See history of changes:
stack history - Remove the file:
stack remove einstein.jpg - Revert your changes:
stack revert 1 - You should see Einstein in your directory again!
Stack Dev (Ignore if you are just a user)
Features to implement
Publish to TestPy
https://typer.tiangolo.com/tutorial/package/
- Install package: `poetry install'
- Try CLI: find it first
which stack - Create a wheel package: `poetry build'
- Test wheel: `pip install .' # WARNING: Make sure you are in a virtualenv.
- Try the wheel:
stack - Publish it to TestPy:
poetry publish --build' (If you see aHTTP Error 400: File already exists.update version number in thepyproject.toml` file) - Install from TestPyPI:
pip uninstall stack-clipip install -i https://test.pypi.org/simple/ stack-cli
Metadata
Release files for stackcli 0.1.22
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 |
|---|---|---|---|---|
| stackcli-0.1.22.tar.gz | 39.2 kB | Without provenance | Details for stackcli-0.1.22.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stackcli-0.1.22-py3-none-any.whl | Python 3 | none | any | Details for stackcli-0.1.22-py3-none-any.whl |
Total release size: 90.8 kB
Release files / stackcli-0.1.22.tar.gz
| Download URL | stackcli-0.1.22.tar.gz |
|---|---|
| Size | 39.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc8af7bfdbd25164b3ece5438db7febec691e298550de4996a9d663a315d0340
|
|
BLAKE2b-256 checksum How to use checksums |
4f4706e9be42f0aea23340d50672d27d5037da42401482c029b157b31df6cf50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.11.0 Darwin/21.6.0
|
Release files / stackcli-0.1.22-py3-none-any.whl
| Download URL | stackcli-0.1.22-py3-none-any.whl |
|---|---|
| Size | 51.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
54a6d06a734c6a5ed3897753e1a82dd2dce01f8cf6e92f89331ada067512da1b
|
|
BLAKE2b-256 checksum How to use checksums |
ac014f6501a8b93e99678ad122d9f4955e0a238d50622eba2f80e89b119e9768
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.11.0 Darwin/21.6.0
|
Security for stackcli 0.1.22
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.