Skip to content

Python package with small web app made by Robin Giraud & Clémentine Besacier

License

Notifications You must be signed in to change notification settings

robingiraud/Price-parser-Cdiscount

Repository files navigation

cdiscount_robin_clementine

cdiscount_robin_clementine is a Python library for parsing any cdiscount product price.

Installation

Use the package manager pip to install this package.

pip install -i https://test.pypi.org/simple/ cdiscount_robin_clementine

Usage

from cdiscount_robin_clementine.price_parser import parse_price

print(parse_price('<SKU>'))

You can find any product's SKU in the product page URL.

Web app

A litte user interface is included to this project

To use it, you need to have Node.js and NPM installed : npm

Go to /parser-app with command line tool and run :

npm install

then :

npm run serve

Don't forget :

pip install flask_cors

Finally: run flask server :

env FLASK_APP=server.py flask run

Go to : localhost

And you can enjoy!

License

Copyright (c) 2018 The Python Packaging Authority

About

Python package with small web app made by Robin Giraud & Clémentine Besacier

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published