Skip to main content

Utils for Kahi Impactu project.

Project description

Kahi impactu utils

KAHI is a powerful ETL (Extract, Transform, Load) application designed to construct an academic database by merging databases and files from various sources. It simplifies the database construction process by offering a framework to define a workflow of sequential tasks using a plugin system that KAHI understands.

Kahi impactu utils is a package that contains a set of utils required for multiple plugins to work. This package provide utils such as: name processing, laguage detection, data schemas for works, affiliations, persons, etc.

Installation

To install Kahi impactu utils, follow these simple steps:

  1. Make sure you have Python installed on your system.
  2. Open a terminal or command prompt.
  3. Run the following command:
pip install kahi_impactu_utils

Usage

Split names example

from kahi_impactu_utils.Utils import split_names

name = "John Doe"
names = split_names(name)
print(names) ## {'names': ['John'], 'surenames': ['Doe'], 'initials': ['J.']}

Detect language example

from kahi_impactu_utils.Utils import lang_poll
print(lang_poll("Alguna frase en español")) ## returns "es"

Process DOIs example

from kahi_impactu_utils.Utils import doi_processor
doi = doi_processor("https://doi.org/10.1007/S11192-020-03647-4")
print(doi) ## returns "10.1007/s11192-020-03647-4"

Check date format example

from kahi_impactu_utils.Utils import check_date_format
date = "2020-01-01"
print(check_date_format(date)) ## returns 1577854800  (UTC-5) for this date

License

BSD-3-Clause License

Links

http://colav.udea.edu.co/

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

kahi_impactu_utils-0.1.5.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

Kahi_impactu_utils-0.1.5-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file kahi_impactu_utils-0.1.5.tar.gz.

File metadata

  • Download URL: kahi_impactu_utils-0.1.5.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for kahi_impactu_utils-0.1.5.tar.gz
Algorithm Hash digest
SHA256 bf5fc29f19d561b1e318708c9f0777132725b90a59de60aa17c5ef83b3597369
MD5 4d243afed5e7c9e5b78b9e43457f9f90
BLAKE2b-256 c85f18ffe707e3548187623861426c45b457613489b812c9820b95ea31345fcb

See more details on using hashes here.

File details

Details for the file Kahi_impactu_utils-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for Kahi_impactu_utils-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9685cdb66cec808c24ae3267e84e1c9f646f25beacf336eca6e994c7e9de1dd7
MD5 6bd6d1fa145406d8901b289381e0d653
BLAKE2b-256 fc7bb851bd80cfdcd746122c722447cdb3179828a3dfd60900e13c9c2ee44640

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