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

Uploaded Source

Built Distribution

impfic_core-0.3.0-py3-none-any.whl (24.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: impfic_core-0.3.0.tar.gz
  • Upload date:
  • Size: 21.2 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.3.0.tar.gz
Algorithm Hash digest
SHA256 b362ee8c408bdbe9c907a98e167d15995b04fcf6e5a9426539051ab012a9a851
MD5 bcdcff2c376e5a3c5f922a759fa79c04
BLAKE2b-256 fb19a93a3275ff89f155c533bdaa33a3a3ffcf4f4096f06d99260de4e0c79eb3

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: impfic_core-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 24.7 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 087a8088098785f476343a27612aa7c3477d535f0976b61805929793f9a01c68
MD5 73c52e3de84cc5f6135fa58703eb0b9f
BLAKE2b-256 9e34bd4b6127c392a63fe75572545fdf6f1adbc71b333281fc9da40c29d62461

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