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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pycrdfcli-1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 0e31d7f9b28fec51bb184ddef5cbb042b5eba59432255d47fa09cd37aa529ee8
MD5 62ae829bd054f2fa13efc8ec4743b8c7
BLAKE2b-256 042b50d5575bde566a7e937d80c729e896d3103f5608b433aad1bb23fcf5c383

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycrdfcli-1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6484d870623c56eed840cb7428b8c71ae8d595d8fba0e8128f18353fe693c3dd
MD5 f300da62af947120fdac49e60bd89026
BLAKE2b-256 9280da35ce0fcc6064cf382f05a85518f24b3c2f9fde7f60b2a71f7fc656e3c2

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