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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pycrdfcli-1.3.tar.gz
Algorithm Hash digest
SHA256 c013906731dd722c52216d8c1d0ff3de6b4103d6c2805ff6e78f49eb7bd01289
MD5 14932cff6ab9a571950f11864afb7003
BLAKE2b-256 0f478daf3fbc92fb9367ed09199e7970e1dac0e1b179b04e09fb86142b3edb76

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pycrdfcli-1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a439f2af005b72f68cda1b0b545a7035fa3396ce9b5a4283449828ebb615b4b5
MD5 c4cf3fd1e24d896aa3e9b2454f3aa227
BLAKE2b-256 f046ed749b65635bd3e5db7a26601400a9a947fb62c7fa25692c1b616eea84bf

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