Skip to main content

Python Tools for the Fortnet Software Package

Project description

*************************************************************
fortnet-python: Python Tools for the Fortnet Software Package
*************************************************************

|license|
|latest version|
|doi|
|issues|

fortnet-python provides tools to generate compatible datasets as well as extract
results obtained by the neural network implementation
`Fortnet <https://github.com/vanderhe/fortnet>`_.

|logo|

Installation
============

Please note, that this package has been tested for Python 3.X support. Its usage
additionally requires

- `numerical Python <https://numpy.org/doc/stable/reference/>`_ (`numpy`)
- `pythonic HDF5 <http://www.h5py.org/>`_ (`h5py`)
- `Atomic Simulation Environment <https://wiki.fysik.dtu.dk/ase/>`_ (`ase`)

as well as the `pytest` framework in order to run the regression tests.

Via the Python Package Index
----------------------------

First, make sure you have an up-to-date version of pip installed::

python -m pip install --upgrade pip

The package can be downloaded and installed via pip into the active Python
interpreter (preferably using a virtual python environment) by ::

pip install fortnet-python

or into the user space issueing::

pip install --user fortnet-python

Locally from Source
-------------------

Alternatively, you can install it locally from source, i.e. from the root folder
of the project::

python -m pip install .

Testing
=======

The regression testsuite utilizes the `pytest` framework and may be executed by
::

python -m pytest --basetemp=Testing

Documentation
=============

|docs status|

Consult following resources for documentation:

* `Step-by-step instructions with selected examples (Fortnet Recipes)
<https://fortnet.readthedocs.io/en/latest/fortformat/index.html>`_

Contributing
============

New features, bug fixes, documentation, tutorial examples and code testing is
welcome during the ongoing fortnet-python development!

The project is
`hosted on github <https://github.com/vanderhe/fortnet-python/>`_.
Please check `CONTRIBUTING.rst <CONTRIBUTING.rst>`_ for guide lines.

I am looking forward to your pull request!

License
=======

fortnet-python is released under the BSD 2-clause license. See the included
`LICENSE <LICENSE>`_ file for the detailed licensing conditions.

.. |logo| image:: ./utils/art/logo.svg
:alt: Fortnet logo
:width: 90
:target: https://github.com/vanderhe/fortnet/

.. |license| image:: https://img.shields.io/github/license/vanderhe/fortnet-python
:alt: BSD-2-Clause
:scale: 100%
:target: https://opensource.org/licenses/BSD-2-Clause

.. |latest version| image:: https://img.shields.io/github/v/release/vanderhe/fortnet-python
:target: https://github.com/vanderhe/fortnet-python/releases/latest

.. |doi| image:: https://zenodo.org/badge/356394988.svg
:target: https://zenodo.org/badge/latestdoi/356394988

.. |docs status| image:: https://readthedocs.org/projects/fortnet/badge/?version=latest
:alt: Documentation Status
:scale: 100%
:target: https://fortnet-python.readthedocs.io/en/latest/

.. |issues| image:: https://img.shields.io/github/issues/vanderhe/fortnet-python.svg
:target: https://github.com/vanderhe/fortnet-python/issues/

.. |build status| image:: https://img.shields.io/github/workflow/status/vanderhe/fortnet-python/CI
:target: https://github.com/vanderhe/fortnet-python/actions/


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fortnet-python-0.4.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fortnet_python-0.4-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file fortnet-python-0.4.tar.gz.

File metadata

  • Download URL: fortnet-python-0.4.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for fortnet-python-0.4.tar.gz
Algorithm Hash digest
SHA256 38d47763ec7980c4d0c89573fb99eb769b250b19019b1b282ff99b2ea59b9241
MD5 00c666767f8781f8b66fc358a5e93b25
BLAKE2b-256 54cfea1a5b8c3c1a90c8279c1f6403356fbbf5fd3dc4c8c92ef28234b9549374

See more details on using hashes here.

File details

Details for the file fortnet_python-0.4-py3-none-any.whl.

File metadata

  • Download URL: fortnet_python-0.4-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for fortnet_python-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4a4a7009319ea4c9c84fcc98d8d2521b3ca66ec145d3918c288cdf133e3b37dc
MD5 bba9c1b7abeb5be30d48002008aa2102
BLAKE2b-256 2d2083ecbb15e05259a2cf4e5cc7a61d0416bc88b0516e9079d51cd320c01db8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page