Table of Contents
Reference
These technical reference docs will help you use Qri's APIs and write custom data transform scripts
Starlark Language
Overview
What is Starlark, and why are we using it?
Lexical Elements
Whitespaces, comments, punctuation, keywords, etc.
Data Types
Float, string, int, bool, None, etc
Value Concepts
Learn what why starlark is well-suited for our use case
Expressions
Understand Expressions in the Starlark Language
Statements
Understand Statements in the Starlark Language
Built-in Constants and Functions
Low-level Starlark constants and functions with simple examples
Built-in Methods
4
Built-in methods for the Starlark data types
Starlark Packages
Overview
Learn how we've extended the core functionality of the Starlark language with these helpful packages
bsoup
bsoup defines a beautiful-soup-like API for working with HTML documents
dataframe
dataframe is a 2d columnar data structure that provides many powerful analysis and manipulation tools, similar to a spreadsheet or SQL engine
compress
1
A set of Starlark packages for various types of compression/decompression
encoding
4
A set of Starlark packages for various types of encoding/decoding
geo
geo defines geographic operations in two-dimensional space
hash
hash defines hash primitives for starlark.
html
html defines jquery-like html selection & iteration functions for HTML documents
http
http defines an HTTP client implementation
math
math defines a Starlark module of mathematical functions. All functions accept both int and float values as arguments.
re
re defines regular expression functions, it's intended to be a drop-in subset of python's re module for starlark: https://docs.python.org/3/library/re.html
time
time is a Starlark module of time-related functions and constants.
xlsx
xlsx implements excel file readers in starlark. currently a highly-experimental package that will definitely change at some point in the future
zipfile
zipfile reads & parses zip archives