Pycodehash

Latest version: v0.7.0

Safety actively analyzes 685507 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.7.0

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
Enhancements
* ENH: Supercharges transforming source to canonical form. Source preprocessing via `ruff` by sbrugman in https://github.com/pycodehash/pycodehash/pull/87
* ENH: Copy to tempdir by default
* ENH: Prefix hash with c_ to ensure syntactic validity
Fixes
* FIX: DocstringStripper returns valid syntax for empty functions by sbrugman in https://github.com/pycodehash/pycodehash/pull/86
Chores
* DOC(readme): Juxtaposition of two equivalent examples in README
* DOC(python): explain why we can't use `hash()` or `hashlib` by sbrugman in https://github.com/pycodehash/pycodehash/pull/84
* DOC(python): pure functions refactor by sbrugman in https://github.com/pycodehash/pycodehash/pull/85


**Full Changelog**: https://github.com/pycodehash/pycodehash/compare/v0.6.0...v0.7.0

0.6.0

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
Enhancements
* ENH(sql): filter out inline and block comments by sbrugman in https://github.com/pycodehash/pycodehash/pull/81
Fixes
* FIX(sql): handle empty query in SQLHasher by sbrugman in https://github.com/pycodehash/pycodehash/pull/79
Chores
* DOC(sql): reorder sentences dialect by sbrugman in https://github.com/pycodehash/pycodehash/pull/83
* REL: version bump to v0.6.0 by sbrugman in https://github.com/pycodehash/pycodehash/pull/82


**Full Changelog**: https://github.com/pycodehash/pycodehash/compare/v0.5.0...v0.6.0

0.5.0

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
Enhancements
* ENH(datasets): make s3 client configurable for dataset hashing by mbaak in https://github.com/pycodehash/pycodehash/pull/66
* ENH(sql): switch to SQLAnalyze by sbrugman in https://github.com/pycodehash/pycodehash/pull/69
* ENH(sql): invariance of SQL to default database name by sbrugman in https://github.com/pycodehash/pycodehash/pull/76
Chores
* MAINT: move `hash_file_full` to hashing.py by sbrugman in https://github.com/pycodehash/pycodehash/pull/64
* REL: bump up version to 0.5.0 by mbaak in https://github.com/pycodehash/pycodehash/pull/67
* PKG: update pre-commit by sbrugman in https://github.com/pycodehash/pycodehash/pull/68
* DOC: paragraph on pure functions by sbrugman in https://github.com/pycodehash/pycodehash/pull/70
* DOC: fix markdown links in SQL docs by sbrugman in https://github.com/pycodehash/pycodehash/pull/72
* DOC: extend and fix dependencies section in the docs by sbrugman in https://github.com/pycodehash/pycodehash/pull/71
* CI: enable dependabot for automatic version update PRs by sbrugman in https://github.com/pycodehash/pycodehash/pull/73
* PKG: enable markdownlint by sbrugman in https://github.com/pycodehash/pycodehash/pull/74
* DOC: example for hashing SQL files in git by sbrugman in https://github.com/pycodehash/pycodehash/pull/75
* PKG: prevent tests breaking with `moto` 4 by sbrugman in https://github.com/pycodehash/pycodehash/pull/77
* DOC: explicit markdownlint config by sbrugman in https://github.com/pycodehash/pycodehash/pull/78


**Full Changelog**: https://github.com/pycodehash/pycodehash/compare/v0.4.0...v0.5.0

0.4.0

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
Enhancements
* ENH: support CTE expressions for SQL reference detection by sbrugman in https://github.com/pycodehash/pycodehash/pull/61
Fixes
* FIX: HiveTableHash backwards compatibility by sbrugman in https://github.com/pycodehash/pycodehash/pull/62
Chores
* DOC: PyPI badge number of downloads by sbrugman in https://github.com/pycodehash/pycodehash/pull/58
* TYP: Typing mypy by sbrugman in https://github.com/pycodehash/pycodehash/pull/56
* MAINT: move Python-function-related functionality to own module by sbrugman in https://github.com/pycodehash/pycodehash/pull/59
* MAINT: use instance type hints instead of types in docstring by sbrugman in https://github.com/pycodehash/pycodehash/pull/60
* REL: bump to v0.4.0 by sbrugman in https://github.com/pycodehash/pycodehash/pull/63


**Full Changelog**: https://github.com/pycodehash/pycodehash/compare/v0.3.0...v0.4.0

0.3.0

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
Enhancements
* ENH: SQL find table references by sbrugman in https://github.com/pycodehash/pycodehash/pull/50
* ENH: Add functionality to hash Python dependencies through their version by mbaak in https://github.com/pycodehash/pycodehash/pull/49
* ENH: visitors for SQL enriched table references by sbrugman in https://github.com/pycodehash/pycodehash/pull/52
* ENH: added possibility to hash a directory of files on s3 by mbaak in https://github.com/pycodehash/pycodehash/pull/57
Chores
* DOC: change contact information authors by RUrlus in https://github.com/pycodehash/pycodehash/pull/48
* CICD: require at least one label for a PR by sbrugman in https://github.com/pycodehash/pycodehash/pull/54
* DOC: include Python Dependencies in docs by sbrugman in https://github.com/pycodehash/pycodehash/pull/53
* REL: version bump by sbrugman in https://github.com/pycodehash/pycodehash/pull/55


**Full Changelog**: https://github.com/pycodehash/pycodehash/compare/v0.2.0...v0.3.0

0.2.0

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
Changes
* CHG: make project store iterable by sbrugman in https://github.com/pycodehash/pycodehash/pull/27
* CHG: the `PartitionedApproximateHasher` base class now handles the hashing of partitions by sbrugman in https://github.com/pycodehash/pycodehash/pull/31
* CHG: Add second check on location resource as module may not have resource by RUrlus in https://github.com/pycodehash/pycodehash/pull/36
Enhancements
* ENH: improved handling of unsupported built-in functions by RUrlus in https://github.com/pycodehash/pycodehash/pull/23
* ENH: consider Python as dataset using .pyc metadata by sbrugman in https://github.com/pycodehash/pycodehash/pull/29
* ENH: added the PythonModuleHasher by sbrugman in https://github.com/pycodehash/pycodehash/pull/34
* ENH: Add store location of traced calls for downstream use by RUrlus in https://github.com/pycodehash/pycodehash/pull/44
Fixes
* FIX: metadata should be invariant to key order by sbrugman in https://github.com/pycodehash/pycodehash/pull/30
* FIX: prevent find_definition error when module resource is empty by sbrugman in https://github.com/pycodehash/pycodehash/pull/35
* FIX: Add workaround for rope selecting the wrong name for chained calls by RUrlus in https://github.com/pycodehash/pycodehash/pull/43
Chores
* DOC: fix the list formatting on the SQL Queries page by sbrugman in https://github.com/pycodehash/pycodehash/pull/20
* DOC: use main branch in README links by sbrugman in https://github.com/pycodehash/pycodehash/pull/21
* TST: extend tests, various improvements and measure coverage by sbrugman in https://github.com/pycodehash/pycodehash/pull/24
* DOC: restrict status badge GitHub actions to `main` branch by sbrugman in https://github.com/pycodehash/pycodehash/pull/25
* PKG: enable a larger set of ruff linting rules and fix lint violations by sbrugman in https://github.com/pycodehash/pycodehash/pull/26
* DOC: refine dataset documentation by sbrugman in https://github.com/pycodehash/pycodehash/pull/28
* TYP: fix type hints in TypeHintStripper by sbrugman in https://github.com/pycodehash/pycodehash/pull/32
* MAINT: typo by sbrugman in https://github.com/pycodehash/pycodehash/pull/33
* TST: test hash_file_full by sbrugman in https://github.com/pycodehash/pycodehash/pull/37
* CICD: automate MkDocs deployments on merge to main by sbrugman in https://github.com/pycodehash/pycodehash/pull/38
* MAINT: move tracing utilities to tracing module by RUrlus in https://github.com/pycodehash/pycodehash/pull/39
* CICD: GitHub Actions docs automated deployment fix by sbrugman in https://github.com/pycodehash/pycodehash/pull/40
* DOC: consistent PyCodeHash naming by sbrugman in https://github.com/pycodehash/pycodehash/pull/41
* DOC: update examples with new syntax by sbrugman in https://github.com/pycodehash/pycodehash/pull/42
* DOC: Examples fix by sbrugman in https://github.com/pycodehash/pycodehash/pull/45
* CICD: GitHub Releases config by sbrugman in https://github.com/pycodehash/pycodehash/pull/46
* REL: Release of PycodeHash v0.2.0 by RUrlus in https://github.com/pycodehash/pycodehash/pull/47


**Full Changelog**: https://github.com/pycodehash/pycodehash/compare/v0.1.0...v0.2.0

Page 1 of 2

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.