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

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.4.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file brains-0.0.4.tar.gz.

File metadata

  • Download URL: brains-0.0.4.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for brains-0.0.4.tar.gz
Algorithm Hash digest
SHA256 c8e4446c2609119906949445091bd76e049b5b5e7a2252c9ec5b238d0bcf8184
MD5 2ee8e92ab7c3582e17c45f4110caa973
BLAKE2b-256 49b732007fdabacef80bbbfa6e545a2f8a407d41ef8a91c544e9236cd72a1ad9

See more details on using hashes here.

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