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
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
Built Distribution
Close
Hashes for java_code_chunker-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1974d0bd4d3909022aa550f09fe47b09259d93ca2258d547be5921ecf5362579 |
|
MD5 | 355ba2416d35685323c3d1c80a062bdb |
|
BLAKE2b-256 | 520999b6076dd6178d5a5b181d39fe0762df31a8f36d7ea5cda532e4c065c87a |