Helps submit files to brains app
Project description
brains-cli
==========
Command line interface to the brains project.
installation
============
```pip install brains```
usage
=====
##### `> brains init`
asks for user information and how to run the program, saves to `brains.yaml` in current directory
##### `> brains push [--dataset iris] [--description "My first try"] [--dont-wait-up]`
requires `brains init` first. collects local source and pushes to server. `--dont-wait-up` will make the call return immediately and not wait for results
##### `> brains results`
Opens up results in browser
`brains.yaml` examples
==================
Hello world
```
run: python hello_world.py
content: hello_world.py
```
Hello world with glob file pattern
```
run: python hello_world.py
content: *.py
```
Hello world multiple individual files AND glob patterns
```
run: python hello_world.py
content:
- hello_world.py
- test_hello_world.py
- yo_momma.dataset
- src/*.py
```
# TODO
- [ ] finish `get` command where to save it?
- [ ] `brains run` should fetch dataset/cache it properly (use name not UUID)
- [x] support multiple datasets
==========
Command line interface to the brains project.
installation
============
```pip install brains```
usage
=====
##### `> brains init`
asks for user information and how to run the program, saves to `brains.yaml` in current directory
##### `> brains push [--dataset iris] [--description "My first try"] [--dont-wait-up]`
requires `brains init` first. collects local source and pushes to server. `--dont-wait-up` will make the call return immediately and not wait for results
##### `> brains results`
Opens up results in browser
`brains.yaml` examples
==================
Hello world
```
run: python hello_world.py
content: hello_world.py
```
Hello world with glob file pattern
```
run: python hello_world.py
content: *.py
```
Hello world multiple individual files AND glob patterns
```
run: python hello_world.py
content:
- hello_world.py
- test_hello_world.py
- yo_momma.dataset
- src/*.py
```
# TODO
- [ ] finish `get` command where to save it?
- [ ] `brains run` should fetch dataset/cache it properly (use name not UUID)
- [x] support multiple datasets
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
brains-0.0.3.tar.gz
(4.1 kB
view details)
File details
Details for the file brains-0.0.3.tar.gz
.
File metadata
- Download URL: brains-0.0.3.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80cb1060f8cd357390f1976b6045d8379a5cb4b1e9ca8d5ac1290a907eb9701c |
|
MD5 | 7d9ae08b1e91e99173b084efacd8d304 |
|
BLAKE2b-256 | 7e0861a9c846625aa161697a2ffb2cda06f232c43e9bccf1ebe5b9c91a8137d7 |