<!--
SPDX-FileCopyrightText: 2023 Helge
SPDX-License-Identifier: MIT
-->
# Fediverse Pasture
This python package contains tools to test Fediverse applications. This
package uses [bovine](https://bovine.readthedocs.io/en/latest/) for a lot
of the Fediverse related logic. It should also be noted that the aim here
is to debug issues caused by federation, thus everything involves starting
a webserver and running requests against it.
## Usage
For usage information, see the [documentation](https://funfedi.dev/python_package/).
## Development
Install the necessary dependencies via
```bash
poetry install --with test,dev --all-extras
```
To lint and check code formatting run
```bash
poetry run ruff check .
poetry run ruff format .
```
To test the code run
```bash
poetry run pytest
```
## Releasing
Bump version via
```bash
poetry version $TAG
git commit -a -m "new version"
git push origin main
```
Check that the build was successful [![status-badge](https://ci.codeberg.org/api/badges/13093/status.svg)](https://ci.codeberg.org/repos/13093)
```bash
git tag $TAG
git push origin $TAG
```
## Funding
This code was created as part of [Fediverse Test Framework](https://nlnet.nl/project/FediverseTestFramework/).
A project funded through the [NGI0 Core](https://nlnet.nl/core) Fund,
a fund established by [NLnet](https://nlnet.nl/) with financial support from
the European Commission's [Next Generation Internet](https://ngi.eu/) programme,
under the aegis of DG Communications Networks, Content and Technology
under grant agreement No 101092990.
Raw data
{
"_id": null,
"home_page": "https://codeberg.org/funfedidev/python_fediverse_pasture",
"name": "fediverse-pasture",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.11",
"maintainer_email": null,
"keywords": null,
"author": "Helge",
"author_email": "helge.krueger@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/30/e4/cfd8f1659c6bccda6e2c6d075be6250a5473ee9bb42a5d8bfa19905d0547/fediverse_pasture-0.2.14.tar.gz",
"platform": null,
"description": "<!--\nSPDX-FileCopyrightText: 2023 Helge\n\nSPDX-License-Identifier: MIT\n-->\n\n# Fediverse Pasture\n\nThis python package contains tools to test Fediverse applications. This\npackage uses [bovine](https://bovine.readthedocs.io/en/latest/) for a lot\nof the Fediverse related logic. It should also be noted that the aim here\nis to debug issues caused by federation, thus everything involves starting\na webserver and running requests against it.\n\n## Usage\n\nFor usage information, see the [documentation](https://funfedi.dev/python_package/).\n\n## Development\n\nInstall the necessary dependencies via\n\n```bash\npoetry install --with test,dev --all-extras\n```\n\nTo lint and check code formatting run\n\n```bash\npoetry run ruff check .\npoetry run ruff format .\n```\n\nTo test the code run\n\n```bash\npoetry run pytest\n```\n\n## Releasing\n\nBump version via\n\n```bash\npoetry version $TAG\ngit commit -a -m \"new version\"\ngit push origin main\n```\n\nCheck that the build was successful [![status-badge](https://ci.codeberg.org/api/badges/13093/status.svg)](https://ci.codeberg.org/repos/13093)\n\n```bash\ngit tag $TAG\ngit push origin $TAG\n```\n\n## Funding\n\nThis code was created as part of [Fediverse Test Framework](https://nlnet.nl/project/FediverseTestFramework/).\n\nA project funded through the [NGI0 Core](https://nlnet.nl/core) Fund,\na fund established by [NLnet](https://nlnet.nl/) with financial support from\nthe European Commission's [Next Generation Internet](https://ngi.eu/) programme,\nunder the aegis of DG Communications Networks, Content and Technology\nunder grant agreement No 101092990.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Helpful tools to test Fediverse Applications",
"version": "0.2.14",
"project_urls": {
"Documentation": "https://funfedi.dev/python_package/",
"Homepage": "https://codeberg.org/funfedidev/python_fediverse_pasture",
"Repository": "https://codeberg.org/funfedidev/python_fediverse_pasture"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "57a8d891e61349071fd8009fa59bf507a24f82552204af5fe82648f9d842db8e",
"md5": "eb8cc480f1414d7166ac3cc0e8905b3f",
"sha256": "80961b9d11019cc884d01b0d6f351c53e47754ab4d218062929059b34e22eee0"
},
"downloads": -1,
"filename": "fediverse_pasture-0.2.14-py3-none-any.whl",
"has_sig": false,
"md5_digest": "eb8cc480f1414d7166ac3cc0e8905b3f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.11",
"size": 55777,
"upload_time": "2024-09-17T10:51:57",
"upload_time_iso_8601": "2024-09-17T10:51:57.366658Z",
"url": "https://files.pythonhosted.org/packages/57/a8/d891e61349071fd8009fa59bf507a24f82552204af5fe82648f9d842db8e/fediverse_pasture-0.2.14-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "30e4cfd8f1659c6bccda6e2c6d075be6250a5473ee9bb42a5d8bfa19905d0547",
"md5": "da29653a22ac1a7c27adee2a35914a0f",
"sha256": "4d634d7b42135f93fb4c1fe6a161b1ebed4a72bbba7d7c1430cff903c2618e20"
},
"downloads": -1,
"filename": "fediverse_pasture-0.2.14.tar.gz",
"has_sig": false,
"md5_digest": "da29653a22ac1a7c27adee2a35914a0f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.11",
"size": 96621,
"upload_time": "2024-09-17T10:51:58",
"upload_time_iso_8601": "2024-09-17T10:51:58.833778Z",
"url": "https://files.pythonhosted.org/packages/30/e4/cfd8f1659c6bccda6e2c6d075be6250a5473ee9bb42a5d8bfa19905d0547/fediverse_pasture-0.2.14.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-17 10:51:58",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": true,
"codeberg_user": "funfedidev",
"codeberg_project": "python_fediverse_pasture",
"lcname": "fediverse-pasture"
}