Gridly CLI 1st version
Project description
gridly-cli
This package provides a unified command line interface to Gridly
Requirement
The gridly-cli package works on Python version:
- 3.6.x and greater
- 3.7.x and greater
- 3.8.x and greater
Installation
Installation of the Gridly CLI and its dependencies use a range of packaging features provided by pip and setuptools. To ensure smooth installation, it's recommended to use:
- pip: 9.0.2 or greater
- setuptools: 36.2.0 or greater
The safest way to install the Gridly CLI is to use pip in a virtualenv:
$ python -m pip install gridly-cli
Configuration
Before using the Gridly CLI, you need to configure your API key. You can add the API key to Environment variables in this way:
- With MacOS and Linux:
$ EXPORT GRIDLY_API_KEY=<your-api-key>
- With Windows:
$ SET GRIDLY_API_KEY=<your-api-key>
Basic Commands
An Gridly CLI command has the following structure:
gridly [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
column List all columns of a Grid
database List all Databases
grid List all Grids / Update Grid name
-ls To list all Grids
-u To update Grid name
project List all Projects
record List all records of a view / Delete records
-ls To list all records of a view
-d To delete records
view List all views / Get info of a specified view
-ls To list all views
export [OPTIONS] VIEW_ID [DEST]
Export all records of a view to JSON and/or CSV files
-json To export to JSON file type
-csv To export to CSV file type
-lang To export translation language columns to separate files
[DEST] Optional. Path of folder where exporter will save files to. Default is current path.
For example, to list project, the command would be:
$ gridly project -ls
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
File details
Details for the file gridly_cli-0.1.9.tar.gz.
File metadata
- Download URL: gridly_cli-0.1.9.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f53c1de46cc3a545f15c50b614aaf20bfbc4b6068dbe5f84fd1ec4dd253cd070
|
|
| MD5 |
d5ed1a90727743f1b11e36e0ea7acec5
|
|
| BLAKE2b-256 |
52ba110c21aaed69854b8e243a9c0c4d079294befbf8e1a5f77ba158aedff51b
|