Fully Agnostic Atomic Render Environment
FAARE is a pure-Python package for automated rendering of VASP structures on headless servers. Note that FAARE is designed for Linux Debian/Ubuntu and is not intended to work on other operating systems.
Installation
Installing Blender
FAARE is designed to operate with Blender LTS 3.6 and assumes Blender is installed in the /opt folder. Below, a brief set of instructions are provided to install Blender.
sudo apt install -y libxrender-dev libxxf86vm-dev libxfixes-dev libxi-dev libxkbcommon-dev libsm-dev
sudo mkdir /opt
cd /opt
sudo wget https://ftp.halifax.rwth-aachen.de/blender/release/Blender3.6/blender-3.6.7-linux-x64.tar.xz
sudo tar -xvf blender-3.6.7-linux-x64.tar.xz
sudo rm blender-3.6.7-linux-x64.tar.xz
PyPi
First, make sure the required dependencies are installed
sudo apt install python3-venv
Next, create a virtual environment (compliant with PEP668) and activate it.
python3 -m venv ~/.venv
source ~/.venv/bin/activate
Finally, install faare in your virtual environment. The installation script
will automatically download all dependencies.
pip install faare
Testing your installation
Create a new folder and place in the folder an OUTCAR file. Next, create a
run.py file that has the following contents
from faare import Faare
import os
def main():
ROOT = os.path.dirname(__file__)
faare = Faare()
faare.build_render(os.path.join(ROOT, 'OUTCAR'),
os.path.join(ROOT, 'manifest.json'))
faare.execute_render(os.path.join(ROOT, 'manifest.json'),
os.path.join(ROOT, 'render.png'),
os.path.join(ROOT, 'renderlog.txt'))
if __name__ == '__main__':
main()
Save the file and run it using python run.py. Three files should be written
in the folder:
render.png: The picture of your system.renderlog.txt: A log file on the rendering procedure.manifest.json: A manifest file containing all the Blender settings.
Updating your installation
Assuming you are logged into your Python virtual environment, run
pip install faare --upgrade
Manual
See: https://faare-inorganic-materials-chemistry-6980722ff50f253a4f45dd9bd22.pages.tue.nl/
Metadata
Release files for faare 0.4.1
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 |
|---|---|---|---|---|
| faare-0.4.1.tar.gz | 3.3 MB | Without provenance | Details for faare-0.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| faare-0.4.1-py3-none-any.whl | Python 3 | none | any | Details for faare-0.4.1-py3-none-any.whl |
Total release size: 3.4 MB
Release files / faare-0.4.1.tar.gz
| Download URL | faare-0.4.1.tar.gz |
|---|---|
| Size | 3.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b72d383e747f60f0a9d84e4dc651a3acea34b2b14df445acfd73c79f1130e17b
|
|
BLAKE2b-256 checksum How to use checksums |
1aba88369457ca3316705d364a4d5a85d3bf051400e39237640b8044aafdd0f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.11
|
Release files / faare-0.4.1-py3-none-any.whl
| Download URL | faare-0.4.1-py3-none-any.whl |
|---|---|
| Size | 28.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
168ce7c5cf9200a5afcd28e08a2a43ea2dd8c534e547fc0f80b7e5078f7ccec2
|
|
BLAKE2b-256 checksum How to use checksums |
a42db707e2d47183933f652939512c52d9acb7c10f9eaa27d601ab701d563fd4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.11
|
Security for faare 0.4.1
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.