Skip to main content

Hardcover API wrapper for Python

Reason this release was yanked:

date is out-of-order

Project description

[!WARNING] This package is currently in Alpha development, so download at your own risk.

hardpycover

Simplified API Wrapper for Hardcover, written in Python.

PyPI - Version


Installation

pip

pip install hardpycover

uv

uv add hardpycover

Usage

[!NOTE] Using hardpycover requires having an API Key from Hardcover. To avail of an API Key, go to https://hardcover.app/account/api.

import os
from hardpycover import Hardcover

# Store your API_KEY in an .env file
api_key = os.environ["API_KEY"]

# create hardcover instance
hc = Hardcover(api_key=api_key)

Getting User Information

hc.user_profile(['id', 'bio', 'created_at', 'username'])
# > {
# 'id': 2,
# 'bio' 'Lorem ipsum dolores amit',
# 'created_at': '2025-06-23T10:10:10.32341Z',
# 'username': 'kennyrogers'
# }

For more use cases, read the available methods found at main.py.

Contributors

License

MIT License – Free to use, modify, and share.

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

hardpycover-0.1.3b0.tar.gz (79.9 kB view details)

Uploaded Source

Built Distribution

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

hardpycover-0.1.3b0-py3-none-any.whl (87.6 kB view details)

Uploaded Python 3

File details

Details for the file hardpycover-0.1.3b0.tar.gz.

File metadata

  • Download URL: hardpycover-0.1.3b0.tar.gz
  • Upload date:
  • Size: 79.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.8

File hashes

Hashes for hardpycover-0.1.3b0.tar.gz
Algorithm Hash digest
SHA256 aab77b729cd98b95aa1c7dac6eb6fdffd5919065014321220d93d33a4ba1482c
MD5 b1bdc90963a09133a217b14e99af8791
BLAKE2b-256 f810dd26365150f66dbadba519040d503e9df62ecdada82c595443c2ef7c9441

See more details on using hashes here.

File details

Details for the file hardpycover-0.1.3b0-py3-none-any.whl.

File metadata

  • Download URL: hardpycover-0.1.3b0-py3-none-any.whl
  • Upload date:
  • Size: 87.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.8

File hashes

Hashes for hardpycover-0.1.3b0-py3-none-any.whl
Algorithm Hash digest
SHA256 536af8946c982320948bb1583dc9ddc49a6a0b66e4ddbec4bb5c8bb9ee165653
MD5 2ccffe10c4f65ce3a1a98a44f24a8c72
BLAKE2b-256 2c1f0621fd36871fc39301ba3e7b913cc7ca6e764b4676f2d8d31a1bf1463d35

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