Skip to main content

Hosting local servers easily, smooth as butter.

Project description

Welcome to Lynq

This documentation including its installation guide may only be applicable to Lynq 9(.6)

Documentation for Lynq

Lynq is a Python-based framework designed to simplify the development and management of web applications. It provides a set of tools and utilities to streamline the development process, enhance security, and improve performance.

Installation

To install Lynq, you can use either pip or git.

Using pip:

pip install lynq

Using git:

git clone https://github.com/elemenom/lynq.git --branch v10

Upgrade

To upgrade Lynq, you can use either pip or git.

Using pip:

pip install lynq --upgrade

Using git:

rm -rf lynq; git clone https://github.com/elemenom/lynq.git --branch v10

Links

Author

Command-Line Interface (CLI) Usage

Lynq provides a command-line interface (CLI) to perform various tasks such as running the application, cleaning pycache files, and running processes directly from the CLI.

To use the CLI, you can run the following commands:

  • Run the application with GUI:
python -m lynq --lq.rungui
  • Clean pycache files:
python -m lynq --lq.clean
  • Run a process directly from the CLI:
python -m lynq --lq.run_process "<process_command>"

Lynq Configuration

Lynq supports different types of configuration files, such as JSON, BASIN, and PYTHON. You can specify the configuration file and type using command-line arguments.

To use a JSON configuration file:

python myproject.py --lq.cfile "path_to_config_file.json" --lq.ctype "JSON"

To use a BASIN configuration file:

python myproject.py --lq.cfile "path_to_config_file.basin" --lq.ctype "BASIN"

To use a PYTHON configuration file:

python myproject.py lq.cfile "" --lq.ctype "PYTHON"

(i) The lq.cfile argument is ignored and can be blank when PYTHON is used as lq.ctype.

Lynq Components

Lynq consists of several components that provide various functionalities. Some of the key components are:

  • launch: A module for launching web applications.
  • directlaunch: A module for launching web applications directly without having to explicitly define a LynqServer.
  • app: An app decorator for managing web application objects.
  • jsonapp: An app decorator for managing web application objects using JSON.
  • basinapp: An app decorator for managing web application objects using BASIN.
  • InternetExplorerInstance: A class for managing Internet Explorer instances.
  • LynqServer: A class for managing standard Lynq servers.
  • ConfigurableLynqServer: A class for managing customizable Lynq servers.
  • JsonLynqServer: A class for managing Lynq servers using JSON.
  • BasinLynqServer: A class for managing Lynq servers using BASIN.
  • App: A class for representing web application objects.
  • ExportedApp: A class for representing exported web application objects.

Important Note

Please note that the backendutils directory is not intended to be accessed directly. It contains internal utilities and modules used by Lynq. Any code within this directory should not be modified or accessed directly.

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

lynq-9.8.tar.gz (31.2 kB view hashes)

Uploaded Source

Built Distribution

lynq-9.8-py3-none-any.whl (50.6 kB view hashes)

Uploaded Python 3

Supported by

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