Skip to main content

Helper for GRE Writing Pool

Project description

Helper for GRE Writing Pool

pypi

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

grewriting [all|issue|argument]

License

GPLv3.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

grewritingpool-0.2.2.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

grewritingpool-0.2.2-py3-none-any.whl (16.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page