Skip to main content
Build Status PyPI version License Documentation Status Test Coverage

This python package allows you to submit your trained keras models to a kerasltiprovider (see here) that proxies any LTI conforming learning platform for grading.

$ pip install kerasltisubmission
import kerasltisubmission

# Looking for the provider?
# See https://github.com/into-ai/kerasltiprovider
provider = LTIProvider(
    input_api_endpoint="http://localhost:8080",
    submission_api_endpoint="http://localhost:8080/submit",
    user_token="7dd7367c-40c2-43cb-a052-bb04e1d0a858",
)

# Submit your keras model
submission = Submission(assignment_id=12, model=model)
provider.submit(submission)

For a complete example, see example.py. Also see the official documentation as well as the documentation of the kerasltiprovider.

Development

For detailed instructions see CONTRIBUTING.

Tests

You can run tests with

$ invoke test
$ invoke test --min-coverage=90     # Fail when code coverage is below 90%
$ invoke type-check                 # Run mypy type checks

Linting and formatting

Lint and format the code with

$ invoke format
$ invoke lint

All of this happens when you run invoke pre-commit.

Note

This project is still in the alpha stage and should not be considered production ready.

Metadata

Release files for kerasltisubmission 0.4.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kerasltisubmission 0.4.9
File Size Uploaded Provenance Actions
kerasltisubmission-0.4.9.tar.gz 392.8 kB Without provenance Details for kerasltisubmission-0.4.9.tar.gz

Release files / kerasltisubmission-0.4.9.tar.gz

Download URL kerasltisubmission-0.4.9.tar.gz
Size 392.8 kB
Tags Source
SHA-256 checksum
How to use checksums
13ccca460675734d39a8a742db6c2451c15a0f588820727235afb090f172ded4
BLAKE2b-256 checksum
How to use checksums
de560b6adef8e6f5d89e9daa68e03d00850509f1553ce6303c0a49d7c619dd26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.44.0 CPython/3.6.7

Security for kerasltisubmission 0.4.9

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page