
Security News
npm ‘is’ Package Hijacked in Expanding Supply Chain Attack
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
|Build Status| |Coverage Status|
AFLOW
Python APIPython API wrapping the AFLUX API language for AFLOW library. Note:
This is not an official repo of the AFLOW consortium and is not
maintained by them. API Documentation <https://rosenbrockc.github.io/aflow/>
__.
If you use this package, please cite it:
::
@ARTICLE{2017arXiv171000813R, author = {{Rosenbrock}, C.~W.}, title = "{A Practical Python API for Querying AFLOWLIB}", journal = {ArXiv e-prints}, archivePrefix = "arXiv", eprint = {1710.00813}, primaryClass = "cs.DB", keywords = {Computer Science - Databases}, year = 2017, month = sep, adsurl = {http://adsabs.harvard.edu/abs/2017arXiv171000813R}, adsnote = {Provided by the SAO/NASA Astrophysics Data System} }
Install aflow
from the python package index:
::
pip install aflow
Or alternatively install aflow
from conda using:
::
conda install -c conda-forge aflow
Open an ipython notebook or terminal and execute the query from the paper:
.. code:: python
from aflow import *
result = search(batch_size=20 ).select(K.agl_thermal_conductivity_300K ).filter(K.Egap > 6).orderby(K.agl_thermal_conductivity_300K, True)
for entry in result: print(entry.Egap)
aflow
supports lazy evaluation. This means that if you didn’t ask
for a particular property during the initial query, you can just ask for
it later and the request will happen transparently in the background.
Although the package was originally designed to be compatible with both python 2 and python 3, python 2 has reached the end of its life. As such, we don’t guarantee anymore that it will work.
.. |Build Status| image:: https://travis-ci.org/rosenbrockc/aflow.svg?branch=master :target: https://travis-ci.org/rosenbrockc/aflow .. |Coverage Status| image:: https://coveralls.io/repos/github/rosenbrockc/aflow/badge.svg?branch=master :target: https://coveralls.io/github/rosenbrockc/aflow?branch=master
FAQs
Python API for searching AFLOW database.
We found that aflow demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
Security News
A critical flaw in the popular npm form-data package could allow HTTP parameter pollution, affecting millions of projects until patched versions are adopted.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.