Installation
Ready to get Chunklet-py up and running? Fantastic! This guide will walk you through the installation process, making it as smooth as possible.
The Easy Way
The most straightforward method to install Chunklet-py is by using pip:
And that's all there is to it! You're now ready to start using Chunklet-py.
Optional Dependencies
Chunklet-py offers optional dependencies to unlock additional functionalities, such as document processing or code chunking. You can install these extras using the following syntax:
- Document Processing: For handling
.pdf,.docx,.epub, and other document formats: - Code Chunking: For advanced code analysis and chunking features:
- All Extras: To install all optional dependencies:
The Alternative Way
For those who prefer to build from source, you can clone the repository and install it manually:
But why would you want to do that? The easy way is so much easier.
Contributing to Chunklet-py
Interested in helping make Chunklet-py even better? That's fantastic! Before you dive in, please take a moment to review our Contributing Guide. Here's how you can set up your development environment:
This command installs Chunklet-py in "editable" mode, ensuring that any changes you make to the source code are immediately reflected. The [dev] option includes all the necessary dependencies for running tests and building the documentation.
Now, go forth and code! And remember, good developers always write tests. (Even in a Python project, we appreciate all forms of excellent code examples!)