Skip to main content

Frame.io cli

Project description

# fioctl

## Installation

### PyPi

The cli requires python3 to take advantage of it’s more modern threading capabilities. So you need to do:

`bash pip3 install fioctl `

### From Source

`bash git clone git@github.com:Frameio/fioctl.git cd fioctl && python3 setup.py install `

Note that it does currently require python3.

## Set Up

First, generate an access token in frame.io and configure with:

`bash fioctl configure `

This will ask you to set a profile name, and input your token.

The cli supports multiple profiles in the event you have multiple tokens that can be configured. They can be specified like

`bash fioctl config first_profile.bearer_token <token1> fioctl config second_profile.bearer_token <token2> fioctl config profiles.default first_profile `

To see available commands, run:

`bash fioctl --help `

## Basics

Commands are organized around core API types, like comments, assets, etc.

Any command result can be formatted as json, csv, or as table (usually default), using the –format <format> option. Some commands, like fioctl assets traverse <id> support tree formatting as well. In addition, a default table format can be set with fioctl config table.fmt <fmt>

Additionally, you can select the columns to project in a command with the –columns col1,col2,… option. If you want to select a nested attribute in a column, use the . operator.

To preserve formatting for a command family, like projects, do fioctl config projects.columns col1,col2,…. To set a new table format, do fioctl config table.fmt <new_table_fmt>. Look at the python docs for tabulate to see the options available.

Update commands usually accept an option like –values col=val,col.nested=other_val

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fioctl-1.1-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file fioctl-1.1-py3-none-any.whl.

File metadata

  • Download URL: fioctl-1.1-py3-none-any.whl
  • Upload date:
  • Size: 17.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for fioctl-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c369d71adc8406eb0536ce42043f2814e87db19d484d547c64dbf269fec59358
MD5 ef7bf5bef4944b2e953567603fc47c2b
BLAKE2b-256 9ead015cead477597ffeeeccca6be4f97e5f3688ee3515a12cb517867483a2de

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page