xrayweb
Web interface for X-ray properties of the elements, using https://github.com/xraypy/XrayDB, Python, Flask, and Plotly.
Existing versions of this wep application are running at
https://seescience.org/xraydb and at https://xraydb.xrayabsorption.org
install
XrayWeb requires Python 3.9 or higher
To install this code, use
> pip install xrayweb
To run a local version of this web application, run the script "run.py" with
> python run.py
will launch a local web server with the app running at http://127.0.0.1:4966/
deploying with Apache and WSGI
To deploy this web application with Apache, you will need to install mod_wsgi
(for Python3) for your instance of Apache. You will also have create a wsgi
python script that can be run by the web server.
For examplle, you may make a folder /var/www/xraydb and place in the file
xraydb.wsgi, containing
#!/uar/bin/python
# file /var/www/xraydb/xraydb.wsgi
from xrayweb import app as application
Then, you will need to load the wsgi module in your Apache configuration, with
# make sure wsgi module is loaded
<IfModule !wsgi_module>
LoadModule wsgi_module modules/mod_wsgi_python3.so
</IfModule>
# define /xraydb URL
WSGIDaemonProcess xraydb user=apache group=apache threads=5
WSGIScriptAlias /xraydb /var/www/xraydb/xraydb.wsgi
<Directory /var/www/xraydb>
WSGIProcessGroup xraydb
WSGIApplicationGroup %{GLOBAL}
Options all
Require all granted
</Directory>
Restarting apache, the script should run on your web server at https://example.com/xraydb
Metadata
Release files for xrayweb 2024.11.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| xrayweb-2024.11.0.tar.gz | 1.1 MB | Without provenance | Details for xrayweb-2024.11.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xrayweb-2024.11.0-py3-none-any.whl | Python 3 | none | any | Details for xrayweb-2024.11.0-py3-none-any.whl |
Total release size: 2.3 MB
Release files / xrayweb-2024.11.0.tar.gz
| Download URL | xrayweb-2024.11.0.tar.gz |
|---|---|
| Size | 1.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8c72b2d7bcc69f8240f00059dbf97f0f3ff25db6822cba66ab8e88fd4f2ee5ab
|
|
BLAKE2b-256 checksum How to use checksums |
09171662b029792531ad8c0ac403ccaecb85325a993c6843c37637018b3d5b12
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.5
|
Release files / xrayweb-2024.11.0-py3-none-any.whl
| Download URL | xrayweb-2024.11.0-py3-none-any.whl |
|---|---|
| Size | 1.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4665707f8cf0ac9b50785f1004351c95e9cdd503c5e3d4e2904626b1537a0d98
|
|
BLAKE2b-256 checksum How to use checksums |
20d5c04540cc7833be417d3f953828cf02feeca9a53dbdfd1af1f4fd1123435d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.5
|
Security for xrayweb 2024.11.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.