Skip to main content

cattle_hugs

cattle_hugs is an interaction management extension for cattle_grid. The goal of cattle_hugs is to provide some of the primitives needed to interact with the rest of the Fediverse.

Features

The two features of this extension are:

  • Keep track of information used to display an actor, i.e. ObjectMetaInfo from muck_out
  • Allow the tracking of interactions, e.g. replies and likes

There are some derived features such as providing API endpoints to retrieve this data. However, the above two features consider the goals of this extension.

We note that cattle_hugs is for public information.

Methods

The methods to implement something should be exported from cattle_hugs and the used pydantic models from cattle_hugs.types.

The information on this may change.

Including in cattle_grid

Currently the cattle_grid extension has no configuration and can be included by installing the package cattle-hugs and then adding

[[extensions]]
module = "cattle_hugs"

to your extensions.toml file.

Development

Running tests

One can run the tests via

uv run pytest

Running BDD Tests

First one needs to download the fediverse-features via

uv run python -mfediverse_features

This downloads

features/fediverse-features/
└── w3c
    ├── ap_likes.feature
    ├── ap_replies.feature
    └── ap_shares.feature

Then one can run the tests with

docker compose up --wait
docker compose run --name runner --rm cattle_grid_app ./test_shell.sh
behave

Metadata

Release files for cattle-hugs 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cattle-hugs 0.1.1
File Size Uploaded Provenance
cattle_hugs-0.1.1.tar.gz 226.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for cattle-hugs 0.1.1
File Interpreter ABI Platform
cattle_hugs-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 242.4 kB

Release files / cattle_hugs-0.1.1.tar.gz

Download URL cattle_hugs-0.1.1.tar.gz
Size 226.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d817f3c0704293a2e4806eb44c1a65bc75724cfaf5ce6b71849b0810ebcb479b
BLAKE2b-256 checksum
How to use checksums
5530b856da7db8068a1f565a330140f9717acbef24fe227b1ae3bb6290991562
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Alpine Linux","version":"3.22.2","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / cattle_hugs-0.1.1-py3-none-any.whl

Download URL cattle_hugs-0.1.1-py3-none-any.whl
Size 16.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
24f1302cda3a825c7b0df905d61c56b6dad6f9f047aa4520d5b6360f2bde1655
BLAKE2b-256 checksum
How to use checksums
67bb6fdd4bb0c094b777796bba9113d524db998564fdfb948f46715e884188bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Alpine Linux","version":"3.22.2","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for cattle-hugs 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page