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.2.9.tar.gz (35.3 kB view details)

Uploaded Source

Built Distribution

funcnodes_module-0.2.9-py3-none-any.whl (40.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for funcnodes_module-0.2.9.tar.gz
Algorithm Hash digest
SHA256 d914c5d74b0bee940fec9c366892048f9716ab5657207855cf6824cae68090fc
MD5 e16fa6bb8e40a73c72605819fb2e3e3d
BLAKE2b-256 9300ffbebe0ab782eeab2871bc74d8bbfc7bc4d3b4b405f4944b2029eabdcf8c

See more details on using hashes here.

Provenance

The following attestation bundles were made for funcnodes_module-0.2.9.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.2.9-py3-none-any.whl.

File metadata

File hashes

Hashes for funcnodes_module-0.2.9-py3-none-any.whl
Algorithm Hash digest
SHA256 63ce5728aaa8c4900ebbd91ac0436e37c63e4484773ef8e8c7860cd83f36cfcb
MD5 c94383c6e596a394e80bff56adbdad44
BLAKE2b-256 31dc83004549b857d3fe0650acf9c26e4d0ca1b63803ecb3096aa5979514cc06

See more details on using hashes here.

Provenance

The following attestation bundles were made for funcnodes_module-0.2.9-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 AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page