Skip to main content

No project description provided

Project description

Europarser

PyPI - Version PyPI - Python Version

Parsing d'articles de presse pour extraire le contenu et le transformer en des formats d'analyse comme TXM ou Iramuteq


Table of Contents

Installation

pip install europarser

Usages

Usage basique

from pathlib import Path

from europarser.main import main
from europarser.models import Params

folder = Path('/path/to/your/articles')
# As a list, you can choose between "json", "txm", "iramuteq", "csv", "stats", "processed_stats", "plots", "markdown" or any combination of them
outputs = ["json", "txm", "iramuteq", "csv", "stats", "processed_stats", "plots", "markdown"]
params = Params(
    minimal_support_kw=5,
    minimal_support_authors=2,
    minimal_support_journals=8,
    minimal_support_dates=3,
)

main(folder, outputs, params=params)

Usage sous forme d'API

  1. Installez le package
pip install europarser
  1. Lancez le serveur avec la commande suivante
europarser-api [--host HOST] [--port PORT]
  1. Allez sur localhost:8000 (par défaut) pour accéder à l'interface de l'API

License

europarser est distribué sous les termes de la licence AGPLv3.

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

europarser-0.1.1.tar.gz (119.0 kB view details)

Uploaded Source

Built Distribution

europarser-0.1.1-py3-none-any.whl (118.4 kB view details)

Uploaded Python 3

File details

Details for the file europarser-0.1.1.tar.gz.

File metadata

  • Download URL: europarser-0.1.1.tar.gz
  • Upload date:
  • Size: 119.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.24.1

File hashes

Hashes for europarser-0.1.1.tar.gz
Algorithm Hash digest
SHA256 730f7d461c61f51368e64721402a6e8b7de31f678135a722ea20a712b10c5fef
MD5 501b21b912ee5c7f5fc505146874034b
BLAKE2b-256 b578cd606f8f8ddf9a9dca478e2a8effb7e7cd8a8b9b89c41770979e4995701d

See more details on using hashes here.

File details

Details for the file europarser-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: europarser-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 118.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.24.1

File hashes

Hashes for europarser-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0d99374340530960fa9b610ae23828d2a8e04925a8c506898c5882ed67564ec1
MD5 a46faee85aafabb7f2e028d085cdeb8f
BLAKE2b-256 2cc2cead38d49ab0847bf57f83080c1c24e56f1639c5aba3027e937cf8fa0f3a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page