Skip to main content

a database for published electrochemical data inferred from SVG and raw CSV files.

Project description

Electrochemistry-data

This repository contains data used for the creation of entries on echemdb.org. The data consist of frictionless based unitpackages, which were creared from SVG, YAML and bibtex (BIB) using svgdigitizer. All input YAML files and output DataPackages are validated against the echemdb-metadata schema.

Accessing Data

Direct Download (Release Section)

The data can be downloaded as a ZIP from the release section.

Unitpackage API

A collection can be created from the the echemdb module of the unitpackages interface (see unitpackages installation instructions).

from unitpackage.database.echemdb import Echemdb
db = Echemdb.from_remote()

Electrochemistry Data API

Install the latest version of the module.

pip install git+https://github.com/echemdb/electrochemistry-data.git

In your preferred Python environment retrieve the URL with the data via

from echemdb_ecdata.url import ECHEMDB_DATABASE_URL
ECHEMDB_DATABASE_URL

Contributing

The preparation and of the files and the extraction of the data from a PDF source is described here.

Development

If you want to work on the data and repository itself, install pixi and clone the repository:

git clone https://github.com/echemdb/electrochemistry-data.git
cd electrochemistry-data

For possible commands run

pixi run

More pixi tasks can be inferred from the pyproject.toml.

Conversion

The repository converts source data into standardized frictionless datapackages:

# Convert all data (SVG digitizer + raw data)
pixi run -e dev convert

# Convert only SVG digitizer data (from literature/svgdigitizer/)
pixi run -e dev convert-svg

# Convert only raw data (from literature/source_data/)
pixi run -e dev convert-raw

# Clean generated data before converting
pixi run -e dev clean-data

A typical workflow:

# Clean previous builds and convert all data
pixi run -e dev clean-data && pixi run -e dev convert

Generated datapackages are written to data/generated/svgdigitizer/ and data/generated/source_data/.

Validation

All data (input YAML and output JSON) is validated against the echemdb-metadata schema.

# Validate input YAML files before conversion
pixi run -e dev validate-input

# Validate generated JSON datapackages after conversion
pixi run -e dev validate-generated

Each validation command shows verbose output listing all validated files. You can also validate specific parts:

# Individual input validation
pixi run -e dev validate-svgdigitizer-yaml  # SVG digitizer YAML files
pixi run -e dev validate-source-yaml        # Raw data YAML files

# Individual output validation
pixi run -e dev validate-svgdigitizer       # Generated SVG digitizer JSON
pixi run -e dev validate-raw                # Generated raw data JSON

Validate against a specific schema version:

pixi run -e dev validate-input --version tags/0.3.3
pixi run -e dev validate-generated --version head/my-branch

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

echemdb_ecdata-0.6.0.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

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

echemdb_ecdata-0.6.0-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

Details for the file echemdb_ecdata-0.6.0.tar.gz.

File metadata

  • Download URL: echemdb_ecdata-0.6.0.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for echemdb_ecdata-0.6.0.tar.gz
Algorithm Hash digest
SHA256 90bfd9f1e817304350daed0b520167466cfe12ad17281f6f4d5c8834c7b42cec
MD5 0460b87bfd5c70440b4370dddd2d974c
BLAKE2b-256 842896e1d775043195cb2c4017d06616282c6ec798f38f16578e4aec71353a03

See more details on using hashes here.

File details

Details for the file echemdb_ecdata-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: echemdb_ecdata-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 19.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for echemdb_ecdata-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 99641d05677c160a41ec10aa5ef4abcdf094300b43202620b8d251a54c1392f8
MD5 4d3790134590fc4cf3f8664aa5e46d8d
BLAKE2b-256 a0272d989ecfe26dddd66f66ed70474397d30e0165e6cb05c9c92b38ae9c04c6

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