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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | d914c5d74b0bee940fec9c366892048f9716ab5657207855cf6824cae68090fc |
|
MD5 | e16fa6bb8e40a73c72605819fb2e3e3d |
|
BLAKE2b-256 | 9300ffbebe0ab782eeab2871bc74d8bbfc7bc4d3b4b405f4944b2029eabdcf8c |
Provenance
The following attestation bundles were made for funcnodes_module-0.2.9.tar.gz
:
Publisher:
version_publish_main.yml
on Linkdlab/funcnodes_module
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
funcnodes_module-0.2.9.tar.gz
- Subject digest:
d914c5d74b0bee940fec9c366892048f9716ab5657207855cf6824cae68090fc
- Sigstore transparency entry: 171906786
- Sigstore integration time:
- Permalink:
Linkdlab/funcnodes_module@7e9fa337ce5d5c79cbd6f2d2260c510492ca2405
- Branch / Tag:
refs/heads/main
- Owner: https://github.com/Linkdlab
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
version_publish_main.yml@7e9fa337ce5d5c79cbd6f2d2260c510492ca2405
- Trigger Event:
push
- Statement type:
File details
Details for the file funcnodes_module-0.2.9-py3-none-any.whl
.
File metadata
- Download URL: funcnodes_module-0.2.9-py3-none-any.whl
- Upload date:
- Size: 40.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63ce5728aaa8c4900ebbd91ac0436e37c63e4484773ef8e8c7860cd83f36cfcb |
|
MD5 | c94383c6e596a394e80bff56adbdad44 |
|
BLAKE2b-256 | 31dc83004549b857d3fe0650acf9c26e4d0ca1b63803ecb3096aa5979514cc06 |
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
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
funcnodes_module-0.2.9-py3-none-any.whl
- Subject digest:
63ce5728aaa8c4900ebbd91ac0436e37c63e4484773ef8e8c7860cd83f36cfcb
- Sigstore transparency entry: 171906789
- Sigstore integration time:
- Permalink:
Linkdlab/funcnodes_module@7e9fa337ce5d5c79cbd6f2d2260c510492ca2405
- Branch / Tag:
refs/heads/main
- Owner: https://github.com/Linkdlab
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
version_publish_main.yml@7e9fa337ce5d5c79cbd6f2d2260c510492ca2405
- Trigger Event:
push
- Statement type: