Skip to main content

Flamapy feature model is a distribution of the flama framework containing all plugins required to analyze feature models. It also offers a richer API and a complete command line interface and documentation.

Project description


FLAMAPY rest API

A new and easy way to use FLAMA
Report Bug · Request Feature

About The Project

FLAMAPY Feature model distribution provides an easier way of using FLAMA when analysing feature models. It packs the most used plugins for analyis of feature models adding a layer of convenience to use the framework or integrate it.

Feature Model Analysis has a crucial role in software product line engineering, enabling us to understand, design, and validate the complex relationships among features in a software product line. These feature models can often be complex and challenging to analyze due to their variability, making it difficult to identify conflicts, dead features, and potential optimizations. This is where this distribution comes in.

Please note: This is a living document and we will continue to update and improve it as we release new versions of the plugins and receive feedback from our users. If there's anything you don't understand or if you have any suggestions for improvement, don't hesitate to contact us. We're here to help!

Three main interfaces are provided:

  • A REST API: The REST API allows for easy integration with other tools and applications. It is also a more user friendly interface for those who are not familiar with the command line.

Whant it to runint, simply run

pip install flamapy-rest
gunicorn --bind 0.0.0.0:8000 app:app

Alternatively, you can use docker in this way:

chmod +x start-server.sh
./start-server.sh

Or go to the render deployed version it isn't fast, but its free.

(back to top)

Built With

(back to top)

Using the distribution REST API

The easies way is to execute the following command: docker run -p 8000:8000 flamapy/flamapy-fm-dist and open localhost:8000

Getting Started

To get a local copy up and running follow these simple example steps.

First, you will need to install Docker.

Instalation

  1. Clone the repository

  2. If you are running Windows, run

$ cd flamapy-dm-dist
$ ./start-server.cmd
  1. If you are running Linux or MacOS, run
$ cd flamapy-dm-dist
$ ./start-server.sh

This script will build, install and deploy the API in http://localhost:8000, you can access all the endpoints through an application like Postman

(back to top)

API Documentation

All the documentation is registered with Swagger UI and OAS 3.0. It is accesible through /api/v1/docs. This documentation is generated dinamically by relyin gon flasgger. DO not forget to document your code in the route files!

(back to top)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flamapy_rest-2.6.0.dev1.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flamapy_rest-2.6.0.dev1-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file flamapy_rest-2.6.0.dev1.tar.gz.

File metadata

  • Download URL: flamapy_rest-2.6.0.dev1.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for flamapy_rest-2.6.0.dev1.tar.gz
Algorithm Hash digest
SHA256 041139fd6db3f772af1c9ff6fcf175b820615b5ec9b2a1cbbe3ff4352240e968
MD5 e6ca2ea225e539a07c87ab3331028497
BLAKE2b-256 2e1c64ad60f29c43ea7cdda0d81e731a78bf996c9faee3fea8bb118e4ab1fa00

See more details on using hashes here.

File details

Details for the file flamapy_rest-2.6.0.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for flamapy_rest-2.6.0.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 df4dd8db6ba6605f0730a691cd41be371e5eb0ab431e7c96f60019cfdc748b48
MD5 7a62cb44b4e3798f0ca1014093bde2f4
BLAKE2b-256 d89f289fc37f5da0d9178146c1bc6844a6144f66e5f56a5b7d77a54e7fbbf256

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page