Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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

Metadata

Release files for flamapy-fm 2.9.0.dev0

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.9.0.dev0
File Size Uploaded Provenance Actions
flamapy_fm-2.9.0.dev0.tar.gz 74.3 kB Without provenance Details for flamapy_fm-2.9.0.dev0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for flamapy-fm 2.9.0.dev0
File Interpreter ABI Platform Actions
flamapy_fm-2.9.0.dev0-py3-none-any.whl Python 3 none any Details for flamapy_fm-2.9.0.dev0-py3-none-any.whl

Total release size: 179.6 kB

Release files / flamapy_fm-2.9.0.dev0.tar.gz

Download URL flamapy_fm-2.9.0.dev0.tar.gz
Size 74.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1865628b41b6a33b52a6bc43310073c6b7c82839075c40dc9779dd8edb1b2181
BLAKE2b-256 checksum
How to use checksums
c66e6c927b90e3f57dcec61b239b8182b40e362c812cd328fad7a0d0ecd42228
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Release files / flamapy_fm-2.9.0.dev0-py3-none-any.whl

Download URL flamapy_fm-2.9.0.dev0-py3-none-any.whl
Size 105.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b20a158222eb1f9c657494a6812b46bc7d09dc52cd0252cf3d61cfef3514f9c7
BLAKE2b-256 checksum
How to use checksums
1f9c8eea1ec8f63c0cb1d8c7fe583d82adf9012c73bcd2dacfbdc2e9dda584de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Security for flamapy-fm 2.9.0.dev0

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.

Release history Release notifications | RSS feed

This release
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