Skip to main content

Gandi CLI Tool

Command line interface to the Gandi API.

Installation

pip

Install using pip:

pip3 install --user gandi

pipx

Install using pipx:

pipx install gandi

Configuration

Run gandi setup to create a configuration file at $XDG_CONFIG_HOME/gandi/config. This will ask for your Gandi API key as well as an (optional) default domain name and an (optional) default mailbox ID.

If you specify a domain name and mailbox ID, subcommands that require these parameters will use the values supplied in your config file instead of requiring them as commandline flags.

Parameters can also be specified using environment variables, e.g.:

GANDI_API_KEY=... gandi mbox -d DOMAIN --list

Usage

gandi SUBCOMMAND OPTIONS

Subcommands

setup: Setup the Gandi CLI config file

gandi setup

alias: Manage email aliases

gandi alias [-d DOMAIN] [-m MAILBOXID] (--list | --add ALIAS | --remove ALIAS)

List existing email aliases:

gandi alias -l

Add a new alias:

gandi alias -a ALIAS

Remove an alias:

gandi alias -r ALIAS

mbox: Manage email mailboxes

gandi mbox [-d DOMAIN] --list

Metadata

Release files for gandi 0.2.4

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

Source distribution (sdist)

Source distribution for gandi 0.2.4
File Size Uploaded Provenance Actions
gandi-0.2.4.tar.gz 5.2 kB Without provenance Details for gandi-0.2.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gandi 0.2.4
File Interpreter ABI Platform Actions
gandi-0.2.4-py3-none-any.whl Python 3 none any Details for gandi-0.2.4-py3-none-any.whl

Total release size: 12.1 kB

Release files / gandi-0.2.4.tar.gz

Download URL gandi-0.2.4.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3d5c75bfb6897f309c145d5d8ed10d7ee798b6fc00a52ec5c6f514b2928b5946
BLAKE2b-256 checksum
How to use checksums
aebb666e91ff887a54fb11aa8499691e429fa19a07d3aaba361209433d82bc60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.9.1 Darwin/19.6.0

Release files / gandi-0.2.4-py3-none-any.whl

Download URL gandi-0.2.4-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
259bc30e4297d9e6533170e428ff935094db5a4ee6816807ea9a7e630de8645a
BLAKE2b-256 checksum
How to use checksums
12f35ba7f1adf7eca6a73580fb219a134e575f9459a436d1b89239c0c2ce4770
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.9.1 Darwin/19.6.0

Security for gandi 0.2.4

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.

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