Skip to main content

Create a notebook with questions for AiCore students

Project description

Teaching Tools

Tool for generating questions and answers for students.

The script connects to an S3 bucket with the questions. Those questions are stored usign the lesson id, and in order to get those ids, it connects to an RDS to make a query to check it.

Installation

Run python aicore_nb_tool in your terminal and let the magic happen.

You can also install the package to work in any directory and without worrying about dependencies. Simply run pip install aicore-nb-tools, and once installed run python -m aicore_nb_tool. It will ask you for the API token, please, ask the team how to get one.

Usage

You can pass the API token as an argument to the tool, for example:

python -m aicore_nb_tool --token <token>

The module also accepts the following arguments:

-p, --pathway: Pathway of the cohort that is going to be asked The argument uses regex, so anything similar to the name of the pathway will work. For example -p Science will match Data Science

-ng, --no_groups: Whether to create groups or not

So for example, if you want to generate a notebook for the Data Science Pathway with no defined groups, you can run:

python -m aicore_nb_tool --pathway Science --no_groups --token <token>

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

aicore-nb-tools-0.1.3.tar.gz (7.1 kB view details)

Uploaded Source

File details

Details for the file aicore-nb-tools-0.1.3.tar.gz.

File metadata

  • Download URL: aicore-nb-tools-0.1.3.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for aicore-nb-tools-0.1.3.tar.gz
Algorithm Hash digest
SHA256 b2dabf154aed810e103106cfaeb897e1489ef0cec57eb3601860567bf54cb609
MD5 232c7dfbd91ced8479575f52b0e23e33
BLAKE2b-256 58dd51bd458f3f3a533b5ae9f57133145b4f5d2f3b32bd6c12c46ea1323efc30

See more details on using hashes here.

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