Registrations with limited permissions are open. Reach out if you want to host your code here.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
z31t 0663adde6e init 1 month ago
README.md init 1 month ago
abbdb.yaml init 1 month ago
abbs.py init 1 month ago
csv-import.csv init 1 month ago
import-wiki.py init 1 month ago
infodb.yaml init 1 month ago

README.md

Building my database for abbreviations

Requirements

  • Python 3.0<
  • PyYAML 5.1<

Status

Create a YAML database, add abbreviations from the terminal, start a quiz to study

Usage

Add abbreviaton from terminal

python3 abbs.py add [abbreviation] ["description"] [tag]

Start quiz

python3 abbs.py quiz

Asks you what the description of the abbreviation is.

Status quo:

  • case sensitive
  • randomized
  • doesn't repeat words but resets after every word was used

Short quiz without input

python3 abbs.py random

Shows you random abbreviations and presents you the answer after you press 'Enter'

Search function

python3 abbs.py search *searchterm*

Import csv file

python3 abbs.py csv [file]

Example for the syntax:

LAN,Local Area Network,network

Default csv-file is name 'csv-import.csv'. Optional choose another one via terminal.

delimiter: comma ',' - only one tag for now - no check for dublications (dublicates are getting updated)

TODO

Troubleshooting

module 'yaml' has no attribute 'FullLoader'

The 'Fullloader' class is only available in PyYAML 5.1 and later. You can check your current PyYAML version as followed:

python3
>>> import yaml
>>> yaml.__version__
'3.13'

You can update your version with pip:

pip3 install -U PyYAML