Feedler
A dead simple parser.
This package is intended to be used as a global parser mainly for rss feeds.
Setup
pip install feedler
Usage
from feedler.parsers import rss_parser
# parse from a url
rss_dict = rss_parser("https://sample.url")
# parse from a file
rss_dict = rss_parser("/path/to/file")
# get the rss as json
rss_json = rss_parser("url or file_path", format="json")
Test
First you need to clone this repo
git clone git@github.com:xheuz/feedler.git
Then you need to add a virtualenv
python3 -m virtualenv ./.venv
# activate your venv
source .venv/bin/activate
# install all requirements.txt
pip install -r requirements.txt
And last run the tests
export PYTHONPATH=${PWD}; pytest -v .
Metadata
Release files for feedler 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| feedler-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Release files / feedler-0.0.2-py3-none-any.whl
| Download URL | feedler-0.0.2-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1c59f985273ff52a27d3d17175e36ec7e226dc6fe7cb118769064716baea92b3
|
|
BLAKE2b-256 checksum How to use checksums |
d30702e97cf1e0b7d1b98a497a862f6d4a544db333888a8309515cf2dd1a2942
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
|