Skip to main content

A Python package for processing research data and CVLaC information

Project description

autofillcvlac

A Python package for processing research data and CVLaC (Curriculum Vitae de Latinoamérica y el Caribe) information.

Installation

pip install autofillcvlac

Usage

from autofillcvlac import flatten, authenticate_cvlac
from autofillcvlac.core import get_research_products, filter_products_by_year, create_products_dataframe

# Flatten a list of lists
nested_list = [[1, 2], [3, 4], [5]]
flat_list = flatten(nested_list)
print(flat_list)  # [1, 2, 3, 4, 5]

# Authenticate with CVLaC system
auth_result = authenticate_cvlac('Colombian', 'John Doe', '12345678', 'your_password')
if auth_result['status'] == 'success':
    print("Authentication successful!")
else:
    print(f"Authentication failed: {auth_result['message']}")

# Authenticate with CVLaC system for foreign nationality
auth_result = authenticate_cvlac('Extranjero - otra', 'John Doe', '12345678', 'your_password', 'Estados Unidos')
if auth_result['status'] == 'success':
    print("Authentication successful!")
else:
    print(f"Authentication failed: {auth_result['message']}")

# Get research products from API
response = get_research_products('67dc9885444bab3c3f1a7df2')
if response.status_code == 200:
    products = response.json().get('data', [])
    
    # Filter products by year
    filtered_products = filter_products_by_year(products, 2002)
    
    # Create DataFrame for analysis
    df = create_products_dataframe(filtered_products)
    print(df.head())

Features

  • Fetch research products from the Impactu API
  • Filter products by publication year and source
  • Convert research data to pandas DataFrames for analysis
  • Extract citation counts from multiple sources (OpenAlex, Scholar)
  • Process author information and external IDs
  • Authenticate with CVLaC (Curriculum Vitae de Latinoamérica y el Caribe) system using web automation

Development

This package is built from research workflows originally developed in Jupyter notebooks for analyzing academic publication data from Latin American and Caribbean researchers.

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

autofillcvlac-0.1.6.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autofillcvlac-0.1.6-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file autofillcvlac-0.1.6.tar.gz.

File metadata

  • Download URL: autofillcvlac-0.1.6.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for autofillcvlac-0.1.6.tar.gz
Algorithm Hash digest
SHA256 00fae0d902edc2107a476b9bfa5bdd06bb99ab79cbeb37de54cd6b95d51e7f02
MD5 afe8dd58972459dc1e67b730cf684d53
BLAKE2b-256 0647f5f193a5bfe88f94c5d836a4a2986e43217145daa1407bf6de82721a0237

See more details on using hashes here.

File details

Details for the file autofillcvlac-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: autofillcvlac-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for autofillcvlac-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 b16124f4895b575f497db7b47678d5429856a99909b2d0be67d950b1ee62be26
MD5 c897c0051c2058b9400eaedf056abfbc
BLAKE2b-256 b8fa5766983be1135d1b8801c963062a79d2ed5e58d8d802039d862376be8afb

See more details on using hashes here.

Supported by

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