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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pycrdfcli-1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 ff050cd7036abca3d978d953cc1ff2f1807f0c18fbfe84b6e9c8d71e8a7b9112
MD5 d26d3d80eaacc4da84f6baec65afbb61
BLAKE2b-256 7fe1bd7864b46c640d03d733fd11f75c9a502c87100d96c3ad301e8d243ed69e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycrdfcli-1.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4c230f857d24e248e715306c7297ac79b51a3ff18e4f58c461ba831948c1b93a
MD5 ec8717a71eb0616423364b24fc2e16d3
BLAKE2b-256 26f73b8f63ae369d8d69768bf6c4a0b3371b1d9e8beb601caf92056c20109bf8

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