Helper for GRE Writing Pool
Project description
# Helper for GRE Writing Pool
Because why not?
## Install
`pip install grewritingpool`
or install from source:
`python3 setup.py install`
## Usage
### As a API
**get_list(writing_type='default')**
Return a json list of articles. Input can be `all`, `issue` or `argument`, default to `all`.
Returned json format:
```
[
{
'type': <writing type>,
'first': <first part of the question>,
'second': <first part of the question, might not exist>,
'instruc': <instruction>
},
...
]
```
**get_random(writing_type='default')**
Return a random json string from the json list of articles. Input can be `all`, `issue` or `argument`, default to `all`.
Returned json format:
```
{
'type': <writing type>,
'first': <first part of the question>,
'second': <first part of the question, might not exist>,
'instruc': <instruction>
}
```
### As a executable
```bash
grewriting [all|issue|argument]
```
## License
MIT because I am lazy.
Because why not?
## Install
`pip install grewritingpool`
or install from source:
`python3 setup.py install`
## Usage
### As a API
**get_list(writing_type='default')**
Return a json list of articles. Input can be `all`, `issue` or `argument`, default to `all`.
Returned json format:
```
[
{
'type': <writing type>,
'first': <first part of the question>,
'second': <first part of the question, might not exist>,
'instruc': <instruction>
},
...
]
```
**get_random(writing_type='default')**
Return a random json string from the json list of articles. Input can be `all`, `issue` or `argument`, default to `all`.
Returned json format:
```
{
'type': <writing type>,
'first': <first part of the question>,
'second': <first part of the question, might not exist>,
'instruc': <instruction>
}
```
### As a executable
```bash
grewriting [all|issue|argument]
```
## License
MIT because I am lazy.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for grewritingpool-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 243b866d284e4751f3c940cd8b97edb0e7642a44e151f054f1a338cd9af13367 |
|
MD5 | 67bf3b5a14485204a009183be2f66d15 |
|
BLAKE2b-256 | 2a3cab7cc39573369924e52791fa92be1ec92c7b26b4b1c4a0fe36e4cd2639e6 |