Skip to main content

No project description provided

Project description

Stack

Install Stack

  1. Open your favorite terminal: Terminal
  2. Install stackcli: pip install stackcli (ideally in a virtualenv)

Build a test dataset

  1. Make a directory: mkdir test_dataset
  2. 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)

  1. Init stack in the current directory: stack init ./test_dataset (note the dot at the beginning)
  2. Add a file to track: stack add einstein.jpg
  3. Commit your changes: stack commit
  4. Check status: stack status
  5. See history of changes: stack history
  6. Remove the file: stack remove einstein.jpg
  7. Revert your changes: stack revert 1
  8. 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/

  1. Install package: `poetry install'
  2. Try CLI: find it first which stack
  3. Create a wheel package: `poetry build'
  4. Test wheel: `pip install .' # WARNING: Make sure you are in a virtualenv.
  5. Try the wheel: stack
  6. Publish it to TestPy: poetry publish --build' (If you see a HTTP Error 400: File already exists.update version number in thepyproject.toml` file)
  7. Install from TestPyPI:
  8. pip uninstall stack-cli
  9. pip install -i https://test.pypi.org/simple/ stack-cli

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

stackcli-0.1.22.tar.gz (39.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stackcli-0.1.22-py3-none-any.whl (51.6 kB view details)

Uploaded Python 3

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

Hashes for stackcli-0.1.22.tar.gz
Algorithm Hash digest
SHA256 cc8af7bfdbd25164b3ece5438db7febec691e298550de4996a9d663a315d0340
MD5 4aa6497c3576e9220d573db06d69dda1
BLAKE2b-256 4f4706e9be42f0aea23340d50672d27d5037da42401482c029b157b31df6cf50

See more details on using hashes here.

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

Hashes for stackcli-0.1.22-py3-none-any.whl
Algorithm Hash digest
SHA256 54a6d06a734c6a5ed3897753e1a82dd2dce01f8cf6e92f89331ada067512da1b
MD5 10dc1ee15b916aecdf198f491781b459
BLAKE2b-256 ac014f6501a8b93e99678ad122d9f4955e0a238d50622eba2f80e89b119e9768

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page