Skip to main content

A simple Python script to interact with CRDF (crdf.fr) APIs from CLI.

Project description

pycrdfcli

Description

A simple Python script to interact with CRDF (crdf.fr) APIs from CLI.

Usage

$ pip install pycrdfcli

$ pycrdfcli
usage: pycrdfcli.py [-h] [-k API_KEY] [-i INPUT_FILE]
                    [-a {submit,check,info_key}] [-p PROXY]

version: 1.3

optional arguments:
  -h, --help            show this help message and exit
  -k API_KEY, --api-key API_KEY
                        API key (could either be provided in the
                        "SECRET_CRDF_API_KEY" env var)
  -i INPUT_FILE, --input-file INPUT_FILE
                        Input file (either list of newline-separated FQDN, or
                        a list newline-separated of CRDF refs)
  -a {submit,check,info_key}, --action {submit,check,info_key}
                        Action to do on CRDF (default 'submit')
  -p PROXY, --proxy PROXY
                        Proxy configuration (e.g "-p 'http://127.0.0.1:8080'"))

Changelog

  • version 1.3 - 2025-09-27: Few fixes and code refactoring
  • version 1.2 - 2025-09-14: Publication on pypi.org and few fixes

Copyright and license

pycrdfcli is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

pycrdfcli is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU General Public License along with pycrdfcli. If not, see http://www.gnu.org/licenses/.

Contact

  • Thomas Debize < tdebize at mail d0t com >

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

pycrdfcli-1.6.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

pycrdfcli-1.6-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file pycrdfcli-1.6.tar.gz.

File metadata

  • Download URL: pycrdfcli-1.6.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for pycrdfcli-1.6.tar.gz
Algorithm Hash digest
SHA256 b81fa380bd8dc9be9b8e3fe0c273fb56e5fbf9cf803333b6e18fd77161336ef7
MD5 768eddef0c5ef35f8bb804ae2f85183c
BLAKE2b-256 123bdfd69737dac207db8b7be7fdd22b86faf30dcfd7f61fe4c4e22be8f25938

See more details on using hashes here.

File details

Details for the file pycrdfcli-1.6-py3-none-any.whl.

File metadata

  • Download URL: pycrdfcli-1.6-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for pycrdfcli-1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 4669baa0dfbe790a80d2d6344c0ac96e2949a83459da08915be9a7793e2bdef5
MD5 9d1367ba7274b5442b8a3ac2c3f9dbe1
BLAKE2b-256 61782b1d7f6e4f772d5f6f97c00865e7afec60e817138aa93d3c9dc0f4c2a004

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