embedkit 0.1.2__tar.gz → 0.1.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: embedkit
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: A simple toolkit for generating vector embeddings across multiple providers and models
5
5
  Author-email: JP Hwang <me@jphwang.com>
6
6
  License: MIT
@@ -1,7 +1,6 @@
1
1
  # ./main.py
2
2
  from embedkit import EmbedKit
3
- from embedkit.models import Model
4
- from embedkit.providers.cohere import CohereInputType
3
+ from embedkit.classes import Model, CohereInputType
5
4
  from pathlib import Path
6
5
  import os
7
6
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "embedkit"
3
- version = "0.1.2"
3
+ version = "0.1.3"
4
4
  description = "A simple toolkit for generating vector embeddings across multiple providers and models"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -0,0 +1,21 @@
1
+ # ./src/embedkit/classes.py
2
+
3
+ """Core types and enums for the EmbedKit library.
4
+
5
+ This module provides the main types and enums that users should interact with:
6
+ - EmbeddingResult: The result type returned by embedding operations
7
+ - EmbeddingError: Exception type for embedding operations
8
+ - Model: Enum of supported embedding models
9
+ - CohereInputType: Enum for Cohere's input types
10
+ """
11
+
12
+ from . import EmbeddingResult, EmbeddingError
13
+ from .models import Model
14
+ from .providers.cohere import CohereInputType
15
+
16
+ __all__ = [
17
+ "EmbeddingResult",
18
+ "EmbeddingError",
19
+ "Model",
20
+ "CohereInputType"
21
+ ]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes