Skip to main content
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

Metadata

Release files for brains 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for brains 0.0.5
File Size Uploaded
brains-0.0.5.tar.gz 4.2 kB Details

Release files / brains-0.0.5.tar.gz

Download URL brains-0.0.5.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
cd50fc907261b59797e021beb0274cbac491e36d293164261dcfbafa77d3acdd
BLAKE2b-256 checksum
How to use checksums
c8b53ae5abaa7f0e1137505b0745813fd8b101614a2816249317ecf0e2ce3ed4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.5 This release

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page