Skip to main content

Python SDK for Gretl — control local services by name or port number

Project description

gretl

Python SDK for Gretl — control local services by name or port number.

Gretl is a service manager for developers. Name your services once, run your entire stack with one command, and share it across your whole team.

Install

pip install gretl

Quick start

from gretl import gr

# Register a service
gr.register(
    name="jobs-server",
    port=7401,
    group="@jobs"
)

# Resolve a name to a URL
url = gr.url("jobs-server")

# Wait for a service to be up
gr.wait_for("postgres", timeout=30)

# Start / stop by name
gr.start("jobs-server")
gr.stop("jobs-server")

# List all services
services = gr.list()

Requirements

The Gretl desktop app or daemon must be running. Download it at gretl.dev — free for individuals, $8/dev/month for teams.

Links

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

gretl-1.0.2.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gretl-1.0.2-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file gretl-1.0.2.tar.gz.

File metadata

  • Download URL: gretl-1.0.2.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for gretl-1.0.2.tar.gz
Algorithm Hash digest
SHA256 e984431e7fb02ca076fd4c770d2deedcb3b81ae7d3fef3f31788ae447a03e31e
MD5 a5636f3a0efb370c5f98db1377afbccc
BLAKE2b-256 701a21fc81018979c8cb4bac220685bfa3c5b3de6e98a54c304b502644106407

See more details on using hashes here.

File details

Details for the file gretl-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: gretl-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for gretl-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 23fa74405121341ed5101c820bc8b87ea6c37d06f34a1c2cc062b8425c8cc796
MD5 4a92a26189f3e6c9b3087f0294ede411
BLAKE2b-256 265a03af1ae13658f9947d8a5fc650ee56a2d33a9456b72a7382cf29772d2d4d

See more details on using hashes here.

Supported by

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