small change, removing default kwarg in generate
This commit is contained in:
19
README.md
19
README.md
@@ -9,8 +9,8 @@ A command line application and Python library for generating binary numbers for
|
|||||||
Currently only supported on MacOS and Linux
|
Currently only supported on MacOS and Linux
|
||||||
|
|
||||||
## Installation on MacOS or Linux
|
## Installation on MacOS or Linux
|
||||||
1) brew install ghostscript ([install homebrew](https://brew.sh) if needed)
|
1) `brew install ghostscript` ([install homebrew](https://brew.sh) if needed)
|
||||||
2) brew install enscript
|
2) `brew install enscript`
|
||||||
3) `pip install binary-quiz`
|
3) `pip install binary-quiz`
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
@@ -444,20 +444,7 @@ $ binary 8 100 --pdf
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## TODO
|
## Other Projects That Could Be Built Using This Package
|
||||||
- add nice spacing and typography for easy reading
|
|
||||||
- pdf options
|
|
||||||
- problem numbers [true]
|
|
||||||
- number of columns [auto]
|
|
||||||
- font
|
|
||||||
- include column labels
|
|
||||||
- print
|
|
||||||
- addition
|
|
||||||
- subtraction
|
|
||||||
- mult? div?
|
|
||||||
- hex?
|
|
||||||
|
|
||||||
### Other Projects That Could Depend On This
|
|
||||||
- do the problems online/on computer
|
- do the problems online/on computer
|
||||||
- a website to serve these up and let people use them for free
|
- a website to serve these up and let people use them for free
|
||||||
- a web API that serves it, so people can do that programmatically
|
- a web API that serves it, so people can do that programmatically
|
||||||
|
|||||||
13
TODO.md
Normal file
13
TODO.md
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
## TODO
|
||||||
|
- add nice spacing and typography for easy reading
|
||||||
|
- pdf options
|
||||||
|
- problem numbers [true]
|
||||||
|
- number of columns [auto]
|
||||||
|
- font
|
||||||
|
- include column labels
|
||||||
|
- print
|
||||||
|
- addition
|
||||||
|
- subtraction
|
||||||
|
- mult? div?
|
||||||
|
- hex?
|
||||||
|
|
||||||
@@ -3,7 +3,7 @@ import random
|
|||||||
from app.check import check
|
from app.check import check
|
||||||
|
|
||||||
|
|
||||||
def generate(bits=8):
|
def generate(bits):
|
||||||
return "".join([random.choice("10") for i in range(bits)])
|
return "".join([random.choice("10") for i in range(bits)])
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -8,7 +8,7 @@ setup(
|
|||||||
name="binary_quiz",
|
name="binary_quiz",
|
||||||
author="Zev Averbach",
|
author="Zev Averbach",
|
||||||
author_email="zev@averba.ch",
|
author_email="zev@averba.ch",
|
||||||
version="0.1",
|
version="0.1.1",
|
||||||
license="MIT",
|
license="MIT",
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
description=(
|
description=(
|
||||||
|
|||||||
Reference in New Issue
Block a user