Skip to main content

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.0

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.0
File Size Uploaded Provenance Actions
opengamedata_api_utils-2.1.0.tar.gz 12.8 kB With provenance Details for opengamedata_api_utils-2.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 27.4 kB

Release files / opengamedata_api_utils-2.1.0.tar.gz

Download URL opengamedata_api_utils-2.1.0.tar.gz
Size 12.8 kB
Tags Source
SHA-256 checksum
How to use checksums
18aa6b9bc17097b05ce21cdc4ad81f77364c066a190503f54536b0ef7db291d6
BLAKE2b-256 checksum
How to use checksums
aed9f1cddee1ee5603ed1e180912ba9f76c106f7c97a6c9834d69c71db8c6ea4
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.0-py3-none-any.whl

Download URL opengamedata_api_utils-2.1.0-py3-none-any.whl
Size 14.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2131822be392c53546dc273ad3aac466b39763a19f08fc1c1913b77bf177bc5b
BLAKE2b-256 checksum
How to use checksums
d5575c68e27eee9c307ceddf36d9d975586019b09a14ceeff8e8d52a95912255
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.0

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.0.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

2.1.0 This release

2 release files Full provenance

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