flamapy-fm
The feature model metamodel plugin for flamapy: the feature model classes plus readers and writers for many formats (UVL, FeatureIDE, Glencoe, AFM, SPLOT, JSON, …).
Documentation: https://docs.flamapy.org/framework/plugins/feature_model_plugin
Installation
pip install flamapy-fm
Operations
Beyond the metrics/analysis operations (core/dead features, atomic sets, branching factor, …), this plugin includes a random feature-model generator:
GenerateRandomFeatureModel— builds a random syntheticFeatureModelobject directly (random tree of mandatory/optional/or/alternative groups plus random cross-tree constraints; an optionalvoidflag makes it unsatisfiable). Useful for benchmarking, testing, and building corpora for learning-based operations. Serialize it to UVL (or any format) with the writer transformations if you need text.
from flamapy.metamodels.fm_metamodel.operations import GenerateRandomFeatureModel
op = GenerateRandomFeatureModel()
op.set_num_features(20)
op.set_max_constraints(5)
op.set_seed(0)
fm = op.execute().get_result() # -> FeatureModel
Metadata
Release files for flamapy-fm 2.6.0
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 | |
|---|---|---|---|---|
| flamapy_fm-2.6.0.tar.gz | 60.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flamapy_fm-2.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 149.2 kB
Release files / flamapy_fm-2.6.0.tar.gz
| Download URL | flamapy_fm-2.6.0.tar.gz |
|---|---|
| Size | 60.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
202f2364bc3f2111f0e4a629dc11c684792892c101570dfb9ca014fbc95db11b
|
|
BLAKE2b-256 checksum How to use checksums |
f800d64b8d71fe276295932bf3972bcf2ed36c1e55c0da5217f00a947d5f92ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / flamapy_fm-2.6.0-py3-none-any.whl
| Download URL | flamapy_fm-2.6.0-py3-none-any.whl |
|---|---|
| Size | 88.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7b7fd51f6b0554ba5de9e35e35f15702ffa92ad13ab18a70deeaa80236686c37
|
|
BLAKE2b-256 checksum How to use checksums |
650251e9aad929100fda48bd4b629cd2fa3c0419ea9bf67f72a8d95064ee254b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Security for flamapy-fm 2.6.0
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.