Skip to main content

README

About

This repository contains the specification of the Materials MarketPlace Standard App API. The API is used as basis for the interaction between apps on the Materials MarketPlace platform.

This repository contains the API version: 0.6.0.

Authors

Specification

The repository contains both a programmatic definition of the API (implemented via Pydantic and FastAPI) within the marketplace_standard_app_api.main module as well as an equivalent OpenAPI representation in the openapi.json file. Programmatic checks are performed to ensure that both representations remain synchronized and conflict-free. In case that the definition within the Python module and the OpenAPI JSON-file are conflicting with each other for whatever reason, the former must be considered authoritive.

Tip: You can use the marketplace-standard-app-api show command to generate the OpenAPI file from the Python module (requires the cli extra).

Installation

Note: Users should use the MarketPlace Python SDK for app development.

You can install this package from PyPI with:

pip install marketplace-standard-app-api

Tests

Tests for this repository are implemented via pytest. To run these tests, first install the test dependencies with

pip install '.[tests]'

and then run the tests with the pytest command.

Contributing

Contributions in the form of issues, comments, and pull request are very welcome.

To make code contributions, please fork this repository, and then create a pull request. For development you will need to setup a Python environment (with a recent Python version), install the development requiremments, and the pre-commit hooks with:

pip install pre-commit==2.17.0
pre-commit install

For maintainers

To create a new release, clone the repository, install development dependencies with pip install -e '.[dev]', and then execute bumpver update --[major|minor|patch]. This will:

  1. Create a tagged release with bumped version and push it to the repository.
  2. Trigger a GitHub actions workflow that creates a GitHub release and publishes it on PyPI.

Additional notes:

  • The project follows semantic versioning.
  • Use the --dry option to preview the release change.

Acknowledgements

This work is supported by the MarketPlace project funded by Horizon 2020 under the H2020-NMBP-25-2017 call (Grant No. 760173).

Metadata

Release files for marketplace-standard-app-api 0.6.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 marketplace-standard-app-api 0.6.0
File Size Uploaded
marketplace_standard_app_api-0.6.0.tar.gz 16.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for marketplace-standard-app-api 0.6.0
File Interpreter ABI Platform
marketplace_standard_app_api-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 30.6 kB

Release files / marketplace_standard_app_api-0.6.0.tar.gz

Download URL marketplace_standard_app_api-0.6.0.tar.gz
Size 16.4 kB
Tags Source
SHA-256 checksum
How to use checksums
346a8b1526fd1b2cfc4b27d39e90dac9a7469d72fbb27418a67a8c0282619e8f
BLAKE2b-256 checksum
How to use checksums
73b94eec811218ac21478c7d579dbcd9f934726385f2c280b5e7ab71cf6fa8c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.31.0

Release files / marketplace_standard_app_api-0.6.0-py3-none-any.whl

Download URL marketplace_standard_app_api-0.6.0-py3-none-any.whl
Size 14.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
86893ce08cc416923eaf372c3699992b1957f1b66fbfc9713d4a7c7669719240
BLAKE2b-256 checksum
How to use checksums
5140d46cfb0e9ed632c32f4d85f3987fab9146ca44c14ae6b2b09581c49ce3bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.31.0

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

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