-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from Baharis/package_optimisation
Package optimisation
- Loading branch information
Showing
13 changed files
with
98 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,30 @@ | ||
# hikari | ||
|
||
[](https://badge.fury.io/py/hikari-toolkit) | ||
[](https://pypi.org/project/hikari-toolkit/) | ||
[](https://www.python.org/downloads/release/python-3615/) | ||
[](https://codecov.io/gh/Baharis/hikari) | ||
[](https://www.codefactor.io/repository/github/baharis/hikari) | ||
[](https://hikari.readthedocs.io/en/stable/?badge=stable) | ||
[](https://github.com/Baharis/hikari/actions/workflows/codecov.yml) | ||
|
||
hikari is a simple Python3.6+ package for manipulating basic crystallographic | ||
files: mainly .hkl, but also .res, .cif and, by extension, .fcf. | ||
hikari is a simple Python3.6+ package intended for manipulating and running | ||
scripts on basic crystallographic files: | ||
.hkl, .fcf, .cif, and to some extent .res and .lst. | ||
|
||
The following section contains brief explanation of how to install | ||
and use hikari. For full description please see the documentation. | ||
The following section contains a brief explanation of how to install | ||
and use hikari. For a full description please see | ||
[the documentation](https://hikari.readthedocs.io/en/stable/?badge=stable). | ||
|
||
## Getting started | ||
|
||
Hikari is registered in PyPI under the name `hikari-toolkit`. | ||
In order to start working with the package, simply install it using: | ||
In order to start working with the package, install it using: | ||
|
||
$ pip install hikari-toolkit | ||
|
||
Since it runs on python version 3.6 or newer and requires specific versions | ||
of some popular packages such as numpy, you might be interested in | ||
using hikari in a virtual environment, which might be created using: | ||
Since it runs on Python 3.6+ and requires specific versions of some popular | ||
packages such as `numpy`, you might be interested in using hikari | ||
in a virtual environment. On Linux, it can be created using `virtualenvwrapper`: | ||
|
||
$ mkvirtualenv -p /usr/bin/python3.6 hikari-venv | ||
|
||
|
@@ -30,20 +33,27 @@ the package should be available in the namespace via `import hikari`. | |
|
||
## Usage | ||
|
||
For the sake of usage, hikari is essencially divided into a few sub-modules, | ||
For the sake of usage, hikari is essentially divided into a few sub-modules, | ||
including dataframes, symmetry, utility, and scripts. | ||
Dataframes contain object responsible for basic manipulation of files, | ||
for example the `hikari.dataframes.CifFrame` is responsible for | ||
Dataframes contain objects responsible for basic manipulation of files, | ||
for example, the `hikari.dataframes.CifFrame` is responsible for | ||
reading, modifying and writing the Crystal Information Files. | ||
Scripts, on the other hands, contain ready to use sets of dataframe | ||
instructions and aim to solve a complete problem, like reformatting the file | ||
or evaluating data completeness in certain experiment. | ||
In the majority of cases, you should be more interested in the latter. | ||
Scripts, on the other hand, contain ready to use sets of dataframe | ||
instructions and aim to solve certain problems, like reformatting the file | ||
or evaluating data completeness in an experiment. In the majority of cases, | ||
you will be most likely more interested in the latter. | ||
|
||
## Author | ||
|
||
This software is made by Daniel Tchoń, [email protected], and distributed | ||
under MIT license. Dr hab. Anna Makal and prof. dr hab. Krzysztof Woźniak are | ||
This software is made by | ||
[Daniel Tchoń](https://www.researchgate.net/profile/Daniel-Tchon), | ||
and distributed under an MIT license. It is in constant development and all | ||
tips, suggestions, or contributions are welcome and can be sent | ||
[here](mailto:[email protected]). | ||
If you have utilised `hikari` in academic work, please consider citing | ||
[this article](https://doi.org/10.1107/S2052252521009532). | ||
|
||
Dr hab. Anna Makal and prof. dr hab. Krzysztof Woźniak are | ||
acknowledged for helpful discussions about crystallography behind the subject. | ||
Dr Jarosław Kalinowski and mgr inż. Damian Tchoń are acknowledged | ||
for insightful tips on project structure and code optimisation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ | |
|
||
setup( | ||
name='hikari-toolkit', | ||
version='0.2.0-alpha', | ||
version='0.2.0', | ||
author='Daniel Tchoń', | ||
author_email='[email protected]', | ||
packages=find_packages(exclude=('legacy', )), | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters