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.7.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.7-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pycrdfcli-1.7.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.7.tar.gz
Algorithm Hash digest
SHA256 1b6e66076e4a405d545121faa53e924a812bac285b9a80200aebf1c32a0d5cce
MD5 dabcbd505932a284ff732ec649b5c374
BLAKE2b-256 7a40e6caa9b6367881494b6960c4978721cbb62bfab25107476abb8009713c6b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycrdfcli-1.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 397cc7c69b44f806b72e11f3beab03feaee2193373652ebe6b2a6857d7564aa7
MD5 10af03efa28b5b18852031556947306e
BLAKE2b-256 3044c755f458797e8d764af61ccc2dfeeaaa15160c01d19a7d0ce0974c05a22c

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