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.0.6.tar.gz (118.2 kB view details)

Uploaded Source

Built Distribution

europarser-0.0.6-py3-none-any.whl (118.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: europarser-0.0.6.tar.gz
  • Upload date:
  • Size: 118.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for europarser-0.0.6.tar.gz
Algorithm Hash digest
SHA256 74cbb92b0f3a37fdb437585dd5e2358cd1fbc26b6f23916cda7150a564d27b3f
MD5 d4167b665fdfe626e9490fcfe67c2f84
BLAKE2b-256 5e226b0bc5b91fa1c3bdef82a94837e40ab0066a29631bde30fbfb1ba9b4d115

See more details on using hashes here.

File details

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

File metadata

  • Download URL: europarser-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 118.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for europarser-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 29de697df3e13e7489db98ce242883433db6bd9ca58d12dafe64921c524b37a4
MD5 571690128e63f048f489260936394e79
BLAKE2b-256 254b7431fdc789c635fb3ea506fd2efa574c1f518b120a93e5bb7788aa0fde1b

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