Hong Kong Companies Registry Search SDK
Project description
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")
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
hkcr-0.1.0.tar.gz
(3.3 kB
view details)
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
hkcr-0.1.0-py3-none-any.whl
(4.5 kB
view details)
File details
Details for the file hkcr-0.1.0.tar.gz.
File metadata
- Download URL: hkcr-0.1.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
496145d4a1ba3b0052a2dc16a6f0fffed3a99f2ddd7e98740310e42f30d72893
|
|
| MD5 |
db41e7ef7eb005aaf131c641f4501a55
|
|
| BLAKE2b-256 |
4970c9209762b9433b3247bb0a978c3b7766965b218a78618ccd1118bdd98be2
|
File details
Details for the file hkcr-0.1.0-py3-none-any.whl.
File metadata
- Download URL: hkcr-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
960e85e052bea59f89dd5114a9b2addee1eb9839d9073be226f0f40a8ee7aacd
|
|
| MD5 |
e0802f108221e1cb17282d75df4ba150
|
|
| BLAKE2b-256 |
7313d3388d5194db5adf6c28bc748e6c8417d7914c8acfa260c0ae0d80935f79
|