Evomatic
Evomatic is an genetic algorithm tool for the development of new alloys.
Installation
The evomatic package can be installed from pypi using pip:
pip install evomatic
Evomatic makes heavy use of the metallurgy package to manipulate and approximate properties of alloys. The cerebral package can be used by evomatic to obtain predictions of alloy properties on-the-fly during evolution.
Usage
Basic usage of evomatic involves setting some targets and running an evolution, the following example shows evolution of a small population towards alloys with high mass:
>>> import evomatic as evo
>>> evolver = evo.Evolver(targets={"maximise": ["mass"]}, population_size=50)
>>> history = evolver.evolve()
>>> history["alloys"]
alloy mass generation rank fitness
Og100 295.000000 7 0 1.000000
Og92.4Fl7.6 294.544000 11 1 0.998433
Og91.4Lv7.4Cm1.2 294.276000 9 2 0.997512
Og78Mc14Lv6.2Hs1.8 293.726000 11 3 0.995622
Lv100 293.000000 2 4 0.993127
... ... ... ... ...
Ar38.8Li28.5B24.9Sc5.7I2.1 25.396895 10 587 0.073521
Si79H21 22.398830 10 588 0.063218
Li83.7Zr16.3 20.678292 6 589 0.057305
Li97.9Db2.1 12.464260 5 590 0.029078
He100 4.002602 4 591 0.000000
In this simple example, there is no better material for the objective of maximum mass than pure Oganesson.
Documentation
Documentation is available here.
Metadata
Release files for evomatic 0.0.6
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 |
|---|---|---|---|---|
| evomatic-0.0.6.tar.gz | 24.3 kB | Without provenance | Details for evomatic-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| evomatic-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for evomatic-0.0.6-py3-none-any.whl |
Total release size: 43.5 kB
Release files / evomatic-0.0.6.tar.gz
| Download URL | evomatic-0.0.6.tar.gz |
|---|---|
| Size | 24.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
567819870c2bf586bea924a4687bc4b9b6b243c52026068bb597083da3d974cc
|
|
BLAKE2b-256 checksum How to use checksums |
4bbed96bd9639604d6425903db5a9010dd5c9112929813a7bc447ae37b30ea66
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.0
|
Release files / evomatic-0.0.6-py3-none-any.whl
| Download URL | evomatic-0.0.6-py3-none-any.whl |
|---|---|
| Size | 19.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1223beab4d05123cb7c25eac463f288cfc09cddeed168a1f45f0f4c4cda2898b
|
|
BLAKE2b-256 checksum How to use checksums |
0e4568cc79a1c35790380966dc9cc31710407dad82c1f9d82e4af2b6d64a7e75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.0
|
Security for evomatic 0.0.6
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.