Skip to main content

# Pythonic scripting library for cleaning data in Crunch

To learn more, including how to install the library, see the [Overview](https://github.com/Crunch-io/scrunch/wiki/Overview) wiki page.

Once you have it installed, to get started using scrunch to work with data in Crunch, see the [User Guide](https://github.com/Crunch-io/scrunch/wiki/User-Reference).

## Development

### Running tests locally

The easiest way to run the test suite is with Docker Compose:

`bash docker compose run --rm test `

This builds a container with Python 3.11 and runs tox -e py311, matching the CI environment.

To run a specific test file or test:

`bash docker compose run --rm test tox -e py311 -- scrunch/tests/test_datasets.py -x docker compose run --rm test tox -e py311 -- scrunch/tests/test_projects.py::TestProjectNesting -x `

To rebuild the container after dependency changes:

`bash docker compose build --no-cache test `

### Running integration tests

Integration tests run against a live Crunch API. Copy .env and fill in credentials, then:

`bash docker compose run --rm test tox -e py311 -- integration/ -x `

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scrunch-0.18.24.tar.gz (161.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scrunch-0.18.24-py2.py3-none-any.whl (156.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file scrunch-0.18.24.tar.gz.

File metadata

  • Download URL: scrunch-0.18.24.tar.gz
  • Upload date:
  • Size: 161.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for scrunch-0.18.24.tar.gz
Algorithm Hash digest
SHA256 b1e3b65dacc3c21a0958ce55ddf80057194fe03e8bda5aac231f78bd912de6aa
MD5 effe5fb8bf4b2eb7d563084e08b47ee2
BLAKE2b-256 6db307c64c3b346642af96c90d835b3366ce4e37d3bba2dc898b14bd6754ddbd

See more details on using hashes here.

File details

Details for the file scrunch-0.18.24-py2.py3-none-any.whl.

File metadata

  • Download URL: scrunch-0.18.24-py2.py3-none-any.whl
  • Upload date:
  • Size: 156.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for scrunch-0.18.24-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8741860b6a4990966fe201662a58832faf554ec84eca5547072fc57c352e3e0e
MD5 eace5308b15b9b07753016726cb70ddd
BLAKE2b-256 591ddb0a734191cc11abaca20c8c29cd976596a010d41bac1fa5b7f3fb662344

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page