Skip to main content

Sector/industry classifier for equities

Package to retrieve sector/industry assignments based on a flexible connector architecture for different data sources

Features

  • retrieve sector / industry classification for companies with listed equities
  • support different types of equities identifier types cation (i. e. ISIN ...)
  • support different classificaiton data sources
  • extendable arhcitecture for additional data sources

Due to license issues for MSCI GICS only first two levels are retrievable.

Development

To set up hatch and pre-commit for the first time:

  1. install hatch globally, e.g. with pipx, i.e. pipx install hatch,
  2. make sure pre-commit is installed globally, e.g. with pipx install pre-commit.

A special feature that makes hatch very different from other familiar tools is that you almost never activate, or enter, an environment. Instead, you use hatch run env_name:command and the default environment is assumed for a command if there is no colon found. Thus you must always define your environment in a declarative way and hatch makes sure that the environment reflects your declaration by updating it whenever you issue a hatch run .... This helps with reproducability and avoids forgetting to specify dependencies since the hatch workflow is to specify everything directly in pyproject.toml. Only in rare cases, you will use hatch shell to enter the default environment, which is similar to what you may know from other tools.

To get you started, use hatch run test:cov or hatch run test:no-cov to run the unitest with or without coverage reports, respectively. Use hatch run lint:all to run all kinds of typing and linting checks. Try to automatically fix linting problems with hatch run lint:fix and use hatch run docs:serve to build and serve your documentation. You can also easily define your own environments and commands. Check out the environment setup of hatch in pyproject.toml for more commands as well as the package, build and tool configuration.

To support versioning and changelog generation please refer to the toolchain selected during package generation (see also pyproject.toml). If not deselected, the toolchain includes a pre-commit hook for linting commit messages to ensure commit messages are compliant with the conventional commit format and support an automated changelog generation.

Credits

This package was created with The Hatchlor Enhanced project template. This template is based on The Hatchlor but was substantially improved.

Download files

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

Source Distribution

equities_classifier-0.8.0.tar.gz (33.1 kB view details)

Uploaded Source

Built Distribution

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

equities_classifier-0.8.0-py3-none-any.whl (43.0 kB view details)

Uploaded Python 3

File details

Details for the file equities_classifier-0.8.0.tar.gz.

File metadata

  • Download URL: equities_classifier-0.8.0.tar.gz
  • Upload date:
  • Size: 33.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for equities_classifier-0.8.0.tar.gz
Algorithm Hash digest
SHA256 150fe1b482d5d56766125349b2af18321449b64e188d8d2e44cad4a80ec8d4c0
MD5 e7a6ae09483216ccad87af0abe2f2799
BLAKE2b-256 90a3131b3cbb250b0642babbcb01842f01415b3722a6bfce11a6eb68f53c2e3e

See more details on using hashes here.

Provenance

The following attestation bundles were made for equities_classifier-0.8.0.tar.gz:

Publisher: build.yml on dornech/equities-classifier

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file equities_classifier-0.8.0-py3-none-any.whl.

File metadata

File hashes

Hashes for equities_classifier-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5ed6ec36683030d823ba953c9d2ec3a0c3f397bf9aa6c6889be2798859d638a3
MD5 7b1d518cba7721254828b4e615458c33
BLAKE2b-256 2d7230b2451b6fe006bb64fd90778d6d168fab3cebfaed166393777631d01331

See more details on using hashes here.

Provenance

The following attestation bundles were made for equities_classifier-0.8.0-py3-none-any.whl:

Publisher: build.yml on dornech/equities-classifier

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.8.0 This release

2 files

Supported by

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