$npx skillfedfor your agent

xraydb

calculations with XrayDB: reference data for X-ray interactions with matter

Worth itPyPI Scientific/EngineeringReleased Jul 202573.7K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — xraydb-4.5.8-py3-none-any.whl
v4.5.8 · released 2025-07-18 · Python >=3.9 · 4 runtime deps: numpy, scipy, sqlalchemy, platformdirs

Yes. XrayDB is production-stable, actively maintained, carries no known vulnerabilities, and installs with low friction. If you work with X-ray data or need reliable reference properties for X-ray physics calculations, it is a solid choice. The MIT license and Public Domain data pose no restrictions.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction installation with a pure-Python wheel.
  • Maintenance is active with recent commits and stable production status across modern Python versions (3.9–3.13, including PyPy).

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use, modify, and distribute the package with minimal restrictions. The underlying data is in the Public Domain.

last release 2025-07-18 (392 days) · last repo commit 2026-06-06 · 77 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 73,728 downloads/mo, #14,941 on PyPI

Verify before relying

pip install xraydb
import xraydb
db = xraydb.XrayDB()
mu = db.mu_chantler('Fe', 10.0)  # mass absorption coefficient for Fe at 10 keV
  • Whether the SQLite database is downloaded automatically on first use or requires manual setup.
  • Performance characteristics for large-scale queries or real-time applications.
  • Completeness and accuracy of anomalous scattering factors relative to published literature.
Same gist for agents: .md · .json

What it is and what it does

XrayDB is a Python library that wraps a SQLite database of X-ray reference data—absorption coefficients, scattering factors, fluorescence yields, and other physical properties—compiled from sources including the Elam Tables and refined anomalous scattering data. It lets you query X-ray properties of elements and compounds programmatically, supporting calculations in X-ray spectroscopy, diffraction, and absorption studies.

The package depends on numpy, scipy, sqlalchemy, and platformdirs, making it a lightweight addition to a scientific Python stack. It targets researchers and engineers working in materials science, synchrotron beamline software, and X-ray physics who need reliable reference data without building their own database.

Use it for

  • Calculate mass absorption coefficients for X-ray absorption spectroscopy (XAS) data reduction.
  • Look up anomalous scattering factors for X-ray crystallography structure refinement.
  • Query fluorescence yields and line energies for X-ray fluorescence (XRF) analysis.
  • Build element-property tables for synchrotron beamline control and data processing software.
  • Validate X-ray interaction models in simulation and modeling workflows.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

XrayDB is production-stable, actively maintained, carries no known vulnerabilities, and installs with low friction. If you work with X-ray data or need reliable reference properties for X-ray physics calculations, it is a solid choice. The MIT license and Public Domain data pose no restrictions.

Install

xraydb on PyPI

Before you install

Low friction installation with a pure-Python wheel. Maintenance is active with recent commits and stable production status across modern Python versions (3.9–3.13, including PyPy).

License in practice

MIT license is permissive; you can use, modify, and distribute the package with minimal restrictions. The underlying data is in the Public Domain.

Quickstart

pip install xraydb
import xraydb
db = xraydb.XrayDB()
mu = db.mu_chantler('Fe', 10.0)  # mass absorption coefficient for Fe at 10 keV

Verify before relying

  • Whether the SQLite database is downloaded automatically on first use or requires manual setup.
  • Performance characteristics for large-scale queries or real-time applications.
  • Completeness and accuracy of anomalous scattering factors relative to published literature.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
numpyscipysqlalchemyplatformdirs
MaintenanceActively maintained 392 days since the last release
Last repo commit
First released
Downloads73,728 / month, #14,941 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: PyPy

Evidence: xraydb-4.5.8-py3-none-any.whl

Tags

Capabilities
x-ray reference datax-ray absorption calculationsx-ray scattering factorsx-ray physics databaseanomalous scattering datax-ray element propertiesx-ray matter interactions
Topics
x-ray-physicsreference-datamaterials-science
PyPI keywords
X-rayPhysics

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “x-ray reference data”

  • xraydbXrayDB provides a Python interface to a SQLite database of X-ray…
  • periodictableProvides a periodic table of the elements with computed properties…
  • opentelemetry-propagator-aws-xrayInjects and extracts AWS X-Ray tracing context into OpenTelemetry…

Give your agent the search over MCP, or paste the wish link into any chat.

More Scientific/Engineering packages

numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
pandas Worth it
PyPI · Scientific/Engineering · released Jul 2026

pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.

BSD-3-Clausecompiled wheel · 3.11+
769.1Mdownloads / mo
scipy Worth it
PyPI · Libraries · released Jun 2026

scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.

BSD-3-Clausecompiled wheel · 3.12+
449.0Mdownloads / mo
scikit-learn Worth it
PyPI · Software Development · released Jun 2026

scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.

Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.

BSD-3-Clausecompiled wheel · 3.11+
235.5Mdownloads / mo
dill Worth it
PyPI · Software Development · released Jan 2026

dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.

BSD-3-Clausepure Python · 3.9+
208.1Mdownloads / mo
multiprocess Worth it
PyPI · Software Development · released Jan 2026

Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.

Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.

BSD-3-Clausepure Python · 3.9+
202.7Mdownloads / mo

See also periodictable · mendeleev · pyxtal · aiosqlite · sqlitedict · pysqlite3-binary · symfc · pysqlite3 · sqlite-anyio · fabio