Python binding for xxHash library providing fast non-cryptographic hash algorithms
Overall
score
80%
Evaluation — 80%
↑ 1.03xAgent success when using this tile
Build a utility that retrieves and formats version information from the xxhash package.
Create a module that accesses version information from the xxhash library and formats it for display or logging purposes.
The utility should retrieve both the Python package version and the underlying xxHash C library version, then format this information into a human-readable string.
@generates
def get_package_version() -> str:
"""
Get the xxhash Python package version.
Returns:
The package version as a string
"""
pass
def get_library_version() -> str:
"""
Get the underlying xxHash C library version.
Returns:
The library version as a string
"""
pass
def format_version_info() -> str:
"""
Format both package and library versions into a readable string.
Returns:
A formatted string containing both version numbers
"""
passFast non-cryptographic hash library providing version information through VERSION and XXHASH_VERSION attributes.
@satisfied-by
Install with Tessl CLI
npx tessl i tessl/pypi-xxhashdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10