Helps submit files to brains app
Project description
brains-cli
==========
Command line interface to [brains](http://github.com/dev-coop/brains)
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` will make the call return immediately and not wait for results
##### `> brains results`
TODO: 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)
- [ ] TODO: Opens up results in browser/go to browser with current config already setup?
- [x] change `init` to automatically put every file in contents except brains history
- [x] support multiple datasets
- [ ] add `brains datasets` to list datasets
==========
Command line interface to [brains](http://github.com/dev-coop/brains)
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` will make the call return immediately and not wait for results
##### `> brains results`
TODO: 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)
- [ ] TODO: Opens up results in browser/go to browser with current config already setup?
- [x] change `init` to automatically put every file in contents except brains history
- [x] support multiple datasets
- [ ] add `brains datasets` to list 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.5.tar.gz
(4.2 kB
view details)
File details
Details for the file brains-0.0.5.tar.gz
.
File metadata
- Download URL: brains-0.0.5.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd50fc907261b59797e021beb0274cbac491e36d293164261dcfbafa77d3acdd |
|
MD5 | 905232fe7105e0bb7e620ec0d11b0aec |
|
BLAKE2b-256 | c8b53ae5abaa7f0e1137505b0745813fd8b101614a2816249317ecf0e2ce3ed4 |