Skip to main content

Utility functions for the Impact and Fiction project

Project description

impfic-core

GitHub Actions Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public. PyPI PyPI - Python Version

Core code base for common functionalities

Installing

pip install impfic-core

For review anonymisation you need a salt hash in a file called impfic_core/secrets.py. The repository doesn't contain this file to ensure other cannot recreate the user ID mapping. An example file is available as impfic_core/secrets_example.py. Copy this file to impfic_core/secrets.py and update the salt hash to do your own user ID mapping.

Usage

To use utilities for external resources such as the RBN, you need to point to your copy of those resources in the settings (settings.py). Once you have done that, you can use them with:

from settings import rbn_file
from impfic_core.resources.rbn import RBN

rbn = RBN(rbn_file)

rbn.has_term('aanbiddelijk') # returns True

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

impfic_core-0.2.0.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

impfic_core-0.2.0-py3-none-any.whl (21.6 kB view details)

Uploaded Python 3

File details

Details for the file impfic_core-0.2.0.tar.gz.

File metadata

  • Download URL: impfic_core-0.2.0.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for impfic_core-0.2.0.tar.gz
Algorithm Hash digest
SHA256 1af4989bc9e4ffccbccbf2ee46f735d37af7273cd06c758c1e31d81ecabcd8c1
MD5 dd3a95c500ba790715c9ab8148ce3fad
BLAKE2b-256 75da06993990aca4302a4b3d30fb562d4f8439ed9bb9ca6e9cadb98c03456175

See more details on using hashes here.

Provenance

File details

Details for the file impfic_core-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: impfic_core-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 21.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for impfic_core-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 69b16b1c5d8c679ac83824ec5f1762b36a7f3ddb55cd3a386f3bdeb574263397
MD5 6a68a35977af868ce9e0c6b35f024419
BLAKE2b-256 a21630cd977cbec369f05397649f4611be4bc284eb5c8ea23040b4cb4a0f9e01

See more details on using hashes here.

Provenance

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