This release is a pre-release and may not be stable for production use.
OKtools
Tools to work with OKpy exercises and solutions.
Requires:
- Git
- Hub utility. On Mac
brew install hub.
See the rmdex README for documentation of the markup for the exercises.
The tools need a configuration file in YaML format. Here is an example:
# Configuration for cfd2021 exercise builds
# Save as _course.yml in home directory.
# Top-level URL for built book.
url : "https://uob-ds.github.io"
# The subpath of built book under URL.
# Full book URL will then be {url}{base_url}
baseurl : "/cfd2021"
# Local output path for exercise dirs.
# Built exercise directories / repositories will appear here.
org_path : "~/dev_trees/uob-cfd"
# Github organization name to house built repositories.
org_name : "uob-cfd"
# Git base URL for exercise dirs.
git_root : "https://github.com"
# If using JupyterHub, URL of JupyterHub instance.
# Uncomment and edit if using a JupyterHub.
# jh_root : "https://uobhub.org"
Save this file as _course.yml in the directory with the exercise templates,
or in some directory higher up the file hierarchy (nearer the root directory) — for example, your home directory (if that is on the same filesystem as your exercise templates).
Example command to check exercise build and test, run from the directory containing the exercise template files:
# You can omit site-config if _course.yml is in a suitable location.
okt-dir2exercise --site-config=$HOME/my_dir/_course.yml .
Then, when satisfied, use the --push flag to push up the built exercise to a matching repository:
# You can omit site-config if _course.yml is in a suitable location.
okt-dir2exercise --site-config=$HOME/my_dir/_course.yml . --push
Metadata
Release files for oktools 0.0.1b1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| oktools-0.0.1b1.tar.gz | 25.1 kB | Without provenance | Details for oktools-0.0.1b1.tar.gz |
Release files / oktools-0.0.1b1.tar.gz
| Download URL | oktools-0.0.1b1.tar.gz |
|---|---|
| Size | 25.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d01b92af8888ff5bbb3ab8f336ba28b37df1a0549fe851a162d413df7d4d278e
|
|
BLAKE2b-256 checksum How to use checksums |
7a7def972dd735b6c8d1f73be9337bc18d7b9131355e116e6f38b6d96561f5ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.8
|
Security for oktools 0.0.1b1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.