Skip to main content

Chunks Java type and member code extracts into a list made up of indexable dictionaries.

Project description

= java-code-chunker

Python library that chunks Java packages, methods, and variables into a Python list consisting of a number of Python dictionaries. This list of dictionaries can then be used for vector-store creation, which can provide granular context for OpenAI queries.

== Contributing

The GitHub repository for this package is https://github.com/break-free/java-code-chunker.

The `main` branch is protected therefore any contributions require a branch to be created. Branch names should be preprended with either `feature_` or `fix_` to indicate whether new functionality or a refactor/fix is being made (e.g, `fix_update-readme`). Once the branch is complete, it can be merged back into `main`.

The repository includes additional directories, such as `setup`, `info`, and `training`, and files, such as `main.py`, that includes additional resources for development and usage examples.

== Packaging

This Python package was produced using https://hatch.pypa.io/latest/config/build/[hatchling]. Refer to the `pyproject.toml` for specifics.

Recommend reading the following sites to get familiar with Python packages and uploading to https://pypi.org.

* https://packaging.python.org/en/latest/tutorials/packaging-projects/[Packaging Python Projects].
* https://hatch.pypa.io/latest/config/build/[Hatchling - Build Configuration].
* https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#uploading-your-project-to-pypi[Uploading your Project to PyPI].
* https://pypi.org/project/keyring/[keyring] (useful for keeping PyPI login safe).

== Notes

This code has been battle-tested with *one* application. If you encounter any issues then please https://github.com/break-free/java-code-chunker/issues[submit an issue ticket here on GitHub].

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

java_code_chunker-0.2.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

java_code_chunker-0.2.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file java_code_chunker-0.2.0.tar.gz.

File metadata

  • Download URL: java_code_chunker-0.2.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for java_code_chunker-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7e2788c3f94c330018df84124520bbdb035e3d04ae35504a408115b729899473
MD5 106ad673112c58dbd2917c8bb446c0db
BLAKE2b-256 67fe8f445c211bbb3d7552d21eade70f53e2c8dce2552ff39704c61e45cea395

See more details on using hashes here.

File details

Details for the file java_code_chunker-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for java_code_chunker-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1974d0bd4d3909022aa550f09fe47b09259d93ca2258d547be5921ecf5362579
MD5 355ba2416d35685323c3d1c80a062bdb
BLAKE2b-256 520999b6076dd6178d5a5b181d39fe0762df31a8f36d7ea5cda532e4c065c87a

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