Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
edd85ff
hinting improvements
VaghinakDev Jan 27, 2023
9485dc2
Merge pull request #552 from superannotateai/hintigs
VaghinakDev Jan 31, 2023
72c8aab
docs update
VaghinakDev Jan 31, 2023
0c19414
setup.py update
VaghinakDev Feb 1, 2023
e0265f7
Update __init__.py
VaghinakDev Feb 1, 2023
760f65b
Setup update
VaghinakDev Feb 1, 2023
dc247ad
tod
VaghinakDev Feb 1, 2023
ed1c556
pin image fix
VaghinakDev Feb 6, 2023
87e6d91
Merge pull request #554 from superannotateai/1519_pin_image
VaghinakDev Feb 6, 2023
ad268d9
Added ini file handeling
VaghinakDev Feb 6, 2023
f72a70b
Fix json handling
Feb 6, 2023
5b2a012
Added tests.
VaghinakDev Feb 7, 2023
d9cefd3
black refactor on tests
VaghinakDev Feb 8, 2023
c16bf6e
Merge pull request #555 from superannotateai/1719_config
VaghinakDev Feb 8, 2023
c6b8939
ini file API_URL set hidden, ConfigEntity.LOGGING_LEVEL set Literal […
Feb 8, 2023
995d9a8
fix CLI init test
Feb 8, 2023
e10e7e9
fix config entity logging levels
Feb 9, 2023
99abd71
config.ini token config rename
Feb 9, 2023
bd7a685
Merge pull request #556 from superannotateai/1719_config_update
VaghinakDev Feb 9, 2023
f769f9c
Docs update
VaghinakDev Feb 9, 2023
59f3e34
Merge pull request #557 from superannotateai/docs_update
VaghinakDev Feb 9, 2023
f698e27
Iterface chages
VaghinakDev Feb 10, 2023
63bd5d7
added CLI init logging params
Feb 10, 2023
f1c5dd6
Merge pull request #559 from superannotateai/1719_cli_update
nareksa Feb 10, 2023
c2a74cc
Merge pull request #558 from superannotateai/1720_client
VaghinakDev Feb 13, 2023
4c446f1
delete class_distribution function
Feb 13, 2023
b78f289
Fixed attach_items and aggregaate_annotations_as_df
VaghinakDev Feb 13, 2023
4c3ebc6
fix logs
VaghinakDev Feb 13, 2023
38d5769
Fix interface
VaghinakDev Feb 13, 2023
9402ba2
fix tests
VaghinakDev Feb 13, 2023
2f40c6a
delete benchmark function
Feb 13, 2023
d6573e1
Merge branch 'friday' into 1708_implimentation
VaghinakDev Feb 13, 2023
2888a2f
Merge pull request #560 from superannotateai/1708_implimentation
VaghinakDev Feb 13, 2023
da8fa78
Deleted banchmark images
VaghinakDev Feb 13, 2023
d041840
Merge branch 'friday' into sa_server
VaghinakDev Feb 13, 2023
7b7894e
Update setup.py
VaghinakDev Feb 13, 2023
f480d50
Merge pull request #562 from superannotateai/sa_server
VaghinakDev Feb 13, 2023
6743eb2
Docs update
VaghinakDev Feb 14, 2023
2a31579
docs warnings fix and html content changes
Feb 15, 2023
9abe91c
Merge pull request #563 from superannotateai/docs_update
VaghinakDev Feb 15, 2023
07e000e
Cli init fix
VaghinakDev Feb 15, 2023
18f42d8
Merge pull request #564 from superannotateai/cli_init_fix
VaghinakDev Feb 15, 2023
8059a67
Update the initialization to be not case-sensitive
VaghinakDev Feb 15, 2023
0358cd6
Update __init__.py
nareksa Feb 15, 2023
a468dfd
docs update quickstart page
Feb 15, 2023
3b0fa7f
Merge pull request #565 from superannotateai/docs_update
nareksa Feb 15, 2023
cc1a353
Added doc8
Feb 15, 2023
54098b5
Approval status fix
VaghinakDev Feb 15, 2023
f6784f4
Added token validation
VaghinakDev Feb 16, 2023
b4a3e11
Version update
VaghinakDev Feb 19, 2023
ddd2f15
Readthedocs python version updagte
VaghinakDev Feb 19, 2023
ea7f01d
Merge pull request #567 from superannotateai/friday4.4.10b1
VaghinakDev Feb 20, 2023
8b4b10a
Order updated
VaghinakDev Feb 20, 2023
a3df262
upgrade wheel version
Feb 20, 2023
8e69e87
pillow and jinja2 requirements upgrade
Feb 21, 2023
f21fb18
updated get/download annotations
VaghinakDev Feb 21, 2023
b9b9a2a
fix download_export file nameing
Feb 21, 2023
00fe8be
Merge pull request #569 from superannotateai/1752_implementation
nareksa Feb 22, 2023
0dee346
fix video project clone issue and refactoring
Feb 24, 2023
3f54ae6
Merge pull request #568 from superannotateai/docs_order_update
VaghinakDev Feb 24, 2023
cf3bd23
Merge pull request #572 from superannotateai/1392_implementation
nareksa Feb 24, 2023
68de1da
Tests updates
VaghinakDev Feb 23, 2023
df42e7c
Merge pull request #571 from superannotateai/get_updaete
VaghinakDev Feb 27, 2023
fa05745
Fix AddContributorsToProject
VaghinakDev Feb 27, 2023
26bd44f
Deleted old test data_set
VaghinakDev Feb 27, 2023
8696104
fix export file naming issue for windows
Feb 27, 2023
0d313e2
Updated todos
VaghinakDev Feb 28, 2023
59a28fc
Merge pull request #573 from superannotateai/1792_fix
VaghinakDev Feb 28, 2023
2eb3d00
Fixed add contributors log msg
VaghinakDev Feb 28, 2023
ef7cb2f
Updated worklfow missing classes log in create_project
VaghinakDev Feb 28, 2023
566bf10
Updated clone_project defauly description
VaghinakDev Feb 28, 2023
6d1f1e4
Update __init__.py
VaghinakDev Feb 28, 2023
8b1ef17
clone_project log fix
VaghinakDev Feb 28, 2023
523e200
clone_project log fix
VaghinakDev Feb 28, 2023
8c3e332
fix clone_project upload_state issue
Mar 1, 2023
c8be201
fix clone_project upload_state issue (pre_commit)
Mar 1, 2023
52229ad
Merge pull request #570 from superannotateai/requirements_upgrade
VaghinakDev Mar 1, 2023
7c3e8a5
fix clone_project upload_state issue (delete old code)
Mar 1, 2023
9eba022
Merge pull request #574 from superannotateai/1797_fix
VaghinakDev Mar 1, 2023
47a9fc1
test fix
VaghinakDev Mar 1, 2023
7bed5a5
Update __init__.py
VaghinakDev Mar 1, 2023
2cedc76
Version update
VaghinakDev Mar 2, 2023
34e05fb
Update __init__.py
VaghinakDev Mar 6, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI

on:
release:
types: [prereleased,released]
types: [prereleased,released]

jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
Expand All @@ -14,7 +14,7 @@ jobs:
uses: actions/setup-python@v1
with:
python-version: "3.7"
- name: Upgrade pip
- name: Upgrade pip
run: >-
python -m
pip install
Expand Down
17 changes: 14 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:
hooks:
- id: black
name: Code Formatter (black)
- repo: 'https://gitlab.com/pycqa/flake8'
- repo: 'https://github.com/PyCQA/flake8'
rev: 3.8.2
hooks:
- id: flake8
Expand All @@ -30,15 +30,26 @@ repos:
name: Upgrade syntax for newer versions of the language (pyupgrade)
args:
- '--py37-plus'
- repo: 'https://github.com/PyCQA/doc8'
rev: v1.1.1
hooks:
- id: doc8
name: doc8
description: This hook runs doc8 for linting docs
entry: python -m doc8
language: python
args: ['--ignore=D001']
files: '^docs(.*)\.rst'
require_serial: true
- repo: 'https://github.com/pre-commit/pre-commit-hooks'
rev: v3.1.0
hooks:
- id: check-byte-order-marker
- id: trailing-whitespace
- id: end-of-file-fixer
files: \.rst$
# - repo: 'https://github.com/asottile/dead'
# rev: v1.3.0
# hooks:
# - id: dead
files: src/
exclude: src/lib/app/analytics | src/lib/app/converters | src/lib/app/input_converters
exclude: src/lib/app/analytics | src/lib/app/input_converters
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ formats:

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
version: 3.8
install:
- requirements: requirements.txt
- requirements: requirements_extra.txt
30 changes: 15 additions & 15 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Changelog
# Changelog
All release highlights of this project will be documented in this file.
## 4.4.9 - January 29, 2023
### Added
Expand Down Expand Up @@ -69,7 +69,7 @@ All release highlights of this project will be documented in this file.
## 4.4.2, 4.4.3 - August 21, 2022
### Updated
- the **schema** of `classes JSON` to support new values for the `"group_type"` key for a given attribute group. `"group_type": "radio" | "checklist" | "text" | "numeric"`.
- the **schema** of `video annotation JSON` to support instances that have a `"tag"` type.
- the **schema** of `video annotation JSON` to support instances that have a `"tag"` type.
### Fixed
- `SAClient.get_annotations()` _method_ to address the issue of working with the large projects.
- `SAClient.get_annotations_per_frame()` _method_ to address the issue of throwing an error on small videos when the fps is set to 1.
Expand Down Expand Up @@ -186,7 +186,7 @@ All release highlights of this project will be documented in this file.
- `attach_items_from_integrated_storage()` to attach items from an integrated cloud storage.
- `upload_priority_scores()` to set priority scores for a given list of items.
### Updated
- `JSON Schema` to version `1.0.40` to add instance type differentiation for text annotations and `"exclude"` key for subtracted polygon instances for image annotations.
- `JSON Schema` to version `1.0.40` to add instance type differentiation for text annotations and `"exclude"` key for subtracted polygon instances for image annotations.
- `validate_annotations()` to validate text and image annotations based on JSON schema version `1.0.40`.
- `get_annotations()` to get annotation instances based on JSON schema version `1.0.40`.
- `prepare_export()` to prepare for the download annotations with based on JSON schema version `1.0.40`.
Expand All @@ -206,8 +206,8 @@ All release highlights of this project will be documented in this file.
### Updated
- `get_image_annotations()` to reference `get_annotations()`.
- `create_annotation_class()` to add `class_type` in parameters to specify class type on creation.
- `create_annotation_classes_from_classes_json()` to handle class type in classes JSON.
- `search_annotation_classes()` to return class type in metadata.
- `create_annotation_classes_from_classes_json()` to handle class type in classes JSON.
- `search_annotation_classes()` to return class type in metadata.
- `upload_annotations_from_folder_to_project()` to handle tag annotations.
- `upload_preannotations_from_folder_to_project()` to handle tag annotations.
- `upload_image_annotations()` to handle tag annotations.
Expand All @@ -230,9 +230,9 @@ All release highlights of this project will be documented in this file.
### Updated
- `upload_annotations_from_folder_to_project()` to reference the `validate_annotations()`.
- `upload_videos_from_folder_to_project()` to remove code duplications.
- `clone_project()` to set upload state of clone project to inital.
- `clone_project()` to set upload state of clone project to inital.
### Fixed
- `validate_annotations()` to fix rotated bounding box schema.
- `validate_annotations()` to fix rotated bounding box schema.
### Removed
- Third party logs from logging mechanism.
###
Expand Down Expand Up @@ -264,22 +264,22 @@ All release highlights of this project will be documented in this file.
###
## 4.2.6 - Nov 21 2021
### Added
- Validation schemas for annotations.
- Validation schemas for annotations.
- Dataframe aggregation for video projects.
### Fixed
- Minor bug fixes and enhancements.
- Minor bug fixes and enhancements.
###
## 4.2.4 - Nov 2 2021
### Fixed
- Minor bug fixes and enhancements.
- Minor bug fixes and enhancements.
###
## 4.2.3 - Oct 31 2021
### Fixed
- Minor bug fixes and enhancements.
- Minor bug fixes and enhancements.
###
## 4.2.2 - Oct 22 2021
### Fixed
- Minor bug fixes and enhancements.
- Minor bug fixes and enhancements.
###
## 4.2.1 - Oct 13 2021
### Fixed
Expand All @@ -288,7 +288,7 @@ All release highlights of this project will be documented in this file.
###
## 4.2.0 - Oct 10 2021
### Added
- `delete_annotations()` for bulk annotation delete.
- `delete_annotations()` for bulk annotation delete.
### Updated
- Project/folder limitations.
### Fixed
Expand All @@ -300,7 +300,7 @@ All release highlights of this project will be documented in this file.
### Added
- Video project release.
###
## 4.1.7 - Aug 1 2021
## 4.1.7 - Aug 1 2021
### Fixed
- Video upload refinements.
###
Expand Down Expand Up @@ -345,7 +345,7 @@ All release highlights of this project will be documented in this file.
###
## 4.1.0 - Mar 22 2021
### Added
- Folder structure on platform.
- Folder structure on platform.
###
## 4.0.1 - Mar 15 2021
### Updated
Expand Down
12 changes: 12 additions & 0 deletions docs/source/api_reference/api_annotation.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
===========
Annotations
===========

.. automethod:: superannotate.SAClient.upload_annotations
.. automethod:: superannotate.SAClient.get_annotations
.. automethod:: superannotate.SAClient.download_annotations
.. automethod:: superannotate.SAClient.get_annotations_per_frame
.. automethod:: superannotate.SAClient.set_annotation_statuses
.. automethod:: superannotate.SAClient.delete_annotations
.. _ref_upload_annotations_from_folder_to_project:
.. automethod:: superannotate.SAClient.upload_annotations_from_folder_to_project
10 changes: 10 additions & 0 deletions docs/source/api_reference/api_annotation_class.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
==================
Annotation Classes
==================

.. automethod:: superannotate.SAClient.create_annotation_class
.. _ref_create_annotation_classes_from_classes_json:
.. automethod:: superannotate.SAClient.create_annotation_classes_from_classes_json
.. automethod:: superannotate.SAClient.search_annotation_classes
.. automethod:: superannotate.SAClient.download_annotation_classes_json
.. automethod:: superannotate.SAClient.delete_annotation_class
20 changes: 20 additions & 0 deletions docs/source/api_reference/api_client.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
==================
SAClient interface
==================

Contents
========

.. toctree::
:maxdepth: 8

api_project
api_item
api_annotation
api_annotation_class
api_export
api_custom_metadata
api_subset
api_image
api_team
api_neural_network
9 changes: 9 additions & 0 deletions docs/source/api_reference/api_custom_metadata.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
===============
Custom Metadata
===============

.. automethod:: superannotate.SAClient.create_custom_fields
.. automethod:: superannotate.SAClient.get_custom_fields
.. automethod:: superannotate.SAClient.delete_custom_fields
.. automethod:: superannotate.SAClient.upload_custom_values
.. automethod:: superannotate.SAClient.delete_custom_values
9 changes: 9 additions & 0 deletions docs/source/api_reference/api_export.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
==========
Exports
==========


.. automethod:: superannotate.SAClient.prepare_export
.. _ref_download_export:
.. automethod:: superannotate.SAClient.download_export
.. automethod:: superannotate.SAClient.get_exports
11 changes: 11 additions & 0 deletions docs/source/api_reference/api_image.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
==========
Images
==========


.. _ref_search_images:
.. automethod:: superannotate.SAClient.download_image
.. automethod:: superannotate.SAClient.download_image_annotations
.. automethod:: superannotate.SAClient.upload_image_annotations
.. automethod:: superannotate.SAClient.pin_image
.. automethod:: superannotate.SAClient.upload_priority_scores
16 changes: 16 additions & 0 deletions docs/source/api_reference/api_item.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
=====
Items
=====


.. automethod:: superannotate.SAClient.query
.. automethod:: superannotate.SAClient.get_item_by_id
.. automethod:: superannotate.SAClient.search_items
.. automethod:: superannotate.SAClient.attach_items
.. automethod:: superannotate.SAClient.copy_items
.. automethod:: superannotate.SAClient.move_items
.. automethod:: superannotate.SAClient.delete_items
.. automethod:: superannotate.SAClient.assign_items
.. automethod:: superannotate.SAClient.unassign_items
.. automethod:: superannotate.SAClient.get_item_metadata
.. automethod:: superannotate.SAClient.set_approval_statuses
Loading