Skip to main content

No project description provided

Project description

FuncNodes Module

A tool for creating and managing modules for the Funcnodes framework.

📌 Features

  • 🚀 Quick module setup with predefined templates.
  • 🔌 Optional React plugin for frontend integration.
  • 🛠 Automatic Git initialization (optional).
  • ✅ Pre-configured testing using pytest.
  • 📂 Python packaging support with pyproject.toml.

📦 Installation

python -m pip install funcnodes-module

Ensure you have Python 3.11+ installed.

🎯 Usage

General Syntax

funcnodes-module <command> [options]

1️⃣ Creating a New Module

funcnodes-module new <name> [options]
Argument Description
name The name of the new module.
--with_react Adds React plugin templates.
--nogit Skips Git initialization.
--path Specifies a custom directory for the module.

Example:

funcnodes-module new my_module --with_react --nogit --path ~/projects

2️⃣ Updating an Existing Module

funcnodes-module update [options]
Argument Description
--nogit Skips Git initialization.
--path Specifies the project directory.
--force Forces overwriting of certain files.
--project_name Manually specify the project name.
--module_name Manually specify the module name.
--package_name Manually specify the package name.

3️⃣ Generating a Third-Party Notice File

funcnodes-module gen_third_party_notice [options]
Argument Description
--path Specifies the project directory.

IMPORTANT: This is not legally valid as it may not cover every package and/or license. IANAL applies here.

4️⃣ Running a Demo Worker

funcnodes-module demoworker

This command:

Creates a demo worker if it doesn’t exist. Starts the worker and a FuncNodes server. 📁 Folder Structure

my_module/
│── src/
│ ├── my_module/ # Python package  ├── **init**.py
│  ├── main.py
│ ├── tests/
│  ├── test_my_module.py
│ ├── react_plugin/ # Optional React Plugin ├── pyproject.toml # Python packaging ├── README.md
│ ├── LICENSE
│ ├── .gitignore

🛠 Development & Testing Run Tests

pytest

Build & Install Locally

pip install .

📜 License

This project is licensed under the MIT License.

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

funcnodes_module-0.3.6.tar.gz (33.8 kB view details)

Uploaded Source

Built Distribution

funcnodes_module-0.3.6-py3-none-any.whl (39.2 kB view details)

Uploaded Python 3

File details

Details for the file funcnodes_module-0.3.6.tar.gz.

File metadata

  • Download URL: funcnodes_module-0.3.6.tar.gz
  • Upload date:
  • Size: 33.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for funcnodes_module-0.3.6.tar.gz
Algorithm Hash digest
SHA256 67391b7e9f2b9351b90eb84cf60d93e7b5e9ee6d760720146a2e03ad519865e7
MD5 07b295a498eb4c63737a99eb909df7e7
BLAKE2b-256 14f77b2bb6224fa5aface78018e96d15541b97a12c31adef5fd53ce6260c81e7

See more details on using hashes here.

Provenance

The following attestation bundles were made for funcnodes_module-0.3.6.tar.gz:

Publisher: version_publish_main.yml on Linkdlab/funcnodes_module

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file funcnodes_module-0.3.6-py3-none-any.whl.

File metadata

File hashes

Hashes for funcnodes_module-0.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 23a6426b700a57f490c6b84c8aa2db98f2ee08f6295661b99464e0ae407ff0e5
MD5 ee875b99603c394d26345c001a06fc04
BLAKE2b-256 f1416fb93464ddc329e60cca21b3fe95bb62484bf0aea156f55fc4c15a5c7473

See more details on using hashes here.

Provenance

The following attestation bundles were made for funcnodes_module-0.3.6-py3-none-any.whl:

Publisher: version_publish_main.yml on Linkdlab/funcnodes_module

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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