Skip to main content

No description has been added so far.

Project description

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.

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

kerasltisubmission-0.4.7.tar.gz (392.9 kB view details)

Uploaded Source

File details

Details for the file kerasltisubmission-0.4.7.tar.gz.

File metadata

  • Download URL: kerasltisubmission-0.4.7.tar.gz
  • Upload date:
  • Size: 392.9 kB
  • Tags: Source
  • Uploaded using 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.43.0 CPython/3.6.7

File hashes

Hashes for kerasltisubmission-0.4.7.tar.gz
Algorithm Hash digest
SHA256 4c1899f6c9a10a4b81462d0188798db154720ce1f932fc9e181e29b37014a54f
MD5 b9bd0b436e771f5188f83d1ab3595869
BLAKE2b-256 7b3dabb8e8f9ea58eacb95cf97214689706c88710b8b471d95e98b11f618fbec

See more details on using hashes here.

Supported by

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