Name | xrayweb JSON |
Version |
2024.11.0
JSON |
| download |
home_page | None |
Summary | Web interface for X-ray Properties of the elements |
upload_time | 2024-11-02 16:41:03 |
maintainer | None |
docs_url | None |
author | Alex Nicolellis |
requires_python | >=3.9 |
license | MIT License Copyright (c) 2020 Alex Nicolellis and Matthew Newville Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
x-ray spectroscopy
physics
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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
Raw data
{
"_id": null,
"home_page": null,
"name": "xrayweb",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "X-ray spectroscopy, Physics",
"author": "Alex Nicolellis",
"author_email": "Matthew Newville <newville@cars.uchicago.edu>",
"download_url": "https://files.pythonhosted.org/packages/09/17/1662b029792531ad8c0ac403ccaecb85325a993c6843c37637018b3d5b12/xrayweb-2024.11.0.tar.gz",
"platform": null,
"description": "# xrayweb\nWeb interface for X-ray properties of the elements,\nusing https://github.com/xraypy/XrayDB,\nPython, Flask, and Plotly.\n\nExisting versions of this wep application are running at\n\n https://seescience.org/xraydb and at\n https://xraydb.xrayabsorption.org\n\n\n## install\n\nXrayWeb requires Python 3.9 or higher\n\nTo install this code, use\n\n\n > pip install xrayweb\n\nTo run a local version of this web application, run the script \"run.py\" with\n\n > python run.py\n\nwill launch a local web server with the app running at http://127.0.0.1:4966/\n\n\n## deploying with Apache and WSGI\n\nTo deploy this web application with Apache, you will need to install `mod_wsgi`\n(for Python3) for your instance of Apache. You will also have create a wsgi\npython script that can be run by the web server.\n\nFor examplle, you may make a folder `/var/www/xraydb` and place in the file\n`xraydb.wsgi`, containing\n\n #!/uar/bin/python\n # file /var/www/xraydb/xraydb.wsgi\n from xrayweb import app as application\n\n\nThen, you will need to load the wsgi module in your Apache configuration, with\n\n\n # make sure wsgi module is loaded\n <IfModule !wsgi_module>\n LoadModule wsgi_module modules/mod_wsgi_python3.so\n </IfModule>\n\n # define /xraydb URL\n WSGIDaemonProcess xraydb user=apache group=apache threads=5\n WSGIScriptAlias /xraydb /var/www/xraydb/xraydb.wsgi\n <Directory /var/www/xraydb>\n WSGIProcessGroup xraydb\n WSGIApplicationGroup %{GLOBAL}\n Options all\n Require all granted\n </Directory>\n\nRestarting apache, the script should run on your web server at\nhttps://example.com/xraydb\n",
"bugtrack_url": null,
"license": "MIT License Copyright (c) 2020 Alex Nicolellis and Matthew Newville Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
"summary": "Web interface for X-ray Properties of the elements",
"version": "2024.11.0",
"project_urls": {
"Documentation": "https://github.com/xraypy/xrayweb",
"Homepage": "https://github.com/xraypy/xrayweb",
"Tracker": "https://github.com/xraypy/xrayweb/issues"
},
"split_keywords": [
"x-ray spectroscopy",
" physics"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "20d5c04540cc7833be417d3f953828cf02feeca9a53dbdfd1af1f4fd1123435d",
"md5": "630854aadc169d7a87b9073867e6126f",
"sha256": "4665707f8cf0ac9b50785f1004351c95e9cdd503c5e3d4e2904626b1537a0d98"
},
"downloads": -1,
"filename": "xrayweb-2024.11.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "630854aadc169d7a87b9073867e6126f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 1135580,
"upload_time": "2024-11-02T16:41:01",
"upload_time_iso_8601": "2024-11-02T16:41:01.225348Z",
"url": "https://files.pythonhosted.org/packages/20/d5/c04540cc7833be417d3f953828cf02feeca9a53dbdfd1af1f4fd1123435d/xrayweb-2024.11.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "09171662b029792531ad8c0ac403ccaecb85325a993c6843c37637018b3d5b12",
"md5": "28d76817c36f7cce3626e939fbf6dd60",
"sha256": "8c72b2d7bcc69f8240f00059dbf97f0f3ff25db6822cba66ab8e88fd4f2ee5ab"
},
"downloads": -1,
"filename": "xrayweb-2024.11.0.tar.gz",
"has_sig": false,
"md5_digest": "28d76817c36f7cce3626e939fbf6dd60",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 1129092,
"upload_time": "2024-11-02T16:41:03",
"upload_time_iso_8601": "2024-11-02T16:41:03.433215Z",
"url": "https://files.pythonhosted.org/packages/09/17/1662b029792531ad8c0ac403ccaecb85325a993c6843c37637018b3d5b12/xrayweb-2024.11.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-02 16:41:03",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "xraypy",
"github_project": "xrayweb",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "xrayweb"
}