Skip to content

Latest commit

 

History

History
71 lines (45 loc) · 3.14 KB

README.md

File metadata and controls

71 lines (45 loc) · 3.14 KB

Readme PT-BR

Logo

arctracker

GitHub go.mod Go version GitHub Actions Workflow Status GitHub Release GitHub Tag

ArcGIS Licensing Tracker

ArcTracker provides an easy and interactive way to keep track of the licensing in your arcpy python code.

Description

ArcTracker is an application that search through the ArcGIS documentation for a tool licensing. It can be used in the CLI by passing the path of a repository as an argument, and it will scrape the licensing for each tool used in the python scripts. It can be also used within a pipeline, by reading the command of a tool passed in the pipeline, when executed without arguments.

There's also a graphical application available, that will show a table and allow to download a CSV table and a JSON file.

Usage

Graphical interface

If you downloaded the graphical interface version of the application, you can search through a repository by selecting the folder and clicking in Search Licenses.

ArcTracker has two ways of using it. First is by recursively searching for arcpy tools used within a project. To do that, simply pass the path of the directory to view a interactive table of the tools used in the project and the level of licenses required to run them.

ArcTracker Usage

You can also pass the flag --json to return the output as JSON, or the flag --csv to return the output as a CSV.

The --output flag is used to write the JSON or CSV output into a file.

Optional Requirements

The application no required dependencies, but it has some optional dependencies that improve performance, such as ripgrep for the recursive search in the directory and in Stdin, and jq for the formatting of ripgrep's result.

Below are the installations steps for each tool:

Installation

To install the program, simply download the binary in the latest release page, or you can install it with go by executing:

go install github.com/marcelo-fm/arctracker@latest

Debian and Ubuntu

You can download the .deb package through the latest release and install it with dpkg. Below is an example in one line for the release tag 1.1.0:

curl -L -o https://github.com/marcelo-fm/arctracker/releases/download/v1.1.0/arctracker_1.1.0-1_amd64.deb && sudo dpkg -i arctracker_1.1.0-1_amd64.deb

I'm working in creating packages for most linux distros and windows package managers.