Skip to main content

The atom feed generator from werkzeug.

Project description

feedwerk

Werkzeug used to have an Atom/RSS feed generator, which was pretty great, even if it didn't make the most sense as part of the Werkzeug package.

This repository is a straight-forward extract of the atom code from Werkzeug version 0.16.1, including unit tests.

Test

install & migrate from werkzeug.contrib.atom

$ pip install feedwerk

Rename imports werkzeug.contrib.atomfeedwerk.atom

- from werkzeug.contrib.atom import AtomFeed, FeedEntry
+ from feedwerk.atom         import AtomFeed, FeedEntry

bugs & maintenance

This project exists to help kick the can of migrating atom libraries when upgrading werkzeug, so the only goal is compatibility with 0.16.1 of werkzeug.contrib.atom. No new features will be considered. Bug fixes may be rejected if they might be relied-on by anyone still using old Werkzeug.

On the other hand, if you like the API that Werkzeug used to have for atom feeds, please feel free to fork this project and build and improve on it! I managed (painfully!) to retain the git history for this module and its tests, so I think it's a good starting place :)

work on feedwerk

run tests

$ python -m pytest

lints

$ flake8 --max-line-length=100 *.py tests feedwerk

Acknowledgements

The atom feed generator was written by Werkzeug developers from 2007–2019. The project history affecting this code has been retained in version control; see contributors. The full source and history of Werkzeug is available at palletes/werkzeug. Werkzeug and this project are free to use under the terms of the BSD 3-Clause License.

This project is not affiliated with Werkzeug.

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

feedwerk-0.0.3.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

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

feedwerk-0.0.3-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file feedwerk-0.0.3.tar.gz.

File metadata

  • Download URL: feedwerk-0.0.3.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for feedwerk-0.0.3.tar.gz
Algorithm Hash digest
SHA256 03d087e790a59a287038aa730952ba7fe7400fd669efb08e6fd0f031fd9e8c72
MD5 510cff481db6d38b33090f744fdd6311
BLAKE2b-256 455e9cc484af4d30ff861947d1a1fc3b69703c5f01a75c9ed86721463ae5c747

See more details on using hashes here.

File details

Details for the file feedwerk-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: feedwerk-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for feedwerk-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9df5a1a34c19d53f59e6cc30da4fccd3b47e4a769100ef4dda3bdf5a53370cda
MD5 a8b3435d9316aa39f2d1a93dcb35e97a
BLAKE2b-256 44d46c0a493de9a8ea355075397b71d8cf0ce160576b3ba4b02f3ec7aeaa5335

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