Skip to main content

Entity database for organizations, people, roles, and locations with embedding search

Project description

corp-entity-db

Entity database library and search engine for organizations, people, roles, and locations. Provides embedding-based semantic search over entities imported from GLEIF, SEC Edgar, Wikidata, and Companies House.

Installation

pip install corp-entity-db

Usage

from corp_entity_db import OrganizationDatabase, get_database_path

db = OrganizationDatabase(get_database_path())
matches = db.search("Microsoft", limit=10)
for match in matches:
    print(f"{match.record.name} ({match.record.entity_type}) - score: {match.score:.3f}")

CLI

corp-entity-db search "Microsoft"           # Search organizations
corp-entity-db search-people "Tim Cook"      # Search people
corp-entity-db status                        # Show database statistics
corp-entity-db serve                         # Start search server on :8222

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

corp_entity_db-0.1.0.tar.gz (171.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

corp_entity_db-0.1.0-py3-none-any.whl (189.5 kB view details)

Uploaded Python 3

File details

Details for the file corp_entity_db-0.1.0.tar.gz.

File metadata

  • Download URL: corp_entity_db-0.1.0.tar.gz
  • Upload date:
  • Size: 171.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for corp_entity_db-0.1.0.tar.gz
Algorithm Hash digest
SHA256 810bf7c02702b346a48af2ff37372b8f704659d9ce65251bece05fc604d68ae7
MD5 b08f3fabc5ea9f943900c84d331bab7d
BLAKE2b-256 6664336c1a2a3e47edd09c5c0d7acdb55d8c99dd7a1aea496cf6be2313ff1e49

See more details on using hashes here.

File details

Details for the file corp_entity_db-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for corp_entity_db-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5036547c4fa97a6c2f4e39478cfaa6e341ff8e0f7ac4a13eaadaf82d20a3bd1a
MD5 713eb909bc75ceb50b16aabd92775eb6
BLAKE2b-256 0dfa3a3e79fdcb04f43d9af6fd60309881e8675f91a95fe9a034e93716a7149b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page