Skip to main content

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

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 hashes)

Uploaded Source

Supported by

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