This release is a pre-release and may not be stable for production use.
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.
Release files for tt-df 0.0.0a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tt_df-0.0.0a1.tar.gz | 5.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tt_df-0.0.0a1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.7 kB
Release files / tt_df-0.0.0a1.tar.gz
| Download URL | tt_df-0.0.0a1.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2afe50c985071fb218c5810ec3c198efb42ff4b46f3d977943e7bd899d07d4c9
|
|
BLAKE2b-256 checksum How to use checksums |
1a1b3a5804053054adfef4a9737d7060e53dd2052dfca636a9f68a6213d25171
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / tt_df-0.0.0a1-py3-none-any.whl
| Download URL | tt_df-0.0.0a1-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3e3f7e12eedcd78280e8d578ec801b9ea10eb3852c5ea923da619d8e669a9ffa
|
|
BLAKE2b-256 checksum How to use checksums |
51a94dc0161c18c91d361dc0e7c850d914302eedabfa07973037b1d262344c2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|