Metadata-Version: 2.1
Name: stackcli
Version: 0.1.4
Summary: 
Author: Toni Rosinol
Author-email: arosinol@getstack.ai
Requires-Python: >=3.7,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: boto3 (>=1.24.60,<2.0.0)
Requires-Dist: fastapi (>=0.80.0)
Requires-Dist: google-cloud-datastore (>=2.8.1,<3.0.0)
Requires-Dist: google-cloud-storage (>=2.5.0,<3.0.0)
Requires-Dist: maskpass (>=0.3.6,<0.4.0)
Requires-Dist: pymongo (>=4.2.0,<5.0.0)
Requires-Dist: python-dotenv (>=0.20.0,<0.21.0)
Requires-Dist: typer[all] (>=0.6.1,<0.7.0)
Description-Content-Type: text/markdown

# 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`
3. 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 --user dist'
5. Try the wheel: `stack`
6. Publish it to TestPy: `poetry publish --build'
7. Install from TestPyPI:
  1. `pip uninstall stack-cli`
  1. `pip install -i https://test.pypi.org/simple/ stack-cli`

