Skip to main content

CircleCI downloads

What is Spectacles?

Spectacles is a continuous integration tool for Looker and LookML. Spectacles runs validators which perform a range of tests on your Looker instance and your LookML. Each validator interacts with the Looker API to run tests that ensure your Looker instance is running smoothly.

From the command line, you can run the following validators as subcommands (e.g. spectacles sql):

✅ SQL validation - tests the sql field of each dimension for database errors

✅ Assert validation - runs Looker data tests

✅ Content validation - tests for errors in Looks and Dashboards

✅ LookML validation - runs LookML validator

Installation

Spectacles CLI is distributed on PyPi and is easy to install with pip:

pip install spectacles

📣 You can also use Spectacles as a full-service web application! Check out our website to learn more.

Documentation

You can find detailed documentation for the CLI and web app on our docs page: docs.spectacles.dev.

Why we built this

Occasionally, when we make changes to LookML or our data warehouse, we break downstream experiences in Looker:

  • Changing the name of a database column without changing the corresponding sql field in our Looker view, leaving our users with a database error when using that field
  • Adding an invalid join to an explore that fans out our data, inflating a key metric that drives our business without realising
  • Editing LookML without remembering to check the Content Validator for errors, disrupting Dashboards and Looks that our users rely on
  • Giving a new dimension a confusing name, causing other developers in our team to spend extra time trying to figure out how it should be used

We believe in the power of testing and continuous integration for analytics. We believe that automated tests should catch these errors before they're ever pushed to production.

We wanted a single tool to perform these checks for us, so we built Spectacles to enhance the business intelligence layer of analytics CI pipelines.

Community

Have a question or just want to chat Spectacles or Looker? Join us in Slack.

Metadata

Release files for spectacles 2.4.20

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for spectacles 2.4.20
File Size Uploaded
spectacles-2.4.20.tar.gz 42.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for spectacles 2.4.20
File Interpreter ABI Platform
spectacles-2.4.20-py3-none-any.whl Python 3 none any Details

Total release size: 90.8 kB

Release files / spectacles-2.4.20.tar.gz

Download URL spectacles-2.4.20.tar.gz
Size 42.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ddb19543c55b021724a0717bafae3fb91335a110a558cc295a7fe5073612b19c
BLAKE2b-256 checksum
How to use checksums
9c800bec4258ec765125884575a3177e880d87c277c38f55a716dd4145e17a73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release files / spectacles-2.4.20-py3-none-any.whl

Download URL spectacles-2.4.20-py3-none-any.whl
Size 48.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e9ac036ba52e732b5b461e507c53a9b424a35357114aeb34093c02cef7644d63
BLAKE2b-256 checksum
How to use checksums
62b5eaf7e1e427e51de338ccfdb37b119e9283fe15a29d0df3fa84078c5778db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

2.4.20 This release

2 release files

2.4.19

2 release files

2.4.18

2 release files

2.4.17

2 release files

2.4.16

2 release files

2.4.15

2 release files

2.4.14

2 release files

2.4.13

2 release files

2.4.10

2 release files

2.4.9

2 release files

2.4.8

2 release files

2.4.7

2 release files

2.4.6

2 release files

2.4.5

2 release files

2.4.4

2 release files

2.4.3

2 release files

2.4.2

2 release files

2.4.0

2 release files

2.3.18

2 release files

2.3.17

2 release files

2.3.15

2 release files

2.3.13

2 release files

2.3.12

2 release files

2.3.11

2 release files

2.3.10

2 release files

2.3.9

2 release files

2.3.8

2 release files

2.3.7

2 release files

2.3.6

2 release files

2.3.5

2 release files

2.3.4

2 release files

2.3.3

2 release files

2.3.2

2 release files

2.3.1

2 release files

2.3.0

2 release files

2.2.0

2 release files

2.1.1

2 release files

2.1.0

2 release files

2.0.5

2 release files

2.0.4

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.2.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page