Skip to main content

tesci

An interactive toolkit for merging data from multiple citation databases

PyPI License-1 License-2 Python-Versions

Overview

TeslaSCIToolkit (abbrev. tesci) is a scientific mapping tool that comes with the following features:

  1. Merging data from multiple citation databases
  2. Restricting access to sensitive columns in data sources with aggregations
  3. Exporting transformed data into other repositories
  4. CI/CD integration, currently GitHub Actions

For examples and use-cases, see examples directory.

Quickstart

Aggregating data from a single database source

To create an aggregation of simple.csv based on average salary and age.

1. Interactive approach

tesci start -d simple.csv -o exported.csv​
tesci aggregate avg -c salary -a avg_salary​
tesci aggregate avg -c age -a avg_age​
tesci apply​

2. Configuration approach

aggregate:​
  - alias: avg_salary​
    column: salary​
    function: avg​
  - alias: avg_age​
    column: age​
    function: avg​
data:​
  dest: exported.csv​
  src: simple.csv

The result is a transformation from simple.csv to exported.csv:

idnameemailphone-numberagesalary
1John Doejohn@mail.com123456789033100000
2Jane Doejane@mail.com098765432144200000
3John Smithsmith@mail.com123450987655300000
4Jane Williamsjwilliams@mail.com12345098763198000
5Jack Miller12345098763379000
→
avg_salaryavg_age
155400.039.2

Merging data from multiple citation databases

After retrieving data sources from citation databases of your choice, place the databases in a directory of your choice. Then, specify the configuration used for merging. An example of a configuration is here.

After specifying your configuration choices, merge can then by run with:

tesci similarity merge --first-src PATH --second-src PATH --dest DIR

where PATH and DIR refer to relative filesystem paths and directories.

License

Licensed under either of Apache License, Version 2.0 or MIT license.

Metadata

Release files for tesci 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tesci 1.0.1
File Size Uploaded
tesci-1.0.1.tar.gz 18.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tesci 1.0.1
File Interpreter ABI Platform
tesci-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 39.4 kB

Release files / tesci-1.0.1.tar.gz

Download URL tesci-1.0.1.tar.gz
Size 18.4 kB
Tags Source
SHA-256 checksum
How to use checksums
48b715c0783affc73185f8560f32452a6f415431c5a755d8faacb1412e72b2ef
BLAKE2b-256 checksum
How to use checksums
6f0749ac64a1159c0c4a0c7a5ba5d190500353b02a822d01ac8d5efa2aedce5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.1

Release files / tesci-1.0.1-py3-none-any.whl

Download URL tesci-1.0.1-py3-none-any.whl
Size 21.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a94309f59901ac80052f787c125ef7a4524c652adcc3cd06191b340b75346874
BLAKE2b-256 checksum
How to use checksums
9b60eacc655c51f8310c1694edb46178d34cbd61fc24bdc7f35d1216b9f8480a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.1

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page