Skip to main content

Package to encode and decode JSON files with the standard exchange format of the Federation International de Bureaux d'Extraits de Presse.

Project description

FIBEP-JSON-Interpreter

This is a simple interpreter for the FIBEP JSON Format. It includes both the methods to encode and decode Official FIBEP standard JSON format files. You can easily integrate into your own software by using the methods fibep_decode() which takes a json file as input and returns an Article class object, including the following attributes: Mandatory: provider, item_id, country_iso, language_iso, source_id, source_name, article_publication_timestamp, article_lead, article_text, article_source_channel

Optional: additional_content_list, content_url, contract_id, customer_id, profile_id, article_author, article_headline, matching_words_list

additional_content_list and matching_words_list are both list of dictionaries that can contain many dictionaries.In the case of additional_content_list, if it has base64 encoded elements, the library automatically decodes them and regenerates the original file per the standard.

You can try the programa directly in your cli using the following syntax: fibep_interpreter DIR -d FILETODECODE where DIR is the directory in wich the file is in (defaults to the directory in which the program is installed).

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

fibepjson-0.2.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

fibepjson-0.2-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file fibepjson-0.2.tar.gz.

File metadata

  • Download URL: fibepjson-0.2.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.4

File hashes

Hashes for fibepjson-0.2.tar.gz
Algorithm Hash digest
SHA256 da4a4d1562841e13fb18dbadfbd8587b1f755f837265005752901c8d680bc93f
MD5 76b7a47786aca1ebe3998068e6f901cc
BLAKE2b-256 bc674665d4eceb10e419ba58d97e85f84a1f53d229f96e92d861d42b33ed5e4f

See more details on using hashes here.

File details

Details for the file fibepjson-0.2-py3-none-any.whl.

File metadata

  • Download URL: fibepjson-0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.4

File hashes

Hashes for fibepjson-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 15a6fcdcd21500553e9dada5bf141b9487de00309e4a44c7f9b931193b56611c
MD5 19965e6502a55e6a0ef6631713a2c3c2
BLAKE2b-256 bae2fa5226a02277de0dc2cfcc0bfbf732038d397774e6aa7c9b3884a8dc696a

See more details on using hashes here.

Supported by

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