Skip to main content

Pythonic scripting library for cleaning data in Crunch

Project description

# 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 `

Project details


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.22.tar.gz (161.0 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.22-py2.py3-none-any.whl (155.4 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: scrunch-0.18.22.tar.gz
  • Upload date:
  • Size: 161.0 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.22.tar.gz
Algorithm Hash digest
SHA256 c93a20625c50a9b07abd5021f8df9c487cf9de7fd7cdca58486c9b548ea19fea
MD5 03cc8b118a686fce22e9e7e379c9b073
BLAKE2b-256 17f713edf34acfc909e087375d915dd8b2aac60d5b8281e2bf75740ebf31841f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scrunch-0.18.22-py2.py3-none-any.whl
  • Upload date:
  • Size: 155.4 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.22-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 da7196fcc0a372a31c30f0002cd33b50ee25829e3d7101d037851c98c5e2ee13
MD5 1be4469f7a85c2e7b083711e4972ef79
BLAKE2b-256 72301d0b18cf347675dc57f8b679f15d6799ff4e2ec7836d25ab768ebe3fe8bd

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 Pingdom Monitoring Sentry Error logging StatusPage Status page