Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

opengamedata-api-utils

Repository for utility server-side script and classes used by OpenGameData APIs.

Contents

Python Package

The utils repository contains a package that can be installed from pip, and places its classes under the ogd.apis namespace. The available modules include:

  • HelloAPI.py : Class for creating a "Hello, World" API to aid in testing deploys of other APIs.
  • schemas : Contains a base class for server config schemas to handle version and debug-level config items
  • utils : Contains helper classes for API requests and responses, as well as general-purpose parsing and setup functions.

Data Store Utilities

The store directory contains a script for reindexing a folder of OGD datasets after new datasets have been added. This index is used by the FileAPI to check what datasets are available on the server.

Getting Started

Hello World of Flask

Steps to run:

  1. Check out latest opengamedata-server.
  2. Run pip install -r requirements.txt to ensure you've got flask.
  3. Run flask run.
  4. Open localhost:5000 or localhost:5000/hello to see some really basic text output from the Flask server.

If Flask doesn't run, it's possible you'd need to first export FLASK_APP as an environment variable, set to "wsgi" (so in Bash, export FLASK_APP=wsgi). However, the script is named wsgi.py specifically because Flask is supposed to auto-detect it. So if this issue ever did come up, please ping Luke so he can look into it.

Testing in VS Code

Be sure to add the following to .vscode/settings.json in your local checkout:

   "python.testing.unittestEnabled": true,
   "python.testing.unittestArgs": [
      "-v",
      "-s",
      "./tests/cases",
      "-t",
      "./",
      "-p",
      "t_*.py"
   ],

Metadata

Release files for opengamedata-api-utils 2.1.0rc1

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

Source distribution (sdist)

Source distribution for opengamedata-api-utils 2.1.0rc1
File Size Uploaded Provenance Actions
opengamedata_api_utils-2.1.0rc1.tar.gz 12.8 kB With provenance Details for opengamedata_api_utils-2.1.0rc1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for opengamedata-api-utils 2.1.0rc1
File Interpreter ABI Platform Actions
opengamedata_api_utils-2.1.0rc1-py3-none-any.whl Python 3 none any Details for opengamedata_api_utils-2.1.0rc1-py3-none-any.whl

Total release size: 27.4 kB

Release files / opengamedata_api_utils-2.1.0rc1.tar.gz

Download URL opengamedata_api_utils-2.1.0rc1.tar.gz
Size 12.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ce29740368fe7658cdc27b7e6a84569d53f8684c442a642a8bf4f388f6768f4e
BLAKE2b-256 checksum
How to use checksums
ede32b64d8fb0b15c659f4668f3751c95c01899cba96566223eb0d0bd250e823
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 10, 2026.

Transparency log

Release files / opengamedata_api_utils-2.1.0rc1-py3-none-any.whl

Download URL opengamedata_api_utils-2.1.0rc1-py3-none-any.whl
Size 14.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a1bcae664584a48a06d372c5a6ab50bca39c8e1238fd2da36063cea5c176a9b2
BLAKE2b-256 checksum
How to use checksums
0b47c3708c0950d20d2ae8f6dc21bf52f968f81ee472fd3425cc398e41c44c2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 10, 2026.

Transparency log

Security for opengamedata-api-utils 2.1.0rc1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for opengamedata_api_utils-2.1.0rc1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 10, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release
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