Skip to main content

PyPI version License: MIT Downloads LinkedIn

EmbedMan

EmbedMan is a Python package designed to manage embeddings for code analysis efficiently. It facilitates the process of generating and retrieving embeddings from a specified directory of code files, utilizing the power of language models and embedding storage solutions.

Installation

To install EmbedMan, you can use pip:

pip install embedman

Usage

As a Python Module

After installation, EmbedMan can be imported and used in your Python projects.

Example:

from embed_man import EmbedManager

# Initialize the EmbedManager with desired parameters
embed_manager = EmbedManager(
    path="path/to/your/code/directory",
    glob_rule="**/*.py",
    use_cache=True
)

# Run the embedding process and get a retriever for querying embeddings
retriever = embed_manager.run()

# You can now use the retriever to query embeddings

Configurable Parameters

EmbedMan allows various configurations to tailor the embedding process to your needs, including:

  • path: The directory path to scan for documents.
  • glob_rule: Glob pattern to match files within the directory.
  • suffixes: List of file suffixes to include.
  • exclude: List of patterns to exclude.
  • language: Programming language of the documents.
  • parser_threshold: Threshold for the parser to consider a document valid.
  • chunk_size: Size of chunks to split documents into for embedding.
  • chunk_overlap: Overlap between consecutive chunks.
  • cache_dir: Directory path for caching embeddings.
  • namespace_cache: Namespace for the cache to avoid collisions.

Contributing

Contributions, issues, and feature requests are welcome! Feel free to check issues page.

License

MIT

Metadata

Release files for EmbedMan 2025.5.180914

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for EmbedMan 2025.5.180914
File Size Uploaded Provenance Actions
embedman-2025.5.180914.tar.gz 5.5 kB Without provenance Details for embedman-2025.5.180914.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for EmbedMan 2025.5.180914
File Interpreter ABI Platform Actions
embedman-2025.5.180914-py3-none-any.whl Python 3 none any Details for embedman-2025.5.180914-py3-none-any.whl

Total release size: 12.0 kB

Release files / embedman-2025.5.180914.tar.gz

Download URL embedman-2025.5.180914.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6f8c062cd6f51b7af29065df5c9d1059c304fd3e486695cf5d64a210d7de8cf3
BLAKE2b-256 checksum
How to use checksums
c530d53789f92f065139324b2eb12e005b22ffdce5e5293b3fa9555b5f5ba16a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.11

Release files / embedman-2025.5.180914-py3-none-any.whl

Download URL embedman-2025.5.180914-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3cfcb3804b5195b7323caa9c2e100619bf3a1bcd0e3d1df6546a3b314843106b
BLAKE2b-256 checksum
How to use checksums
4a17c67868617b821c91e6c3e82d82b87f919729be3e0745c3ff7f2b575c3602
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.11

Security for EmbedMan 2025.5.180914

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page