KnitPkg for MetaTrader – Professional package manager for MQL5/MQL4
Project description
KnitPkg for MetaTrader (kp)
A modern package & project manager for MQL5/MQL4 — built for real-world MetaTrader development.
KnitPkg is a modern package and project manager for MQL5/MQL4, bringing an npm-like dependency workflow to real-world MetaTrader development.
MetaTrader projects often evolve through manual copy/paste, ad-hoc folder sharing, and “it works on my machine” dependency drift. KnitPkg exists to fix that by making code reuse and collaboration predictable, reproducible, and automated—without changing how MQL developers already publish code (Git repos).
- Home page: knitpkg.dev
- Documentation: docs.knitpkg.dev
- Registry: registry.knitpkg.dev
What KnitPkg is
KnitPkg is built around a Git-first model:
- Your code lives in Git repositories (Mql5Forge, GitHub, GitLab, Bitbucket).
- KnitPkg acts as a metadata registry that indexes projects via their manifests (it does not host your source or binaries).
- A CLI tool installs dependencies, resolves versions (SemVer + ranges), generates reproducible installs via a lock file, and can automate compilation.
The public registry API is available and currently operational.
Why developers use KnitPkg
KnitPkg focuses on the pain points that show up fast in MQL development:
- Versioned dependencies (SemVer + ranges like
^,~,<,>,*,!=) - Reproducible builds with a lock file
- Composed packages (dependency trees), including helpers like autocomplete and
@knitpkg:include - Safe ecosystem maintenance with yanked versions (removed from range resolution without breaking history)
- Git-host login via OAuth for publishing (no extra KnitPkg account); public installs need no auth
Installation
Follow the Installation section of KnitPkg Documentation.
Explore Seed Projects (Examples by the Author)
If you want real-world examples of how KnitPkg projects and reusable packages can be structured, you can explore the author’s public “seed” projects in the registry.
Option A) Search using the CLI
MQL5 seeds:
kp search mql5 -o douglasrechia
MQL4 seeds:
kp search mql4 -o douglasrechia
From the results, you can inspect details with kp info, or fetch and compile a project locally with kp get.
Option B) Browse the registry website
As an alternative, you can browse the registry directly in your browser:
- MQL5 seeds: registry.knitpkg.dev/mql5?org=douglasrechia
- MQL4 seeds: registry.knitpkg.dev/mql4?org=douglasrechia
See Getting started for a quick introduction and first steps using KnitPkg.
Support the Project
KnitPkg aims to strengthen the MQL ecosystem with better tooling. You can help keep the CLI and the public registry running by:
- Giving the repo a GitHub star
- Donating via GitHub Sponsors / Donations (not yet available)
KnitPkg — The dependency manager MQL always needed
X/Twitter - GitHub - Join Discord - contact@knitpkg.dev
MIT Licensed — Forever free for the community
KnitPkg – The future of MQL5 development.
DISCLAIMER:
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file knitpkg_mt-1.1.0.tar.gz.
File metadata
- Download URL: knitpkg_mt-1.1.0.tar.gz
- Upload date:
- Size: 75.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0097ad2b96480b2aa9cb17964f9012f41c00ca89d3cb35bfa99a84153388140
|
|
| MD5 |
f200e2a82c6b5a8dc59a8aa9f3cb4ed4
|
|
| BLAKE2b-256 |
2ea387dcbb8bada60cfe4bb21212892a4b7521704a1e0ab7f6be93e0ab4a1675
|
Provenance
The following attestation bundles were made for knitpkg_mt-1.1.0.tar.gz:
Publisher:
release.yml on knitpkg-dev/knitpkg-mt
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
knitpkg_mt-1.1.0.tar.gz -
Subject digest:
e0097ad2b96480b2aa9cb17964f9012f41c00ca89d3cb35bfa99a84153388140 - Sigstore transparency entry: 1173268117
- Sigstore integration time:
-
Permalink:
knitpkg-dev/knitpkg-mt@f727da59d5da0949b4f17d602dd611339ead409c -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/knitpkg-dev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f727da59d5da0949b4f17d602dd611339ead409c -
Trigger Event:
push
-
Statement type:
File details
Details for the file knitpkg_mt-1.1.0-py3-none-any.whl.
File metadata
- Download URL: knitpkg_mt-1.1.0-py3-none-any.whl
- Upload date:
- Size: 105.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89ac2f14a39c3f5439e0eb83b5bf41c035937758ba009f3c0ffb25aa0e13b73a
|
|
| MD5 |
fa48d727734234030ed2b498bb2a0a7b
|
|
| BLAKE2b-256 |
7bc97920af44fda94982c3bd7da058e71f106ca473c179c39c389002a6b4d537
|
Provenance
The following attestation bundles were made for knitpkg_mt-1.1.0-py3-none-any.whl:
Publisher:
release.yml on knitpkg-dev/knitpkg-mt
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
knitpkg_mt-1.1.0-py3-none-any.whl -
Subject digest:
89ac2f14a39c3f5439e0eb83b5bf41c035937758ba009f3c0ffb25aa0e13b73a - Sigstore transparency entry: 1173268181
- Sigstore integration time:
-
Permalink:
knitpkg-dev/knitpkg-mt@f727da59d5da0949b4f17d602dd611339ead409c -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/knitpkg-dev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f727da59d5da0949b4f17d602dd611339ead409c -
Trigger Event:
push
-
Statement type: