genrss
RSS generator for python
Installing
genrss using lxml library that required:
- libxml2 version 2.9.2 or later.
- libxslt version 1.1.27 or later.
To install the required development packages of these dependencies on Linux systems, use your distribution specific installation tool, e.g. apt-get on Debian/Ubuntu:
sudo apt-get install libxml2-dev libxslt-dev
Install and update using pip:
pip install -U genrss
A Simple Example
from datetime import datetime
from genrss import GenRSS
feed = GenRSS(title='SmartFridge',
site_url='https://smartfridge.me',
feed_url='https://smartfridge.me/feed/rss.xml')
feed.item(title='black buns for burgers',
description='For the first time black burgers appeared ' \
'in Japan. Unusual dark color buns complemented ' \
'with black cheese and sauce. Over time, the dish ' \
'has conquered the whole world. The main secret ' \
'ingredient in popular buns is the most common... ' \
'charcoal!',
url='https://smartfridge.me/recipe/316b28-chernye-bulochki-dlya-burgerov/',
author='@smartfridge',
categories=['baking'],
pub_date=datetime.utcnow())
xml = feed.xml()
Links
Documentation: https://genrss.readthedocs.io/en/latest/
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
genrss-1.0.6.tar.gz
(5.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file genrss-1.0.6.tar.gz.
File metadata
- Download URL: genrss-1.0.6.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
574ae7e5000be87b4b5ce21e8b5ba860b3df89be94c22060182d0d926d988b80
|
|
| MD5 |
b6cee494c6dbebc3cf9f9c4402a0f381
|
|
| BLAKE2b-256 |
00b926be16e1000f692dd16b5b01930b308935cdb01125fcc047af1ced2a54f8
|
File details
Details for the file genrss-1.0.6-py3-none-any.whl.
File metadata
- Download URL: genrss-1.0.6-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7982466f1c1c5e5dbc2b0ff293b3d4904baee65921413af5dd75334ef3e4c6f9
|
|
| MD5 |
087deda51dd1f937ddf2bb18180a56e9
|
|
| BLAKE2b-256 |
032bb14bf0a07c6b8a31e90b276de160d272fae3900ccaa252d439c5d18ed3eb
|