diff --git a/.github/python-package-shared-setup/action.yml b/.github/actions/action.yml similarity index 93% rename from .github/python-package-shared-setup/action.yml rename to .github/actions/action.yml index e9258a2..3835fd6 100644 --- a/.github/python-package-shared-setup/action.yml +++ b/.github/actions/action.yml @@ -19,7 +19,6 @@ runs: shell: bash run: rye pin ${{ inputs.python-version }} - name: Environment setup - working-directory: libs/labelbox shell: bash run: | rye sync -f --update-all diff --git a/.github/workflows/notebooks.yml b/.github/workflows/notebooks.yml index 407490b..2683574 100644 --- a/.github/workflows/notebooks.yml +++ b/.github/workflows/notebooks.yml @@ -2,9 +2,9 @@ name: Labelbox Example Notebook Workflow on: push: - branches: [develop] + branches: [main] pull_request: - branches: [develop] + branches: [main] permissions: contents: write @@ -20,7 +20,7 @@ jobs: with: ref: ${{ github.head_ref }} fetch-depth: 0 - - uses: ./.github/actions/python-package-shared-setup + - uses: ./.github/actions with: python-version: 3.12 - name: Format @@ -60,7 +60,7 @@ jobs: with: ref: ${{ github.head_ref }} fetch-depth: 0 - - uses: ./.github/actions/python-package-shared-setup + - uses: ./.github/actions with: python-version: 3.12 - name: Create readme diff --git a/.github/workflows/rdme-custompages.yml b/.github/workflows/rdme-custompages.yml index 1735386..5bbad40 100644 --- a/.github/workflows/rdme-custompages.yml +++ b/.github/workflows/rdme-custompages.yml @@ -2,7 +2,7 @@ name: ReadMe GitHub Action 🦉 on: pull_request: - branches: [develop] + branches: [main] types: - closed paths: @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: ./.github/actions/python-package-shared-setup + - uses: ./.github/actions with: python-version: 3.12 - name: Create readme diff --git a/.python-version b/.python-version new file mode 100644 index 0000000..455808f --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.12.4 diff --git a/README.md b/README.md index 1523e17..1bc1029 100644 --- a/README.md +++ b/README.md @@ -17,49 +17,49 @@ - Custom Embeddings - Open In Github - Open In Colab + Basics + Open In Github + Open In Colab - Batches - Open In Github - Open In Colab + Projects + Open In Github + Open In Colab Ontologies Open In Github Open In Colab - - Basics - Open In Github - Open In Colab - Quick Start Open In Github Open In Colab + + Data Rows + Open In Github + Open In Colab + Data Row Metadata Open In Github Open In Colab - Projects - Open In Github - Open In Colab + User Management + Open In Github + Open In Colab - Data Rows - Open In Github - Open In Colab + Batches + Open In Github + Open In Colab - User Management - Open In Github - Open In Colab + Custom Embeddings + Open In Github + Open In Colab @@ -76,25 +76,25 @@ - Composite Mask Export - Open In Github - Open In Colab + Exporting to CSV + Open In Github + Open In Colab Export Data Open In Github Open In Colab - - Exporting to CSV - Open In Github - Open In Colab - Export V1 to V2 Migration Support Open In Github Open In Colab + + Composite Mask Export + Open In Github + Open In Colab + @@ -119,16 +119,16 @@ Open In Github Open In Colab - - Multimodal Chat Project - Open In Github - Open In Colab - Webhooks Open In Github Open In Colab + + Multimodal Chat Project + Open In Github + Open In Colab + @@ -144,34 +144,24 @@ - PDF - Open In Github - Open In Colab - - - Conversational - Open In Github - Open In Colab - - - Video - Open In Github - Open In Colab + Tiled + Open In Github + Open In Colab - Text - Open In Github - Open In Colab + Conversational LLM + Open In Github + Open In Colab - DICOM - Open In Github - Open In Colab + HTML + Open In Github + Open In Colab - Tiled - Open In Github - Open In Colab + Conversational LLM Data Generation + Open In Github + Open In Colab Image @@ -179,14 +169,19 @@ Open In Colab - Conversational LLM Data Generation - Open In Github - Open In Colab + PDF + Open In Github + Open In Colab - Conversational LLM - Open In Github - Open In Colab + DICOM + Open In Github + Open In Colab + + + Text + Open In Github + Open In Colab Audio @@ -194,9 +189,14 @@ Open In Colab - HTML - Open In Github - Open In Colab + Conversational + Open In Github + Open In Colab + + + Video + Open In Github + Open In Colab @@ -212,31 +212,31 @@ - - Huggingface Custom Embeddings - Open In Github - Open In Colab - Import YOLOv8 Annotations Open In Github Open In Colab - - Meta SAM - Open In Github - Open In Colab - Meta SAM Video Open In Github Open In Colab + + Meta SAM + Open In Github + Open In Colab + Langchain Open In Github Open In Colab + + Huggingface Custom Embeddings + Open In Github + Open In Colab + @@ -251,11 +251,6 @@ - - Model Predictions to Project - Open In Github - Open In Colab - Custom Metrics Demo Open In Github @@ -271,6 +266,11 @@ Open In Github Open In Colab + + Model Predictions to Project + Open In Github + Open In Colab + @@ -286,9 +286,9 @@ - Geospatial Predictions - Open In Github - Open In Colab + Video Predictions + Open In Github + Open In Colab HTML Predictions @@ -296,14 +296,9 @@ Open In Colab - Conversational LLM Predictions - Open In Github - Open In Colab - - - Image Predictions - Open In Github - Open In Colab + Geospatial Predictions + Open In Github + Open In Colab Conversational Predictions @@ -316,15 +311,20 @@ Open In Colab - Video Predictions - Open In Github - Open In Colab + Conversational LLM Predictions + Open In Github + Open In Colab PDF Predictions Open In Github Open In Colab + + Image Predictions + Open In Github + Open In Colab + diff --git a/annotation_import/audio.ipynb b/annotation_import/audio.ipynb index 437130a..4e05fee 100644 --- a/annotation_import/audio.ipynb +++ b/annotation_import/audio.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/annotation_import/conversational.ipynb b/annotation_import/conversational.ipynb index fd691b9..d3b626e 100644 --- a/annotation_import/conversational.ipynb +++ b/annotation_import/conversational.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/annotation_import/conversational_LLM.ipynb b/annotation_import/conversational_LLM.ipynb index a187099..03edde1 100644 --- a/annotation_import/conversational_LLM.ipynb +++ b/annotation_import/conversational_LLM.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/annotation_import/conversational_LLM_data_generation.ipynb b/annotation_import/conversational_LLM_data_generation.ipynb index 8fb71b8..d0225cf 100644 --- a/annotation_import/conversational_LLM_data_generation.ipynb +++ b/annotation_import/conversational_LLM_data_generation.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/annotation_import/dicom.ipynb b/annotation_import/dicom.ipynb index 3f6aa03..1b39378 100644 --- a/annotation_import/dicom.ipynb +++ b/annotation_import/dicom.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/annotation_import/html.ipynb b/annotation_import/html.ipynb index 5674828..5d99add 100644 --- a/annotation_import/html.ipynb +++ b/annotation_import/html.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/annotation_import/image.ipynb b/annotation_import/image.ipynb index 90ecf21..5671099 100644 --- a/annotation_import/image.ipynb +++ b/annotation_import/image.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/annotation_import/pdf.ipynb b/annotation_import/pdf.ipynb index bcdd0ab..2621a4d 100644 --- a/annotation_import/pdf.ipynb +++ b/annotation_import/pdf.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/annotation_import/text.ipynb b/annotation_import/text.ipynb index c682be2..d775976 100644 --- a/annotation_import/text.ipynb +++ b/annotation_import/text.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/annotation_import/tiled.ipynb b/annotation_import/tiled.ipynb index a5c0ea9..68110a6 100644 --- a/annotation_import/tiled.ipynb +++ b/annotation_import/tiled.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/annotation_import/video.ipynb b/annotation_import/video.ipynb index 8a9369c..ecf61b7 100644 --- a/annotation_import/video.ipynb +++ b/annotation_import/video.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/basics/basics.ipynb b/basics/basics.ipynb index 3b77966..76b953c 100644 --- a/basics/basics.ipynb +++ b/basics/basics.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/basics/batches.ipynb b/basics/batches.ipynb index 870dcbb..055cc25 100644 --- a/basics/batches.ipynb +++ b/basics/batches.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/basics/custom_embeddings.ipynb b/basics/custom_embeddings.ipynb index 4c483ba..3adefb7 100644 --- a/basics/custom_embeddings.ipynb +++ b/basics/custom_embeddings.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/basics/data_row_metadata.ipynb b/basics/data_row_metadata.ipynb index 8a63a07..0d683e2 100644 --- a/basics/data_row_metadata.ipynb +++ b/basics/data_row_metadata.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/basics/data_rows.ipynb b/basics/data_rows.ipynb index f17e6fa..066b19f 100644 --- a/basics/data_rows.ipynb +++ b/basics/data_rows.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/basics/ontologies.ipynb b/basics/ontologies.ipynb index 0058424..10af969 100644 --- a/basics/ontologies.ipynb +++ b/basics/ontologies.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/basics/projects.ipynb b/basics/projects.ipynb index 6bebba7..1cc59af 100644 --- a/basics/projects.ipynb +++ b/basics/projects.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/basics/quick_start.ipynb b/basics/quick_start.ipynb index c8fa37f..9b5a0b9 100644 --- a/basics/quick_start.ipynb +++ b/basics/quick_start.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/basics/user_management.ipynb b/basics/user_management.ipynb index ffe6564..11574f9 100644 --- a/basics/user_management.ipynb +++ b/basics/user_management.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/exports/composite_mask_export.ipynb b/exports/composite_mask_export.ipynb index 206637d..8be87d3 100644 --- a/exports/composite_mask_export.ipynb +++ b/exports/composite_mask_export.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/exports/export_data.ipynb b/exports/export_data.ipynb index 0054a2d..a16df5b 100644 --- a/exports/export_data.ipynb +++ b/exports/export_data.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/exports/export_v1_to_v2_migration_support.ipynb b/exports/export_v1_to_v2_migration_support.ipynb index 9fed974..606621e 100644 --- a/exports/export_v1_to_v2_migration_support.ipynb +++ b/exports/export_v1_to_v2_migration_support.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/exports/exporting_to_csv.ipynb b/exports/exporting_to_csv.ipynb index 80d906c..08a794d 100644 --- a/exports/exporting_to_csv.ipynb +++ b/exports/exporting_to_csv.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/foundry/object_detection.ipynb b/foundry/object_detection.ipynb index 5cf092b..6184abf 100644 --- a/foundry/object_detection.ipynb +++ b/foundry/object_detection.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/integrations/huggingface/huggingface_custom_embeddings.ipynb b/integrations/huggingface/huggingface_custom_embeddings.ipynb index e86fe85..9a25f21 100644 --- a/integrations/huggingface/huggingface_custom_embeddings.ipynb +++ b/integrations/huggingface/huggingface_custom_embeddings.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/integrations/langchain/langchain.ipynb b/integrations/langchain/langchain.ipynb index f6653d0..e053213 100644 --- a/integrations/langchain/langchain.ipynb +++ b/integrations/langchain/langchain.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/integrations/sam/meta_sam.ipynb b/integrations/sam/meta_sam.ipynb index 4802f76..07854cc 100644 --- a/integrations/sam/meta_sam.ipynb +++ b/integrations/sam/meta_sam.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/integrations/sam/meta_sam_video.ipynb b/integrations/sam/meta_sam_video.ipynb index 76e6410..ca42808 100644 --- a/integrations/sam/meta_sam_video.ipynb +++ b/integrations/sam/meta_sam_video.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/integrations/yolo/import_yolov8_annotations.ipynb b/integrations/yolo/import_yolov8_annotations.ipynb index 3e79b66..446ba45 100644 --- a/integrations/yolo/import_yolov8_annotations.ipynb +++ b/integrations/yolo/import_yolov8_annotations.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/model_experiments/custom_metrics_basics.ipynb b/model_experiments/custom_metrics_basics.ipynb index 0face2b..a2cddc4 100644 --- a/model_experiments/custom_metrics_basics.ipynb +++ b/model_experiments/custom_metrics_basics.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/model_experiments/custom_metrics_demo.ipynb b/model_experiments/custom_metrics_demo.ipynb index 28a63c0..2e6a0f3 100644 --- a/model_experiments/custom_metrics_demo.ipynb +++ b/model_experiments/custom_metrics_demo.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/model_experiments/model_predictions_to_project.ipynb b/model_experiments/model_predictions_to_project.ipynb index ee86ff1..78a5dec 100644 --- a/model_experiments/model_predictions_to_project.ipynb +++ b/model_experiments/model_predictions_to_project.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/model_experiments/model_slices.ipynb b/model_experiments/model_slices.ipynb index 91575a4..3c16540 100644 --- a/model_experiments/model_slices.ipynb +++ b/model_experiments/model_slices.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/prediction_upload/conversational_LLM_predictions.ipynb b/prediction_upload/conversational_LLM_predictions.ipynb index 7d0b889..c4fffff 100644 --- a/prediction_upload/conversational_LLM_predictions.ipynb +++ b/prediction_upload/conversational_LLM_predictions.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/prediction_upload/conversational_predictions.ipynb b/prediction_upload/conversational_predictions.ipynb index 1b6da1f..0892ff9 100644 --- a/prediction_upload/conversational_predictions.ipynb +++ b/prediction_upload/conversational_predictions.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/prediction_upload/geospatial_predictions.ipynb b/prediction_upload/geospatial_predictions.ipynb index d9035b9..6be8174 100644 --- a/prediction_upload/geospatial_predictions.ipynb +++ b/prediction_upload/geospatial_predictions.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/prediction_upload/html_predictions.ipynb b/prediction_upload/html_predictions.ipynb index f78f256..cc18a4b 100644 --- a/prediction_upload/html_predictions.ipynb +++ b/prediction_upload/html_predictions.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/prediction_upload/image_predictions.ipynb b/prediction_upload/image_predictions.ipynb index 69add64..18583b3 100644 --- a/prediction_upload/image_predictions.ipynb +++ b/prediction_upload/image_predictions.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/prediction_upload/pdf_predictions.ipynb b/prediction_upload/pdf_predictions.ipynb index b50d0c3..9bc86d3 100644 --- a/prediction_upload/pdf_predictions.ipynb +++ b/prediction_upload/pdf_predictions.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/prediction_upload/text_predictions.ipynb b/prediction_upload/text_predictions.ipynb index 7e4cd04..307669f 100644 --- a/prediction_upload/text_predictions.ipynb +++ b/prediction_upload/text_predictions.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/prediction_upload/video_predictions.ipynb b/prediction_upload/video_predictions.ipynb index 1157f44..5652e6a 100644 --- a/prediction_upload/video_predictions.ipynb +++ b/prediction_upload/video_predictions.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/project_configuration/multimodal_chat_project.ipynb b/project_configuration/multimodal_chat_project.ipynb index c2f7410..6089f44 100644 --- a/project_configuration/multimodal_chat_project.ipynb +++ b/project_configuration/multimodal_chat_project.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/project_configuration/project_setup.ipynb b/project_configuration/project_setup.ipynb index 2733332..d54f9f0 100644 --- a/project_configuration/project_setup.ipynb +++ b/project_configuration/project_setup.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/project_configuration/queue_management.ipynb b/project_configuration/queue_management.ipynb index a412538..3d20236 100644 --- a/project_configuration/queue_management.ipynb +++ b/project_configuration/queue_management.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/project_configuration/webhooks.ipynb b/project_configuration/webhooks.ipynb index 36b6f97..488d65b 100644 --- a/project_configuration/webhooks.ipynb +++ b/project_configuration/webhooks.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ], diff --git a/pyproject.toml b/pyproject.toml index 94147b5..3b5d12a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,11 +12,9 @@ dependencies = [] Homepage = "https://labelbox.com/" Documentation = "https://docs.labelbox.com/" Tutorials = "https://docs.labelbox.com/page/tutorials" -Repository = "https://github.com/Labelbox/labelbox-python/examples" -Issues = "https://github.com/Labelbox/labelbox-python/issues" +Repository = "https://github.com/Labelbox/labelbox-notebooks" [tool.rye] -managed = true virtual = true dev-dependencies = [ "yapf>=0.40.2", diff --git a/requirements-dev.lock b/requirements-dev.lock new file mode 100644 index 0000000..ce6e8f2 --- /dev/null +++ b/requirements-dev.lock @@ -0,0 +1,105 @@ +# generated by rye +# use `rye lock` or `rye sync` to update this lockfile +# +# last locked with the following flags: +# pre: false +# features: [] +# all-features: false +# with-sources: false +# generate-hashes: false +# universal: false + +annotated-types==0.7.0 + # via pydantic +asttokens==2.4.1 + # via stack-data +black==24.4.2 +click==8.1.7 + # via black + # via typer +commonmark==0.9.1 + # via rich +databooks==1.3.10 +decorator==5.1.1 + # via ipython +executing==2.0.1 + # via stack-data +gitdb==4.0.11 + # via gitpython +gitpython==3.1.43 + # via databooks +importlib-metadata==8.2.0 + # via yapf +ipython==8.26.0 + # via black +jedi==0.19.1 + # via ipython +matplotlib-inline==0.1.7 + # via ipython +mypy-extensions==1.0.0 + # via black +numpy==2.0.1 + # via pandas +packaging==24.1 + # via black +pandas==2.2.2 +parso==0.8.4 + # via jedi +pathspec==0.12.1 + # via black +pexpect==4.9.0 + # via ipython +platformdirs==4.2.2 + # via black + # via yapf +prompt-toolkit==3.0.47 + # via ipython +ptyprocess==0.7.0 + # via pexpect +pure-eval==0.2.3 + # via stack-data +pydantic==2.8.2 + # via databooks +pydantic-core==2.20.1 + # via pydantic +pygments==2.18.0 + # via ipython + # via rich +python-dateutil==2.9.0.post0 + # via pandas +pytz==2024.1 + # via pandas +rich==12.6.0 + # via databooks + # via typer +shellingham==1.5.4 + # via typer +six==1.16.0 + # via asttokens + # via python-dateutil +smmap==5.0.1 + # via gitdb +stack-data==0.6.3 + # via ipython +tokenize-rt==5.2.0 + # via black +tomli==2.0.1 + # via databooks + # via yapf +traitlets==5.14.3 + # via ipython + # via matplotlib-inline +typer==0.12.3 + # via databooks +typing-extensions==4.12.2 + # via databooks + # via pydantic + # via pydantic-core + # via typer +tzdata==2024.1 + # via pandas +wcwidth==0.2.13 + # via prompt-toolkit +yapf==0.40.2 +zipp==3.19.2 + # via importlib-metadata diff --git a/requirements.lock b/requirements.lock new file mode 100644 index 0000000..454ee21 --- /dev/null +++ b/requirements.lock @@ -0,0 +1,11 @@ +# generated by rye +# use `rye lock` or `rye sync` to update this lockfile +# +# last locked with the following flags: +# pre: false +# features: [] +# all-features: false +# with-sources: false +# generate-hashes: false +# universal: false + diff --git a/scripts/__pycache__/format_notebooks.cpython-312.pyc b/scripts/__pycache__/format_notebooks.cpython-312.pyc new file mode 100644 index 0000000..12b6e6f Binary files /dev/null and b/scripts/__pycache__/format_notebooks.cpython-312.pyc differ diff --git a/scripts/__pycache__/generate_readme.cpython-312.pyc b/scripts/__pycache__/generate_readme.cpython-312.pyc new file mode 100644 index 0000000..5c47b04 Binary files /dev/null and b/scripts/__pycache__/generate_readme.cpython-312.pyc differ diff --git a/scripts/format_notebooks.py b/scripts/format_notebooks.py index b73507a..226c777 100644 --- a/scripts/format_notebooks.py +++ b/scripts/format_notebooks.py @@ -36,7 +36,9 @@ } COLAB_TEMPLATE = "https://colab.research.google.com/github/Labelbox/labelbox-notebooks/blob/main/{filename}" -GITHUB_TEMPLATE = "https://github.com/Labelbox/labelbox-notebooks/tree/main/{filename}" +GITHUB_TEMPLATE = ( + "https://github.com/Labelbox/labelbox-notebooks/tree/main/{filename}" +) def format_cell(source): diff --git a/template.ipynb b/template.ipynb index f029217..83c8602 100644 --- a/template.ipynb +++ b/template.ipynb @@ -16,12 +16,12 @@ "metadata": {}, "source": [ "\n", - "\n", "\n", "\n", "\n", - "\n", "" ],