Python wrapper for Eagle
Project description
eagle-wrap
wrapper for eagle.cool
Features
- access settings in appdata
- easier access api methods
- allow briding to python code
Installation
pip install eagle-wrap
Usage
eaglewrap --help
to bridge a python file
eaglewrap script <python_file_path> <base64_encoded_ctx>
Integrate with your eagle plugin
- simply copy the
latest (release)
eagleWrapUtils.js to your plugin folder - in your html file, import the
eagleWrapUtils.js
<script src="eagleWrapUtils.js"></script>
- in your python file, you can optionally include this code to enable type hints and IDE support
from eaglewrap.bridge import _applyCtx
ctx = _applyCtx()
Example
- see index.html for html implementation
- see test.py for python implementation
- for better understanding, open library at eaglewrap-example.library and import extension at
eaglewrap-runner-example
Showcase
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
eagle_wrap-0.9.0.tar.gz
(75.0 kB
view details)
Built Distribution
File details
Details for the file eagle_wrap-0.9.0.tar.gz
.
File metadata
- Download URL: eagle_wrap-0.9.0.tar.gz
- Upload date:
- Size: 75.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
f76c0d7772b71d7c9a64ea10723691f2eccf8706f4855e37a0d8471526f2bb39
|
|
MD5 |
11172d346d434440f888dfa8eff31212
|
|
BLAKE2b-256 |
a5f6af6e6cfb23a78cd7d02c76b543b07fb6386585e5e2c61a6348298fe91696
|
Provenance
The following attestation bundles were made for eagle_wrap-0.9.0.tar.gz
:
Publisher:
python-publish.yml
on ZackaryW/eagle-wrap
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
eagle_wrap-0.9.0.tar.gz
-
Subject digest:
f76c0d7772b71d7c9a64ea10723691f2eccf8706f4855e37a0d8471526f2bb39
- Sigstore transparency entry: 157140704
- Sigstore integration time:
-
Permalink:
ZackaryW/eagle-wrap@773189ff023c5bc90331008e68f431d9d7ac934c
-
Branch / Tag:
refs/heads/main
- Owner: https://github.com/ZackaryW
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
python-publish.yml@773189ff023c5bc90331008e68f431d9d7ac934c
-
Trigger Event:
push
-
Statement type:
File details
Details for the file eagle_wrap-0.9.0-py3-none-any.whl
.
File metadata
- Download URL: eagle_wrap-0.9.0-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
0aeadfba6dd428161778d180f1d4fd7f6895cc07080ebb61d8c7424cd355d063
|
|
MD5 |
db975762afa88fe965fc3987002e7815
|
|
BLAKE2b-256 |
225ca63e49adc7a2461a20ebb92f2eb9b1905adf148b37aa692280d3272bf162
|
Provenance
The following attestation bundles were made for eagle_wrap-0.9.0-py3-none-any.whl
:
Publisher:
python-publish.yml
on ZackaryW/eagle-wrap
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
eagle_wrap-0.9.0-py3-none-any.whl
-
Subject digest:
0aeadfba6dd428161778d180f1d4fd7f6895cc07080ebb61d8c7424cd355d063
- Sigstore transparency entry: 157140706
- Sigstore integration time:
-
Permalink:
ZackaryW/eagle-wrap@773189ff023c5bc90331008e68f431d9d7ac934c
-
Branch / Tag:
refs/heads/main
- Owner: https://github.com/ZackaryW
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
python-publish.yml@773189ff023c5bc90331008e68f431d9d7ac934c
-
Trigger Event:
push
-
Statement type: