FieldOps Py
This is a python library and cli for working with fieldops. It can be used for creating custom provisioning scripts, or setting up deployment for a CI/CD pipeline
Installation
pip3 install fieldops
Using the CLI
The CLI can be used to poll the server for information, download packages, and upload new versions of packages. For the most part it just wraps the rest calls and handles authentication, so the api paths are the same as the rest api.
Show the packages
fieldops -u <username> -p <password> -s <server> get packages
Show the details of the latest version of a package:
fieldops -u <username> -p <password> -s <server> get packages/pa/versions/latest
Download the latest version of a package:
fieldops -u <username> -p <password> -s <server> download packages/pa/versions/latest
Upload a new version of a package:
fieldops -u <username> -p <password> -s <server> upload packages/pa-firmware -f <path to package file> -v <version number> -r <release notes>
Using as a library
The library can be used to create custom provisioning scripts, or to integrate with a CI/CD pipeline.
Metadata
Release files for fieldops 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fieldops-0.0.7.tar.gz | 4.4 kB | Without provenance | Details for fieldops-0.0.7.tar.gz |
Release files / fieldops-0.0.7.tar.gz
| Download URL | fieldops-0.0.7.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e48a4f7aae7820095c15d526a359c25181d2c4c7eaf581b476e9e26c2bd1b65a
|
|
BLAKE2b-256 checksum How to use checksums |
1fb815eb793cd7fad7ae617f9f29c9a0d7a53db23391753869545a51a875fee1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Security for fieldops 0.0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.