Skip to main content

Thin loader for the Vallydia Ingredient-Evidence Register: evidence-graded cosmetic & research ingredients as pandas DataFrames.

Project description

vallydia-register

A thin Python loader for the Vallydia Ingredient-Evidence Register — an evidence-graded open dataset of cosmetic and research ingredients. Every table comes back as a pandas DataFrame.

pip install vallydia-register
from vallydia_register import load_compounds, load_grades, load_citations

compounds = load_compounds()          # 85 rows
grades    = load_grades()             # 456 per-outcome rows

# every A-graded outcome, with the compound it belongs to
best = grades[grades.grade == "A"].merge(compounds[["slug", "name"]], on="slug")

# citations with scholarly cross-links (OpenAlex / Semantic Scholar)
cites = load_citations(enriched=True)

Loaders

Function Rows Notes
load_compounds() 85 flat core + pipe-joined lists
load_grades() 456 per outcome; grade may be null (safety/penetration rows)
load_legal_status() 132 per region
load_citations(enriched=False) 117 DOI provenance; enriched=True adds OpenAlex/S2 cross-links
load_cosmetic_claims() 246 permitted / forbidden wordings
load_identifiers() 85 CAS/CID/InChIKey/SMILES with confidence; blanks are honest

Where the data comes from

By default the loader fetches the published parquet from GitHub raw and caches it under your user cache dir. Options:

load_compounds(source="hf")                       # Hugging Face mirror instead of GitHub
load_compounds(source="/path/to/checkout/data")   # a local checkout, fully offline
load_compounds(use_cache=False)                    # always re-fetch

or set VALLYDIA_REGISTER_DATA=/path/to/data in the environment.

Attribution

Data: Vallydia Ingredient-Evidence Register (https://vallydia.com), CC-BY-4.0. Any use — including in derived datasets or model training — must attribute Vallydia. Appearance/evidence reference only; not medical advice.

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

vallydia_register-1.1.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

vallydia_register-1.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file vallydia_register-1.1.0.tar.gz.

File metadata

  • Download URL: vallydia_register-1.1.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for vallydia_register-1.1.0.tar.gz
Algorithm Hash digest
SHA256 1675e59f60a5dc5ad23561a1470fe8bca171baeef5d551d5d20b5882782e3617
MD5 fc107213a3dc0515fa9fb9882fbc7b59
BLAKE2b-256 077a42302493155f052508ca47266ceb1cf79fbc479c80f9a1f7fb487602ce5d

See more details on using hashes here.

Provenance

The following attestation bundles were made for vallydia_register-1.1.0.tar.gz:

Publisher: publish.yml on yamius/ingredient-evidence-register

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vallydia_register-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for vallydia_register-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 13b93d72bac27fefd3b75560f4dd19aa6b711fb9012d544ae5046acf589a0c7b
MD5 5224d250f681899e6945675369fbb6dd
BLAKE2b-256 2f1db5ecf06ce5b13f2c8fc78ef62e024a982b83c0e857dba1721e7717f88333

See more details on using hashes here.

Provenance

The following attestation bundles were made for vallydia_register-1.1.0-py3-none-any.whl:

Publisher: publish.yml on yamius/ingredient-evidence-register

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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