Skip to main content

DeployPlex Python SDK

Project description

DeployPlex Python SDK

deployplex is the official DeployPlex SDK for Python

pypi version Downloads License: MIT Twitter

Getting Started

Requirements

Install

You can install and configure deployplex using this command:

pip install -U deployplex

Configure

from fastapi import FastAPI
import deployplex.integrations.fastapi as deployplex_fastapi_integration

app = FastAPI()
deployplex_fastapi_integration.init(app)

Auth for DeployPlex CronJob endpoints

from fastapi import FastAPI, Depends, Response
from deployplex.integrations.fastapi import cron_job_auth

app = FastAPI()

@app.post("/job")
def job(auth: None = Depends(cron_job_auth)) -> Response:
    return Response()

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

deployplex-0.0.10.tar.gz (6.0 kB view hashes)

Uploaded Source

Built Distribution

deployplex-0.0.10-py3-none-any.whl (6.8 kB view hashes)

Uploaded Python 3

Supported by

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