Skip to main content

reportr-backend-client

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 0.1.0
  • Package version: 1.0.0
  • Generator version: 7.13.0-SNAPSHOT
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 3.8+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import reportr_backend_client

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import reportr_backend_client

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import reportr_backend_client
from reportr_backend_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = reportr_backend_client.Configuration(
    host = "http://localhost"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure Bearer authorization: HTTPBearer
configuration = reportr_backend_client.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)


# Enter a context with an instance of the API client
with reportr_backend_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = reportr_backend_client.NewsApi(api_client)
    create_news_item = reportr_backend_client.CreateNewsItem() # CreateNewsItem | 

    try:
        # Create News
        api_response = api_instance.create_news(create_news_item)
        print("The response of NewsApi->create_news:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling NewsApi->create_news: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
NewsApi create_news POST /news/ Create News
NewsApi get_news GET /news/ Get News
NewsApi get_news_by_id GET /news/{news_id} Get News By Id
StatusApi get_health GET /health Health
StatusApi get_readiness GET /ready Ready

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

HTTPBearer

  • Type: Bearer authentication

Author

Metadata

Release files for reportr-backend-client 0.0.1740749745

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

Source distribution (sdist)

Source distribution for reportr-backend-client 0.0.1740749745
File Size Uploaded
reportr_backend_client-0.0.1740749745.tar.gz 25.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for reportr-backend-client 0.0.1740749745
File Interpreter ABI Platform
reportr_backend_client-0.0.1740749745-py3-none-any.whl Python 3 none any Details

Total release size: 63.2 kB

Release files / reportr_backend_client-0.0.1740749745.tar.gz

Download URL reportr_backend_client-0.0.1740749745.tar.gz
Size 25.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f4d6b4fa9f4b75f666c8a1438796d32a4e54b539806244d47b46f66a0e4c0d6d
BLAKE2b-256 checksum
How to use checksums
95aab063cfc549155c9035b1fa1416a950cc4c8ba6172109b2f669c0c0ac35e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.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.

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 Feb 28, 2025.

Transparency log

Release files / reportr_backend_client-0.0.1740749745-py3-none-any.whl

Download URL reportr_backend_client-0.0.1740749745-py3-none-any.whl
Size 38.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
319e4f8bb33210032a57708cc8887e2421fb0a5317679abdbe7a9e3605a8c577
BLAKE2b-256 checksum
How to use checksums
8f06699507367515030c79628a26aee0e80fe4d01e9e9f05dac46cbfbc860911
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.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.

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 Feb 28, 2025.

Transparency log

Release history Release notifications | RSS feed

1.0.0

2 release files

This release

0.0.1740749745 This release

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