-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restructure as package of tools (with pyproject) (#31)
* Add standard python ignore and Mac system files * Update description and instructions in README for package formulation * Restructure as package of tools with pyproject Co-authored-by: Alison Zhong <[email protected]> --------- Co-authored-by: Alison Zhong <[email protected]>
- Loading branch information
Showing
17 changed files
with
288 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
[build-system] | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[tool.hatch.build.targets.wheel] | ||
packages = ["src/kabr_tools"] | ||
|
||
[tool.hatch.metadata] | ||
allow-direct-references = true | ||
|
||
[project] | ||
name = "kabr_tools" | ||
dynamic = ["version"] | ||
authors = [ | ||
{ name="Maksim Kholiavchenko", email="[email protected]" }, | ||
{ name="Alison Zhong", email="[email protected]" }, | ||
{ name="Elizabeth Campolongo", email="[email protected]" }, | ||
{ name="Jenna Kline", email="[email protected]" }, | ||
] | ||
description = "Tools for working with data for annotating animal behavior. These were specifically designed during construction of the KABR dataset." | ||
readme = "README.md" | ||
requires-python = ">=3.8" | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: MIT License", | ||
] | ||
dependencies = [ | ||
"numpy", | ||
"opencv-python", | ||
"scipy", | ||
"lxml", | ||
"tqdm", | ||
"torch", | ||
"natsort", | ||
"ruamel.yaml", | ||
"ultralytics", | ||
"pandas", | ||
] | ||
keywords = [ | ||
"annotation", | ||
"cv", | ||
"cvat", | ||
"videos", | ||
"drone videos", | ||
"video classification", | ||
"behavior recognition", | ||
"animal behavior recognition", | ||
"animal behavior", | ||
"mini-scenes", | ||
] | ||
|
||
[project.urls] | ||
Documentation = "https://github.com/Imageomics/kabr-tools/blob/master/README.md" | ||
Issues = "https://github.com/Imageomics/kabr-tools/issues" | ||
Source = "https://github.com/Imageomics/kabr-tools" | ||
|
||
[project.scripts] | ||
cvat2slowfast = "kabr_tools.cvat2slowfast:main" | ||
cvat2ultralytics = "kabr_tools.cvat2ultralytics:main" | ||
detector2cvat = "kabr_tools.detector2cvat:main" | ||
player = "kabr_tools.player:main" | ||
tracks_extractor = "kabr_tools.tracks_extractor:main" | ||
|
||
|
||
[tool.hatch.version] | ||
path = "src/kabr_tools/__about__.py" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__version__ = "0.1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from kabr_tools import cvat2slowfast, cvat2ultralytics, detector2cvat, player, tracks_extractor | ||
|
||
__all__ = ["cvat2slowfast", "cvat2ultralytics", "detector2cvat", "player", "tracks_extractor"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.