Skip to main content

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 synthetic FeatureModel object directly (random tree of mandatory/optional/or/alternative groups plus random cross-tree constraints; an optional void flag 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

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)

Source distribution for flamapy-fm 2.6.0
File Size Uploaded
flamapy_fm-2.6.0.tar.gz 60.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flamapy-fm 2.6.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

2.6.0 This release

2 release files

2.5.0

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.1.3

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page