Test time tooling for dataframes.
Project description
test-time-dataframes
Table with features across pandas and pyspark
| DF Lib | Native Mocks | Pytest Fixture | File IO Mocking | Call Comparison |
|---|---|---|---|---|
| pandas | ✅ | ✅ | ✅ | ✅ |
| pyspark | ⏳ | ⏳ | ⏳ | ⏳ |
Note that there are good testing utilities inside of each of these data processing libraries, this is just an extension to make various things easier. Please make full use of these in addition to this library:
Development Setup
Create and activate the Conda environment
conda create -n tt-df python=3.11
conda activate tt-df
Install this package in editable mode
python -m pip install -e ".[dev,pandas]"
Install pre-commit hooks
pre-commit install
python -m pytest tests
Releasing
Update the version in pyproject.toml
version='X.Y.Z'
Create a git tag and push
git tag vX.Y.Z
git push --tags
Then create a release via github.
If you mess up and need to edit things
Remove old tag and re-tag
git tag -d vX.Y.Z
git tag vX.Y.Z
git push -f --tags
Delete previous github release and re-create.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tt_df-0.0.0a1.tar.gz.
File metadata
- Download URL: tt_df-0.0.0a1.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2afe50c985071fb218c5810ec3c198efb42ff4b46f3d977943e7bd899d07d4c9
|
|
| MD5 |
4ee62d603e32affdd257f02f93aa0485
|
|
| BLAKE2b-256 |
1a1b3a5804053054adfef4a9737d7060e53dd2052dfca636a9f68a6213d25171
|
File details
Details for the file tt_df-0.0.0a1-py3-none-any.whl.
File metadata
- Download URL: tt_df-0.0.0a1-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e3f7e12eedcd78280e8d578ec801b9ea10eb3852c5ea923da619d8e669a9ffa
|
|
| MD5 |
587984a6ddf10a501382c8e0fd7767b5
|
|
| BLAKE2b-256 |
51a94dc0161c18c91d361dc0e7c850d914302eedabfa07973037b1d262344c2f
|