Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
|Python| |License| |Changelog|
Welcome to the SuperAnnotate Python Software Development Kit (SDK), which enables Python programmers to create software that incorporates services of the platform and effortlessly integrates SuperAnnotate into their AI process.
.. |Python| image:: https://img.shields.io/static/v1?label=python&message=3.7/3.8/3.9/3.10/3.11&color=blue&style=flat-square :target: https://pypi.org/project/superannotate/ :alt: Python Versions .. |License| image:: https://img.shields.io/static/v1?label=license&message=MIT&color=green&style=flat-square :target: https://github.com/superannotateai/superannotate-python-sdk/blob/master/LICENSE/ :alt: License .. |Changelog| image:: https://img.shields.io/static/v1?label=change&message=log&color=yellow&style=flat-square :target: https://github.com/superannotateai/superannotate-python-sdk/blob/master/CHANGELOG.rst :alt: Changelog
Read the Docs <https://superannotate.readthedocs.io/en/stable/index.html>
__Platform documentation <https://doc.superannotate.com/>
__.. code-block:: python
from superannotate import SAClient
# by environment variable SA_TOKEN
sa_client = SAClient()
# by token
sa_client = SAClient(token='<team token>')
# by config file
# default path is ~/.superannotate/config.ini
sa_client = SAClient(config_path='~/.superannotate/dev_config.ini')
.. code-block:: python
[DEFAULT]
SA_TOKEN = <Token>
LOGGING_LEVEL = INFO
.. code-block:: python
from superannotate import SAClient
sa_client =SAClient()
project = 'Dogs'
sa_client.create_project(
project_name=project,
project_description='Test project generated via SDK',
project_type='Vector'
)
sa_client.create_annotation_class(
project=project,
name='dog',
color='#F9E0FA',
class_type='tag'
)
sa_client.attach_items(
project=project,
attachments=[
{
'url': 'https://drive.google.com/uc?export=download&id=1ipOrZNSTlPUkI_hnrW9aUD5yULqqq5Vl',
'name': 'dog.jpeg'
}
]
)
sa_client.upload_annotations(
project=project,
annotations=[
{
'metadata': {'name': 'dog.jpeg'},
'instances': [
{'type': 'tag', 'className': 'dog'}
]
}
]
)
sa_client.get_annotations(project=project, items=['dog.jpeg'])
SuperAnnotate python SDK is available on PyPI:
.. code-block:: bash
pip install superannotate
The package officially supports Python 3.7+ and was tested under Linux and
Windows (Anaconda <https://www.anaconda.com/products/individual#windows>
__
) platforms.
For more detailed installation steps and package usage please have a look at the tutorial <https://superannotate.readthedocs.io/en/stable/tutorial.sdk.html>
__
For questions and issues please use this repo’s issue tracker on GitHub or contact support@superannotate.com.
FAQs
Python SDK to SuperAnnotate platform
We found that superannotate demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.