Generate Gold Rush key for pymarc records
Project description
goldrush
Note: This is alpha software. If you rely on this library you should do so with the understanding that you might find errors in the Gold Rush key that is generated. Lets make it better together!
goldrush is a Python implementation of the Gold Rush match key algorithm for identifying "duplicate" MARC records, or records that appear to be about the same book. It provides a function that you pass a pymarc Record and get back the Gold Rush key as a string.
goldrush was largely adapted from pymarc_dedupe, which included other functionality unrelated to Gold Rush, and was not available on PyPI as a dependency.
Usage
>>> from goldrush import goldrush
>>> from pymarc import MARCReader
>>> record = next(MARCReader(open('marc.dat', 'rb')))
>>> goldrush(record)
'pragmaticprogrammerfromjourneymantomaster_____________________________2000321____addisa_______________________________________________________hunt________________p'
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 goldrush-0.0.1.tar.gz.
File metadata
- Download URL: goldrush-0.0.1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bec976342d198d2f3cb6878d58dddd481601807619ca1a40e3a398bd500f2979
|
|
| MD5 |
550a153c5a7d36c3bf3ea2272608b8a9
|
|
| BLAKE2b-256 |
7eea4b75cca3dc395cc2c61c319c461c53bcf3bddeabcce94052162f61ef6940
|
File details
Details for the file goldrush-0.0.1-py3-none-any.whl.
File metadata
- Download URL: goldrush-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
940f276b88fe7a0e75a82ba417cc00575a3b559489497e43848fc912f19e68ae
|
|
| MD5 |
6c05bdc79828f5014db8bdfd36576d3c
|
|
| BLAKE2b-256 |
823ad0f489acdfff1d5a9bc773de758df017453619715352717207855245f592
|