No project description provided
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
stackcli-0.1.22.tar.gz
(39.2 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
stackcli-0.1.22-py3-none-any.whl
(51.6 kB
view details)
File details
Details for the file stackcli-0.1.22.tar.gz.
File metadata
- Download URL: stackcli-0.1.22.tar.gz
- Upload date:
- Size: 39.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.11.0 Darwin/21.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc8af7bfdbd25164b3ece5438db7febec691e298550de4996a9d663a315d0340
|
|
| MD5 |
4aa6497c3576e9220d573db06d69dda1
|
|
| BLAKE2b-256 |
4f4706e9be42f0aea23340d50672d27d5037da42401482c029b157b31df6cf50
|
File details
Details for the file stackcli-0.1.22-py3-none-any.whl.
File metadata
- Download URL: stackcli-0.1.22-py3-none-any.whl
- Upload date:
- Size: 51.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.11.0 Darwin/21.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54a6d06a734c6a5ed3897753e1a82dd2dce01f8cf6e92f89331ada067512da1b
|
|
| MD5 |
10dc1ee15b916aecdf198f491781b459
|
|
| BLAKE2b-256 |
ac014f6501a8b93e99678ad122d9f4955e0a238d50622eba2f80e89b119e9768
|