Skip to main content

Add your description here

Project description

fider-py

GitHub Actions status Coverage PyPi Shield Python Versions Shield Read The Docs Badge License Shield

Features

  • 🗣️ Fider api routes, including current beta
  • ♻️ Retry Strategy Sensible defaults to reliably retry/back-off fetching data from coingecko
  • ✏️ Code Formatting Fully typed with mypy and code formatters black / isort
  • ⚒️ Modern tooling using uv, ruff, and pre-commit
  • 📥 GitHub Actions CI/CD to automate everything
  • ↩️ Code Coverage Fully tested using tools like Codecov
  • 🐍 Python Support All minor versions from 3.10 are supported

Installation

$ pip install fider-py

Usage

>>> from fiderpy import Fider

# unauthenticated client
>>> client = Fider(host="https://demo.fider.io")

# all API responses are wrapped in a FiderAPIResponse instance
>>> client.posts.get_posts()  # default limit is 30
FiderAPIResponse(
    message="Successfully fetched data!",
    data=[
        Post(
            id=1,
            number=1,
            title="Test Post",
            slug="test-post",
            description="This is a test post",
            created_at="2021-01-01T00:00:00Z",
            user=User(
                id=1,
                name="John Doe",
                role="admin"
            ),
            has_voted=False,
            votes_count=0,
            comments_count=0,
            status="open",
            response=None,
            tags=[]
        ),
    ],
    errors=None
)

Documentation

TBD

TODO

  • Add Votes
  • Add Comments
  • Add Users
  • Add Tags
  • Add Invitations
  • Add base docs site
  • Add Codecov
  • Add PyPI

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

fider_py-0.0.1.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

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

fider_py-0.0.1-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

Details for the file fider_py-0.0.1.tar.gz.

File metadata

  • Download URL: fider_py-0.0.1.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fider_py-0.0.1.tar.gz
Algorithm Hash digest
SHA256 65f715b0eaf17df0f8d9c3f34ef7ff93aeae37f33fd015748f49c55157611bd6
MD5 dfb411d1b33d6d3986bd6a1b55a3522f
BLAKE2b-256 56b1f8972177a147c2756632074c53a2323bd8eaace6723c7cfa5b5cbe6d2d3b

See more details on using hashes here.

Provenance

The following attestation bundles were made for fider_py-0.0.1.tar.gz:

Publisher: main.yml on nickatnight/fider-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fider_py-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: fider_py-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 22.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fider_py-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3f4d7982d75f0c5db5265c1959beb5dd326f1a1c3bc0fdb2b5229c99a0ec3ae9
MD5 35971b16e1eb9d1cd8115bc3e8405933
BLAKE2b-256 627210bdb1459798d370248983bd98f96f2b6b04436b5bfb36eba17fa2fe2e4e

See more details on using hashes here.

Provenance

The following attestation bundles were made for fider_py-0.0.1-py3-none-any.whl:

Publisher: main.yml on nickatnight/fider-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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