Home

Awesome

<h1 align="center">Starlib - Starlark's Missing standard Library.</h1>

Qri GoDoc License Codecov CI

<div align="center"> <h3> <a href="https://qri.io"> Website </a> <span> | </span> <a href="#packages"> Packages </a> <span> | </span> <a href="https://github.com/qri-io/starlib/CONTRIBUTOR.md"> Contribute </a> <span> | </span> <a href="https://github.com/qri-io/starlib/issues"> Issues </a> <span> | </span> <a href="https://qri.io/docs/starlark/starlib"> Docs </a> </h3> </div> <div align="center"> <!-- Build Status --> </div>

Welcome

This is a community-driven project to bring a standard library to the starlark programming dialect. We here at Qri need a standard library, and we thought it might benefit others to structure this library in a reusable way. We are a little biased towards our needs, and will be shaping the library primarily toward's Qri's use case.

QuestionAnswer
"What's starlark?"It's a python-like scripting language open-sourced by Google. Here are the docs
"What's the use-case for this?"We're building it for Qri ('query')
"I want to play with starlib outside of Qri"Checkout the starlark playground
"I have a question"Create an issue
"I found a bug"Create an issue
"I would like to propose a new package"You should think about creating an RFC

Packages

The following is a list of the packages currently in the standard library

PackageGo DocsDescription
bsoup<img width=190/>Go Docsa beautiful-soup-like API for working with HTML
encoding/base64<img width=190/>Go Docsbase64 de/serialization
encoding/csv<img width=190/>Go Docscsv de/serialization
encoding/json<img width=190/>Go Docsalias for go.starlark.net/starlarkjson
encoding/yaml<img width=190/>Go Docsyaml de/serialization
geo<img width=190/>Go Docs2d geographic operations
hash<img width=190/>Go Docshash operations (md5/sha1/sha256)
html<img width=190/>Go Docshtml text processing
http<img width=190/>Go Docshttp client operations
math<img width=190/>Go Docsmathematical functions & values upstreamed into go-starlark
re<img width=190/>Go Docsregular expressions
time<img width=190/>Go Docstime operations, upstreamed into go-starlark
xlsx<img width=190/>Go Docsxlsx file format reading
zipfile<img width=190/>Go Docssupport for zip archives
This documentation has been adapted from the Cycle.js documentation.