Skip to main content

ci-cd-APIer

APIer is a library that allows you to launch its backend code with Flask-like syntax using GitLab CI/CD. All the requests and responses are processed with e2e encryption using age, so nobody has access to the data except the sender (web page) and the receiver (GitLab job in memory).

Usage example

To see the full example, take a look at the example repository.

Whenever the client calls a backend via APIer script, e.g.:

const APIer = new APIer(
    '$AGE_PUBLIC_KEY$',
    '$GITLAB_PIPELINE_ENDPOINT$',
    '$GITLAB_TOKEN$'
);

const totalSum = await APIer.sendRequest('sumNumbers', [1, 2, 3, 4, 5]);

A pipeline is triggered. Example code that handles the request in the pipeline may be:

app = APIER(environ["AGE_SECRET_KEY"])

@app.route("echo")
def endpoint_echo(data: any) -> str:
    return f"You said: {data}. Enjoy :)"
    
@app.route("sumNumbers")
def endpoint_sum(data: list[int]) -> str:
    return str(sum(data))

app.process_requests()

There also exists Python client for APIer in ci_cd_apier.client package.

Metadata

Release files for ci-cd-apier 2.0.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 ci-cd-apier 2.0.0
File Size Uploaded
ci_cd_apier-2.0.0.tar.gz 757.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ci-cd-apier 2.0.0
File Interpreter ABI Platform
ci_cd_apier-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 1.5 MB

Release files / ci_cd_apier-2.0.0.tar.gz

Download URL ci_cd_apier-2.0.0.tar.gz
Size 757.7 kB
Tags Source
SHA-256 checksum
How to use checksums
07b01365afc127dd48e79f0a410f5410beb64d10ae8507cde44b10fe2583a9da
BLAKE2b-256 checksum
How to use checksums
322c7e8edab8e40b525605b7c6863adc7a8a32d94e6457db3a44e6f109a2d09a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Dec 29, 2025.

Transparency log

Release files / ci_cd_apier-2.0.0-py3-none-any.whl

Download URL ci_cd_apier-2.0.0-py3-none-any.whl
Size 767.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
01bd1d994f9c77050818a504d79209d52003be305b5dd53b07201b8f6cac8cd2
BLAKE2b-256 checksum
How to use checksums
0e4d073c69972d0ee81699fcaa1babcab4d22866c86ec424564eb89f2dfe2363
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Dec 29, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

1 release file

1.0.1

2 release files

1.0.0

2 release files

0.9.99

2 release files

0.9.9

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