hkcr
Hong Kong Companies Registry Search SDK
Installation
pip install hkcr
CLI Usage
# Search local companies by name
hkcr "China"
# Search foreign companies
hkcr -f "HSBC"
# Search by BRN
hkcr -b C1572528
# JSON output
hkcr "China" -j
Python Usage
from hkcr import search_local, search_foreign, SearchOptions
# Search local companies
companies = search_local("China")
for co in companies:
print(f"{co.brn}: {co.english_name}")
# Search by BRN
results = search_local("C1572528", SearchOptions(by_brn=True))
# Search foreign companies
foreign = search_foreign("HSBC")
Metadata
Release files for hkcr 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hkcr-0.1.0.tar.gz | 3.3 kB | Without provenance | Details for hkcr-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hkcr-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for hkcr-0.1.0-py3-none-any.whl |
Total release size: 7.8 kB
Release files / hkcr-0.1.0.tar.gz
| Download URL | hkcr-0.1.0.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
496145d4a1ba3b0052a2dc16a6f0fffed3a99f2ddd7e98740310e42f30d72893
|
|
BLAKE2b-256 checksum How to use checksums |
4970c9209762b9433b3247bb0a978c3b7766965b218a78618ccd1118bdd98be2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / hkcr-0.1.0-py3-none-any.whl
| Download URL | hkcr-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
960e85e052bea59f89dd5114a9b2addee1eb9839d9073be226f0f40a8ee7aacd
|
|
BLAKE2b-256 checksum How to use checksums |
7313d3388d5194db5adf6c28bc748e6c8417d7914c8acfa260c0ae0d80935f79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Security for hkcr 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.