Brain-brew

Latest version: v0.3.10

Safety actively analyzes 621562 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.3.10

Headers Override for Name and CrowdAnkiUUID ([PR](https://github.com/ohare93/brain-brew/pull/47))

---

Install with Pip from PyPi: https://pypi.org/project/Brain-Brew/

0.3.8

Minor bug fixes for some encoding issues.

---

Install with Pip from PyPi: https://pypi.org/project/Brain-Brew/
Created with the support of [my lovely Patreons](https://www.patreon.com/jmohare?fan_landing=true).
<a title="Support a fellow Weekend Warrior on Patreon" href="https://www.patreon.com/jmohare?fan_landing=true"><img src="https://img.shields.io/badge/patreon-support-%23f96854.svg"></a>
<a title="Buy me a cuppa tea" href="https://ko-fi.com/brainbrew"><img src="https://img.shields.io/badge/ko--fi-contribute-%23579ebd.svg"></a>

0.3.6

New functionality:

- Delimiters can be specified for each csv file
- Init Repo functionality can now take the optional argument `--delimiter [X]" or "--delimitertab" (as "\t" was very difficult for command line to understand sweat_smile got a lot of "\\t"s )
- The recipe to contain the delimiter, under file_mapping and generate_guids_in_csv
- The file type will be changed to .tsv if the delimiter is a tab
- The delimiter will not be overwritten for .csv and ",", as well as .tsv and "\t"

---

Install with Pip from PyPi: https://pypi.org/project/Brain-Brew/
Created with the support of [my lovely Patreons](https://www.patreon.com/jmohare?fan_landing=true).
<a title="Support a fellow Weekend Warrior on Patreon" href="https://www.patreon.com/jmohare?fan_landing=true"><img src="https://img.shields.io/badge/patreon-support-%23f96854.svg"></a>
<a title="Buy me a cuppa tea" href="https://ko-fi.com/brainbrew"><img src="https://img.shields.io/badge/ko--fi-contribute-%23579ebd.svg"></a>

0.3.5

Minor bug fixes. Now extra keys will be ignored when building objects from a CrowdAnki Export.

---

Install with Pip from PyPi: https://pypi.org/project/Brain-Brew/
Created with the support of [my lovely Patreons](https://www.patreon.com/jmohare?fan_landing=true).
<a title="Support a fellow Weekend Warrior on Patreon" href="https://www.patreon.com/jmohare?fan_landing=true"><img src="https://img.shields.io/badge/patreon-support-%23f96854.svg"></a>
<a title="Buy me a cuppa tea" href="https://ko-fi.com/brainbrew"><img src="https://img.shields.io/badge/ko--fi-contribute-%23579ebd.svg"></a>

0.3.4

Easily Create Your Own Brain Brew Repo!

**Main Feature change:** Function to generate all Brain Brew required files, including source csvs and recipe files, using only a CrowdAnki Export :tada: This will greatly simplify the initial setup of a repo for users.

Run it with `brainbrew init [CrowdAnki folder path]`. See [the starter repo](https://github.com/ohare93/brain-brew-starter) for a step-by-step guide for all of this.

Note: running a recipe file has now been given the command "run": `brainbrew run [recipe file path]`

Other improvements:
1) Subdecks are now supported (Anki -> Source only)
1) Csv Note Model Mappings are now optional
- No more useless mappings of "field1: field1"
- Should be used only when using a column name that is different than the Anki field
1) Note Model updates
1) They now have their own yaml source files that live in the source as yaml, html, and css files.

- This file defines some fields manually, as well as points to the html files used for the templates and css
- This allows models to reuse templates and css from each other
- No more defining a note model inside the recipe, which was messy
- Save a note model deck part to a yaml source file with the new `save_note_models_to_folder` task.
1) New recipe task `note_models_all_from_crowd_anki`
- Creates deck parts for all note models in a CrowdAnki export without the need to know all their names
- Part Ids are the names of the models
<details>
<summary>Example Note Model files (Click!)</summary>

![image](https://user-images.githubusercontent.com/1471350/113592663-ba6beb80-9635-11eb-813d-9debafe7c195.png)

With the Yaml containing references to the files themselves
yaml
name: PeriodicTable-d75c0
id: 11b9043c-7ef2-11ea-a6e2-9cb6d098820d
css_file: src/note_models/PeriodicTable-d75c0/style.css
sort_field_num: 2
fields:
- name: Picture
- name: Name
- name: Number
- name: Symbol
- name: Memory sentence
- name: SpecialLocation
templates:
- name: Card 1
html_file: src/note_models/PeriodicTable-d75c0/Card 1.html
- name: Card 2
html_file: src/note_models/PeriodicTable-d75c0/Card 2.html
- name: Card 3
html_file: src/note_models/PeriodicTable-d75c0/Card 3.html
- name: Card 4
html_file: src/note_models/PeriodicTable-d75c0/Card 4.html

</details>

4) `save_media_groups_to_folder` is now a TopLevel task, rather than a DeckPart task.
5) The GlobalConfig file has been removed

---

Install with Pip from PyPi: https://pypi.org/project/Brain-Brew/
Created with the support of [my lovely Patreons](https://www.patreon.com/jmohare?fan_landing=true).
<a title="Support a fellow Weekend Warrior on Patreon" href="https://www.patreon.com/jmohare?fan_landing=true"><img src="https://img.shields.io/badge/patreon-support-%23f96854.svg"></a>
<a title="Buy me a cuppa tea" href="https://ko-fi.com/brainbrew"><img src="https://img.shields.io/badge/ko--fi-contribute-%23579ebd.svg"></a>

0.2.6

Minor bugfixes

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.