Metadata-Version: 2.1
Name: scrunch
Version: 0.18.22
Summary: Pythonic scripting library for cleaning data in Crunch
Home-page: https://github.com/Crunch-io/scrunch
Author: Crunch.io
Author-email: dev@crunch.io
License: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Requires-Python: >=2.7
Requires-Dist: pycrunch ==0.5.5
Requires-Dist: requests
Requires-Dist: cr.cube ==3.2.0
Requires-Dist: six
Provides-Extra: docs
Requires-Dist: sphinx ; extra == 'docs'
Requires-Dist: jaraco.packaging >=3.2 ; extra == 'docs'
Requires-Dist: rst.linker >=1.9 ; extra == 'docs'
Provides-Extra: pandas
Requires-Dist: pandas ; extra == 'pandas'
Provides-Extra: testing
Requires-Dist: pytest ; extra == 'testing'
Requires-Dist: collective.checkdocs ; extra == 'testing'
Requires-Dist: pytest-cov ==2.12.1 ; extra == 'testing'
Requires-Dist: mock ==3.0.5 ; extra == 'testing'
Requires-Dist: isodate ; extra == 'testing'
Requires-Dist: pyspssio ; extra == 'testing'

# Pythonic scripting library for cleaning data in `Crunch <http://crunch.io/>`__

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



