Skip to main content

This framework is highly experimental and very likely to change significantly

feeder

feeder is a small Python framework that helps you generate JSON Feeds.

Usage

For now, install from Github with:

python3 -m pip install json-feeder

Create a directory for your new feed, the start the new feed with:

feeder startfeed

settings.py, feed.py and generate.py files will be created for you.

The following settings can be configured:

  • FEED_FUNCTION the path to a Python function that will return a list of FeedItem objects.
  • FEED_FILENAME the filename on disk for the feed. If you are using Github Pages then this should be set to out/feed.json or similar.
  • FEED_URL the remote url of the feed. This is used to ensure that duplicates are not added to the file.
  • FEED_TITLE is the title of your feed.
  • FEED_HOMEPAGE_URL is the homepage of your feed, this is optional.
  • FEED_ICON is a url to an icon that feed readers might use for your feed. Very optional.
  • FEED_VERSION defaults to "1.1" and represents the JSON Feed version.
  • FEED_MAX_ITEMS limits the number of items to output in the feed. Default is 100.

Once you've updated your settings.py and created your FEED_FUNCTION you can generate your feed by running:

python3 generate.py

Runnings Tests

python3 -m unittest discover

Metadata

Release files for json-feeder 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 json-feeder 0.1.1
File Size Uploaded Provenance Actions
json-feeder-0.1.1.tar.gz 6.2 kB Without provenance Details for json-feeder-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for json-feeder 0.1.1
File Interpreter ABI Platform Actions
json_feeder-0.1.1-py3-none-any.whl Python 3 none any Details for json_feeder-0.1.1-py3-none-any.whl

Total release size: 10.4 kB

Release files / json-feeder-0.1.1.tar.gz

Download URL json-feeder-0.1.1.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
868521afa3d5421ad3c793da99b64998efb656355d5a715a403d860c2d9873dd
BLAKE2b-256 checksum
How to use checksums
6abe1a837f7c65823d265159fedba9c02d8b57ed1aae62899c23ce63220dab03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.4

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

Download URL json_feeder-0.1.1-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
147a89d14e0ce0568d65e164dac5e8c504a3fbe1032d1f272fc27bf88994a697
BLAKE2b-256 checksum
How to use checksums
e75811931f8707bf6f2d0a3a0f056becb54cc76287ed12f763da425269594572
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.4

Security for json-feeder 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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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