Welcome to the PCA packaged Add-on project!
This project includes the following Add-on elements:
- PCA
If this project was created by the Add-on Example Generator:
- The Add-on Example Generator creates a virtual environment in the project folder.
- You will notice that the folder structure matches the elements you selected in the prompts of the Add-on Example Generator with their corresponding names.
- You can also see that the
addon.jsonconfiguration has been filled with the answers to the questions you provided in the CLI. - Finally, you will notice a
_dev_toolsfolder that hosts all he utility functions that are helpful to develop, debug, package and deploy your Add-on. This folder is not meant to be manipulated, but you are welcome to look inside for more complex configurations.
Getting Started
To deploy your Add-on package example to Add-on Manager, follow the steps below:
-
Activate the virtual environment
- If you are using a Terminal, you can activate the virtual environment by running
source .venv/bin/activate(Linux/Mac) or.venv\Scripts\activate(Windows). - If you are using an IDE, you can configure the IDE to use the virtual environment.
- If you are using a Terminal, you can activate the virtual environment by running
-
Run
python addon.py deploy --url https://<my-seeq-server> --username <username> --password <password>making sure you pass the correct URL, username, and password to your Seeq server. -
Run
python addon.py watchto make changes to the Add-on package and automatically update the changes to Add-on Manager.
Development Notes
A global Python environment was created when this project was generated. This environment is located in the .venv
folder. If you want work with a specific element, you can run python addon.py bootstrap --dir <element_folder> to
create a virtual environment for that specific element. However, you can also
run python addon.py bootstrap --dir <element_folder> --global-python-env . to update the global environment with new
dependencies that you might add to the requirements.txt file of each element.
Logs
You can get the logs of the Add-on Manager from the server you are deploying to. The following commands can be used:
python addon.py logsto get a list of all the logs files from the Add-on Manager.python addon.py logs --file <log_file>to get the content of a specific log file.python addon.py logs-aomis a shortcut ofpython addon.py logs --file com.seeq.add-on-manager.log.
Tailing the logs is not currently supported.
Metadata
Release files for BUILDER-ADDON-PCA 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| builder_addon_pca-0.0.8.tar.gz | 28.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| BUILDER_ADDON_PCA-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 72.0 kB
Release files / builder_addon_pca-0.0.8.tar.gz
| Download URL | builder_addon_pca-0.0.8.tar.gz |
|---|---|
| Size | 28.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
77618d0d95f0b981ec383387412da69e3441bb669245c0e2b90ad2e82485dc0c
|
|
BLAKE2b-256 checksum How to use checksums |
2eec1a32fc8270219daeaf94de07085e12e424c5d588adc6a4722d988c1f319e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Release files / BUILDER_ADDON_PCA-0.0.8-py3-none-any.whl
| Download URL | BUILDER_ADDON_PCA-0.0.8-py3-none-any.whl |
|---|---|
| Size | 43.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e6c50ee7921f188575a342c4a91f789ea2b7e6ad376cae89b322b00110d5257a
|
|
BLAKE2b-256 checksum How to use checksums |
fa31fc86e491622c9a1890f4b9cf5cb84be0cc07440552e83f9a351c294783d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|