Skip to main content

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fieldops-0.0.7.tar.gz (4.4 kB view details)

Uploaded Source

File details

Details for the file fieldops-0.0.7.tar.gz.

File metadata

  • Download URL: fieldops-0.0.7.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for fieldops-0.0.7.tar.gz
Algorithm Hash digest
SHA256 e48a4f7aae7820095c15d526a359c25181d2c4c7eaf581b476e9e26c2bd1b65a
MD5 bbf37cfe20848df07be28aaa42e045cd
BLAKE2b-256 1fb815eb793cd7fad7ae617f9f29c9a0d7a53db23391753869545a51a875fee1

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.7 This release

1 file

0.0.6

1 file

0.0.5

1 file

0.0.4

1 file

0.0.3

1 file

0.0.2

1 file

0.0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page