Skip to main content

Serverless CLI

Serverless tool for the Google Cloud. You need the gcloud installed.

Install

$ pip install shopcloud_serverless
$ serverless init

Jobs

$ serverless jobs init
$ serverless jobs create <job-name>
$ serverless jobs deploy <job-name>
$ serverless jobs run <job-name>

Secrets: Secrets can you write in the .env.temp file with the SecretHub syntax.

Gateway

The main entrypoint for you serverless endpoint api is the gateway.

Init the gateway with the function and then deploy the endpoints and then you can deploy the api.yaml file with gateway deploy endpoint.

$ serverless gateway init
$ serverless gateway deploy

Endpoints

Create a new endpoint for every path.

$ serverless endpoints init
$ serverless endpoints create health

Add the Endpoint in the api.yaml the operation_id must be unqie and is the identifier for the library. You can change the <endpoint-name>.yaml with the parameters

  • memory: memory in MB
  • runtime: runtime of the function "python312"
  • trigger: http or pubsub the value is the name of the topic
  • dependencies: as string array

for development in the background we use functions-framework

$ serverless endpoints serve health

run the integration test suite

$ serverless endpoints test health

then deploy the function

$ serverless endpoints deploy health

Metadata

Release files for shopcloud-serverless 4.37.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 shopcloud-serverless 4.37.0
File Size Uploaded Provenance Actions
shopcloud_serverless-4.37.0.tar.gz 15.4 kB Without provenance Details for shopcloud_serverless-4.37.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for shopcloud-serverless 4.37.0
File Interpreter ABI Platform Actions
shopcloud_serverless-4.37.0-py3-none-any.whl Python 3 none any Details for shopcloud_serverless-4.37.0-py3-none-any.whl

Total release size: 34.2 kB

Release files / shopcloud_serverless-4.37.0.tar.gz

Download URL shopcloud_serverless-4.37.0.tar.gz
Size 15.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f5a9267dea8793d4a7c78fd6f05fcab530eb2e91e5e0e09553a018228d42f232
BLAKE2b-256 checksum
How to use checksums
3350ec4b9b1d5d5c9bc9dcf56b22595e02da35f1faa7f00bc5caf89d5a614d5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

Release files / shopcloud_serverless-4.37.0-py3-none-any.whl

Download URL shopcloud_serverless-4.37.0-py3-none-any.whl
Size 18.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
875e227d85fb969a5a933bef571111c6023712ef350ddba4d6414d49e0a3e39e
BLAKE2b-256 checksum
How to use checksums
1d312ab4c528b5419d69733b8e2e3fac64548b2e2221d30961aee88f9ff345a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

Security for shopcloud-serverless 4.37.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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

4.37.0 This release

2 release files No 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