pixeltable 0.2.12__py3-none-any.whl → 0.2.14__py3-none-any.whl
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.
Potentially problematic release.
This version of pixeltable might be problematic. Click here for more details.
- pixeltable/__init__.py +1 -1
- pixeltable/__version__.py +2 -2
- pixeltable/catalog/column.py +5 -0
- pixeltable/catalog/globals.py +8 -0
- pixeltable/catalog/insertable_table.py +2 -2
- pixeltable/catalog/table.py +27 -9
- pixeltable/catalog/table_version.py +41 -68
- pixeltable/catalog/view.py +3 -3
- pixeltable/dataframe.py +7 -6
- pixeltable/exec/__init__.py +2 -1
- pixeltable/exec/expr_eval_node.py +8 -1
- pixeltable/exec/row_update_node.py +61 -0
- pixeltable/exec/{sql_scan_node.py → sql_node.py} +120 -56
- pixeltable/exprs/__init__.py +1 -2
- pixeltable/exprs/comparison.py +5 -5
- pixeltable/exprs/compound_predicate.py +12 -12
- pixeltable/exprs/expr.py +67 -22
- pixeltable/exprs/function_call.py +60 -29
- pixeltable/exprs/globals.py +2 -0
- pixeltable/exprs/in_predicate.py +3 -3
- pixeltable/exprs/inline_array.py +18 -11
- pixeltable/exprs/is_null.py +5 -5
- pixeltable/exprs/method_ref.py +63 -0
- pixeltable/ext/__init__.py +9 -0
- pixeltable/ext/functions/__init__.py +8 -0
- pixeltable/ext/functions/whisperx.py +45 -5
- pixeltable/ext/functions/yolox.py +60 -14
- pixeltable/func/aggregate_function.py +10 -4
- pixeltable/func/callable_function.py +16 -4
- pixeltable/func/expr_template_function.py +1 -1
- pixeltable/func/function.py +12 -2
- pixeltable/func/function_registry.py +26 -9
- pixeltable/func/udf.py +32 -4
- pixeltable/functions/__init__.py +1 -1
- pixeltable/functions/fireworks.py +33 -0
- pixeltable/functions/globals.py +36 -1
- pixeltable/functions/huggingface.py +155 -7
- pixeltable/functions/image.py +242 -40
- pixeltable/functions/openai.py +214 -0
- pixeltable/functions/string.py +600 -8
- pixeltable/functions/timestamp.py +210 -0
- pixeltable/functions/together.py +106 -0
- pixeltable/functions/video.py +28 -10
- pixeltable/functions/whisper.py +32 -0
- pixeltable/globals.py +3 -3
- pixeltable/io/__init__.py +1 -1
- pixeltable/io/globals.py +186 -5
- pixeltable/io/label_studio.py +42 -2
- pixeltable/io/pandas.py +70 -34
- pixeltable/metadata/__init__.py +1 -1
- pixeltable/metadata/converters/convert_18.py +39 -0
- pixeltable/metadata/notes.py +10 -0
- pixeltable/plan.py +82 -7
- pixeltable/tool/create_test_db_dump.py +4 -5
- pixeltable/tool/doc_plugins/griffe.py +81 -0
- pixeltable/tool/doc_plugins/mkdocstrings.py +6 -0
- pixeltable/tool/doc_plugins/templates/material/udf.html.jinja +135 -0
- pixeltable/type_system.py +15 -14
- pixeltable/utils/s3.py +1 -1
- pixeltable-0.2.14.dist-info/METADATA +206 -0
- {pixeltable-0.2.12.dist-info → pixeltable-0.2.14.dist-info}/RECORD +64 -56
- pixeltable-0.2.14.dist-info/entry_points.txt +3 -0
- pixeltable/exprs/image_member_access.py +0 -96
- pixeltable/exprs/predicate.py +0 -44
- pixeltable-0.2.12.dist-info/METADATA +0 -137
- {pixeltable-0.2.12.dist-info → pixeltable-0.2.14.dist-info}/LICENSE +0 -0
- {pixeltable-0.2.12.dist-info → pixeltable-0.2.14.dist-info}/WHEEL +0 -0
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: pixeltable
|
|
3
|
-
Version: 0.2.12
|
|
4
|
-
Summary: Pixeltable: The Multimodal AI Data Plane
|
|
5
|
-
Author: Pixeltable, Inc.
|
|
6
|
-
Author-email: contact@pixeltable.com
|
|
7
|
-
Requires-Python: >=3.9,<4.0
|
|
8
|
-
Classifier: Programming Language :: Python :: 3
|
|
9
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
10
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
11
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
13
|
-
Requires-Dist: av (>=10.0.0)
|
|
14
|
-
Requires-Dist: beautifulsoup4 (>=4.0.0,<5.0.0)
|
|
15
|
-
Requires-Dist: cloudpickle (>=2.2.1,<3.0.0)
|
|
16
|
-
Requires-Dist: ftfy (>=6.2.0,<7.0.0)
|
|
17
|
-
Requires-Dist: jinja2 (>=3.1.3,<4.0.0)
|
|
18
|
-
Requires-Dist: jmespath (>=1.0.1,<2.0.0)
|
|
19
|
-
Requires-Dist: mistune (>=3.0.2,<4.0.0)
|
|
20
|
-
Requires-Dist: more-itertools (>=10.2,<11.0)
|
|
21
|
-
Requires-Dist: numpy (>=1.25)
|
|
22
|
-
Requires-Dist: opencv-python-headless (>=4.7.0.68,<5.0.0.0)
|
|
23
|
-
Requires-Dist: pandas (>=2.0,<3.0)
|
|
24
|
-
Requires-Dist: pgserver (==0.1.4)
|
|
25
|
-
Requires-Dist: pgvector (>=0.2.1,<0.3.0)
|
|
26
|
-
Requires-Dist: pillow (>=9.3.0)
|
|
27
|
-
Requires-Dist: psutil (>=5.9.5,<6.0.0)
|
|
28
|
-
Requires-Dist: psycopg2-binary (>=2.9.5,<3.0.0)
|
|
29
|
-
Requires-Dist: pymupdf (>=1.24.1,<2.0.0)
|
|
30
|
-
Requires-Dist: pyyaml (>=6.0.1,<7.0.0)
|
|
31
|
-
Requires-Dist: requests (>=2.31.0,<3.0.0)
|
|
32
|
-
Requires-Dist: setuptools (==69.1.1)
|
|
33
|
-
Requires-Dist: sqlalchemy[mypy] (>=2.0.23,<3.0.0)
|
|
34
|
-
Requires-Dist: tenacity (>=8.2,<9.0)
|
|
35
|
-
Requires-Dist: tqdm (>=4.64)
|
|
36
|
-
Description-Content-Type: text/markdown
|
|
37
|
-
|
|
38
|
-
<div align="center">
|
|
39
|
-
<img src="https://raw.githubusercontent.com/pixeltable/pixeltable/master/docs/release/pixeltable-banner.png" alt="Pixeltable" width="45%" />
|
|
40
|
-
|
|
41
|
-
# Unifying Data, Models, and Orchestration for AI Products
|
|
42
|
-
|
|
43
|
-
[](https://opensource.org/licenses/Apache-2.0)
|
|
44
|
-

|
|
45
|
-
[]()
|
|
46
|
-
[](https://github.com/pixeltable/pixeltable/actions)
|
|
47
|
-
[](https://pypi.org/project/pixeltable/)
|
|
48
|
-
|
|
49
|
-
[Installation](https://pixeltable.github.io/pixeltable/getting-started/) | [Documentation](https://pixeltable.readme.io/) | [API Reference](https://pixeltable.github.io/pixeltable/) | [Code Samples](https://pixeltable.readme.io/recipes) | [Examples](https://github.com/pixeltable/pixeltable/tree/master/docs/release/tutorials)
|
|
50
|
-
</div>
|
|
51
|
-
|
|
52
|
-
Pixeltable is a Python library that lets AI engineers and data scientists focus on exploration, modeling, and app development without dealing with the customary data plumbing.
|
|
53
|
-
|
|
54
|
-
## What problems does Pixeltable solve?
|
|
55
|
-
|
|
56
|
-
Today’s solutions for AI app development require extensive custom coding and infrastructure plumbing. Tracking lineage and versions between and across data transformations, models, and deployment is cumbersome. With Pixeltable you can store, transform, index, and iterate on your data within the same table interface, whether it's text, images, embeddings, or even video. Built-in lineage and versioning ensure transparency and reproducibility, while the development-to-production mirror streamlines deployment.
|
|
57
|
-
|
|
58
|
-
## 💾 Installation
|
|
59
|
-
|
|
60
|
-
```python
|
|
61
|
-
%pip install pixeltable
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
To verify that it's working:
|
|
65
|
-
|
|
66
|
-
```python
|
|
67
|
-
import pixeltable as pxt
|
|
68
|
-
pxt.init()
|
|
69
|
-
```
|
|
70
|
-
> [!NOTE]
|
|
71
|
-
> Check out the [Pixeltable Basics](https://pixeltable.readme.io/docs/pixeltable-basics) tutorial for a tour of its most important features.
|
|
72
|
-
|
|
73
|
-
## 💡 Get Started
|
|
74
|
-
Learn how to create tables, populate them with data, and enhance them with built-in or user-defined transformations and AI operations.
|
|
75
|
-
|
|
76
|
-
| Topic | Notebook | API |
|
|
77
|
-
|:--------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------:|
|
|
78
|
-
| Get Started | <a target="_blank" href="https://colab.research.google.com/github/pixeltable/pixeltable/blob/master/docs/release/tutorials/pixeltable-basics.ipynb"> <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/> </a> | [](https://pixeltable.github.io/pixeltable/api/pixeltable/) |
|
|
79
|
-
| User-Defined Functions (UDFs) | <a target="_blank" href="https://colab.research.google.com/github/pixeltable/pixeltable/blob/master/docs/release/howto/udfs-in-pixeltable.ipynb"> <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/> </a> | [](https://pixeltable.github.io/pixeltable/api/iterators/document-splitter/) |
|
|
80
|
-
| Comparing Object Detection Models | <a target="_blank" href="https://colab.research.google.com/github/pixeltable/pixeltable/blob/master/docs/release/tutorials/object-detection-in-videos.ipynb"> <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/> </a> | [](https://pixeltable.github.io/pixeltable/api-cheat-sheet/#frame-extraction-for-video-data) |
|
|
81
|
-
| Experimenting with Chunking (RAG) | <a target="_blank" href="https://colab.research.google.com/github/pixeltable/pixeltable/blob/master/docs/release/tutorials/rag-operations.ipynb"> <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/> | [](https://pixeltable.github.io/pixeltable/api/iterators/document-splitter/) |
|
|
82
|
-
| Working with External Files | <a target="_blank" href="https://colab.research.google.com/github/pixeltable/pixeltable/blob/master/docs/release/howto/working-with-external-files.ipynb"> <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/> </a> | [](https://pixeltable.github.io/pixeltable/api-cheat-sheet/#inserting-data-into-a-table) |
|
|
83
|
-
|
|
84
|
-
## ❓ FAQ
|
|
85
|
-
|
|
86
|
-
### What does Pixeltable provide me with? Pixeltable provides:
|
|
87
|
-
|
|
88
|
-
- Data storage and versioning
|
|
89
|
-
- Combined Data and Model Lineage
|
|
90
|
-
- Indexing (e.g. embedding vectors) and Data Retrieval
|
|
91
|
-
- Orchestration of multimodal workloads
|
|
92
|
-
- Incremental updates
|
|
93
|
-
- Code is automatically production-ready
|
|
94
|
-
|
|
95
|
-
### Why should you use Pixeltable?
|
|
96
|
-
|
|
97
|
-
- **It gives you transparency and reproducibility**
|
|
98
|
-
- All generated data is automatically recorded and versioned
|
|
99
|
-
- You will never need to re-run a workload because you lost track of the input data
|
|
100
|
-
- **It saves you money**
|
|
101
|
-
- All data changes are automatically incremental
|
|
102
|
-
- You never need to re-run pipelines from scratch because you’re adding data
|
|
103
|
-
- **It integrates with any existing Python code or libraries**
|
|
104
|
-
- Bring your ever-changing code and workloads
|
|
105
|
-
- You choose the models, tools, and AI practices (e.g., your embedding model for a vector index); Pixeltable orchestrates the data
|
|
106
|
-
|
|
107
|
-
### What is Pixeltable not providing?
|
|
108
|
-
|
|
109
|
-
- Pixeltable is not a low-code, prescriptive AI solution. We empower you to use the best frameworks and techniques for your specific needs.
|
|
110
|
-
- We do not aim to replace your existing AI toolkit, but rather enhance it by streamlining the underlying data infrastructure and orchestration.
|
|
111
|
-
|
|
112
|
-
> [!TIP]
|
|
113
|
-
> Check out the [Integrations](https://pixeltable.readme.io/docs/working-with-openai) section, and feel free to submit a request for additional ones.
|
|
114
|
-
|
|
115
|
-
## 📙 Example of Use Cases
|
|
116
|
-
|
|
117
|
-
- **Interact with video data at the frame level** without having to think about frame extraction, intermediate file storage, or storage space explosion.
|
|
118
|
-
- **Augment your data incrementally and interactively with built-in functions and UDFs**, such as image transformations, model inference, and visualizations, without having to think about data pipelines, incremental updates, or capturing function output.
|
|
119
|
-
- **Interact with all the data relevant to your AI application** (video, images, documents, audio, structured data, JSON) through a simple dataframe-style API directly in Python. This includes:
|
|
120
|
-
- similarity search on embeddings, supported by high-dimensional vector indexing;
|
|
121
|
-
- path expressions and transformations on JSON data;
|
|
122
|
-
- PIL and OpenCV image operations;
|
|
123
|
-
- assembling frames into videos.
|
|
124
|
-
- **Perform keyword and image similarity search at the video frame level** without having to worry about frame storage.
|
|
125
|
-
- **Access all Pixeltable-resident data directly as a PyTorch dataset** in your training scripts.
|
|
126
|
-
- **Understand the compute and storage costs of your data at the granularity** of individual augmentations and get cost projections before adding new data and new augmentations.
|
|
127
|
-
- **Rely on Pixeltable's automatic versioning and snapshot functionality** to protect against regressions and to ensure reproducibility.
|
|
128
|
-
|
|
129
|
-
## 🐛 Contributions & Feedback
|
|
130
|
-
|
|
131
|
-
Are you experiencing issues or bugs with Pixeltable? File an [Issue](https://github.com/pixeltable/pixeltable/issues).
|
|
132
|
-
</br>Do you want to contribute? Feel free to open a [PR](https://github.com/pixeltable/pixeltable/pulls).
|
|
133
|
-
|
|
134
|
-
## :classical_building: License
|
|
135
|
-
|
|
136
|
-
This library is licensed under the Apache 2.0 License.
|
|
137
|
-
|
|
File without changes
|
|
File without changes
|