Skip to main content

A dead simple parser

Project description

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 .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

feedler-0.0.2-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file feedler-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: feedler-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for feedler-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1c59f985273ff52a27d3d17175e36ec7e226dc6fe7cb118769064716baea92b3
MD5 e40079efe6521185dcd2509585c3ea87
BLAKE2b-256 d30702e97cf1e0b7d1b98a497a862f6d4a544db333888a8309515cf2dd1a2942

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