pyrception 0.2.6__tar.gz → 0.3.0__tar.gz

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.
@@ -1,24 +1,21 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyrception
3
- Version: 0.2.6
3
+ Version: 0.3.0
4
4
  Author: Alexander Hadjiivanov
5
5
  Requires-Python: >=3.11
6
6
  Description-Content-Type: text/markdown
7
7
  License-File: LICENCE.md
8
8
  Requires-Dist: av
9
- Requires-Dist: black
10
- Requires-Dist: h5py
11
- Requires-Dist: imageio[ffmpeg]
9
+ Requires-Dist: bokeh
10
+ Requires-Dist: environs
12
11
  Requires-Dist: ipykernel
13
12
  Requires-Dist: ipywidgets
14
13
  Requires-Dist: loguru
15
14
  Requires-Dist: matplotlib
15
+ Requires-Dist: moviepy
16
16
  Requires-Dist: numpy
17
- Requires-Dist: opencv-python
18
- Requires-Dist: plotly[express]
19
- Requires-Dist: pydantic-settings
20
- Requires-Dist: rich
21
- Requires-Dist: ruff
17
+ Requires-Dist: omegaconf
18
+ Requires-Dist: platformdirs
22
19
  Requires-Dist: scikit-image
23
20
  Requires-Dist: scipy
24
21
  Requires-Dist: tqdm
@@ -30,12 +27,15 @@ Requires-Dist: cloup; extra == "cli"
30
27
  Provides-Extra: events
31
28
  Requires-Dist: tonic; extra == "events"
32
29
  Provides-Extra: dev
30
+ Requires-Dist: black; extra == "dev"
33
31
  Requires-Dist: py-spy; extra == "dev"
32
+ Provides-Extra: torch
33
+ Requires-Dist: torch; extra == "torch"
34
34
  Provides-Extra: docs
35
+ Requires-Dist: mkdocs; extra == "docs"
35
36
  Requires-Dist: mike; extra == "docs"
36
37
  Requires-Dist: mkdocs-jupyter; extra == "docs"
37
38
  Requires-Dist: mkdocs-material; extra == "docs"
38
- Requires-Dist: mkdocs; extra == "docs"
39
39
  Requires-Dist: mkdocstrings[python]; extra == "docs"
40
40
  Dynamic: license-file
41
41
 
@@ -63,7 +63,7 @@ pip install -e .
63
63
 
64
64
  ## Usage
65
65
 
66
- Please refer to the [documentation](#documentation), which contains a [step-by-step notebook](docs/docs/notebooks/image.ipynb) demonstrating how to use `pyrception` with a static image. More notebooks are currently being developed, including frame-based RGB input and sparse event input from an event camera. Watch this space.
66
+ Please refer to the [documentation](https://pyrception.readthedocs.io/en/latest/), which contains a [step-by-step notebook](https://pyrception.readthedocs.io/en/latest/notebooks/image/) demonstrating how to use `pyrception` with a static image. More notebooks are currently being developed, including frame-based RGB input and sparse event input from an event camera. Watch this space.
67
67
 
68
68
  ## Documentation
69
69
 
@@ -22,7 +22,7 @@ pip install -e .
22
22
 
23
23
  ## Usage
24
24
 
25
- Please refer to the [documentation](#documentation), which contains a [step-by-step notebook](docs/docs/notebooks/image.ipynb) demonstrating how to use `pyrception` with a static image. More notebooks are currently being developed, including frame-based RGB input and sparse event input from an event camera. Watch this space.
25
+ Please refer to the [documentation](https://pyrception.readthedocs.io/en/latest/), which contains a [step-by-step notebook](https://pyrception.readthedocs.io/en/latest/notebooks/image/) demonstrating how to use `pyrception` with a static image. More notebooks are currently being developed, including frame-based RGB input and sparse event input from an event camera. Watch this space.
26
26
 
27
27
  ## Documentation
28
28
 
@@ -8,23 +8,20 @@ packages = ["pyrception"]
8
8
  [project]
9
9
  authors = [{ name = "Alexander Hadjiivanov" }]
10
10
  name = "pyrception"
11
- version = "0.2.6"
11
+ version = "0.3.0"
12
12
  requires-python = ">= 3.11"
13
13
  dependencies = [
14
14
  "av",
15
- "black",
16
- "h5py",
17
- "imageio[ffmpeg]",
15
+ "bokeh",
16
+ "environs",
18
17
  "ipykernel",
19
18
  "ipywidgets",
20
19
  "loguru",
21
20
  "matplotlib",
21
+ "moviepy",
22
22
  "numpy",
23
- "opencv-python",
24
- "plotly[express]",
25
- "pydantic-settings",
26
- "rich",
27
- "ruff",
23
+ "omegaconf",
24
+ "platformdirs",
28
25
  "scikit-image",
29
26
  "scipy",
30
27
  "tqdm",
@@ -32,18 +29,19 @@ dependencies = [
32
29
  dynamic = ["readme"]
33
30
 
34
31
  [tool.setuptools.dynamic]
35
- readme = {file=["README.md"], content-type="text/markdown"}
32
+ readme = { file = ["README.md"], content-type = "text/markdown" }
36
33
 
37
34
  [project.optional-dependencies]
38
35
  gui = ["pyqtgraph", "PySide6"]
39
36
  cli = ["cloup"]
40
37
  events = ["tonic"]
41
- dev = ["py-spy"]
38
+ dev = ["black", "py-spy"]
39
+ torch = ["torch"]
42
40
  docs = [
41
+ "mkdocs",
43
42
  "mike",
44
43
  "mkdocs-jupyter",
45
44
  "mkdocs-material",
46
- "mkdocs",
47
45
  "mkdocstrings[python]",
48
46
  ]
49
47
 
@@ -52,7 +50,7 @@ pyrception = "pyrception.gui.main:run"
52
50
 
53
51
  [tool.ruff.format]
54
52
  indent-style = "space"
55
- skip-magic-trailing-comma = false
53
+ skip-magic-trailing-comma = true
56
54
  line-ending = "auto"
57
55
  docstring-code-format = false
58
56
  docstring-code-line-length = "dynamic"
@@ -0,0 +1,2 @@
1
+ from pyrception.config.core import conf
2
+ from pyrception.utils.logging import logger
@@ -1,24 +1,21 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyrception
3
- Version: 0.2.6
3
+ Version: 0.3.0
4
4
  Author: Alexander Hadjiivanov
5
5
  Requires-Python: >=3.11
6
6
  Description-Content-Type: text/markdown
7
7
  License-File: LICENCE.md
8
8
  Requires-Dist: av
9
- Requires-Dist: black
10
- Requires-Dist: h5py
11
- Requires-Dist: imageio[ffmpeg]
9
+ Requires-Dist: bokeh
10
+ Requires-Dist: environs
12
11
  Requires-Dist: ipykernel
13
12
  Requires-Dist: ipywidgets
14
13
  Requires-Dist: loguru
15
14
  Requires-Dist: matplotlib
15
+ Requires-Dist: moviepy
16
16
  Requires-Dist: numpy
17
- Requires-Dist: opencv-python
18
- Requires-Dist: plotly[express]
19
- Requires-Dist: pydantic-settings
20
- Requires-Dist: rich
21
- Requires-Dist: ruff
17
+ Requires-Dist: omegaconf
18
+ Requires-Dist: platformdirs
22
19
  Requires-Dist: scikit-image
23
20
  Requires-Dist: scipy
24
21
  Requires-Dist: tqdm
@@ -30,12 +27,15 @@ Requires-Dist: cloup; extra == "cli"
30
27
  Provides-Extra: events
31
28
  Requires-Dist: tonic; extra == "events"
32
29
  Provides-Extra: dev
30
+ Requires-Dist: black; extra == "dev"
33
31
  Requires-Dist: py-spy; extra == "dev"
32
+ Provides-Extra: torch
33
+ Requires-Dist: torch; extra == "torch"
34
34
  Provides-Extra: docs
35
+ Requires-Dist: mkdocs; extra == "docs"
35
36
  Requires-Dist: mike; extra == "docs"
36
37
  Requires-Dist: mkdocs-jupyter; extra == "docs"
37
38
  Requires-Dist: mkdocs-material; extra == "docs"
38
- Requires-Dist: mkdocs; extra == "docs"
39
39
  Requires-Dist: mkdocstrings[python]; extra == "docs"
40
40
  Dynamic: license-file
41
41
 
@@ -63,7 +63,7 @@ pip install -e .
63
63
 
64
64
  ## Usage
65
65
 
66
- Please refer to the [documentation](#documentation), which contains a [step-by-step notebook](docs/docs/notebooks/image.ipynb) demonstrating how to use `pyrception` with a static image. More notebooks are currently being developed, including frame-based RGB input and sparse event input from an event camera. Watch this space.
66
+ Please refer to the [documentation](https://pyrception.readthedocs.io/en/latest/), which contains a [step-by-step notebook](https://pyrception.readthedocs.io/en/latest/notebooks/image/) demonstrating how to use `pyrception` with a static image. More notebooks are currently being developed, including frame-based RGB input and sparse event input from an event camera. Watch this space.
67
67
 
68
68
  ## Documentation
69
69
 
@@ -1,17 +1,14 @@
1
1
  av
2
- black
3
- h5py
4
- imageio[ffmpeg]
2
+ bokeh
3
+ environs
5
4
  ipykernel
6
5
  ipywidgets
7
6
  loguru
8
7
  matplotlib
8
+ moviepy
9
9
  numpy
10
- opencv-python
11
- plotly[express]
12
- pydantic-settings
13
- rich
14
- ruff
10
+ omegaconf
11
+ platformdirs
15
12
  scikit-image
16
13
  scipy
17
14
  tqdm
@@ -20,13 +17,14 @@ tqdm
20
17
  cloup
21
18
 
22
19
  [dev]
20
+ black
23
21
  py-spy
24
22
 
25
23
  [docs]
24
+ mkdocs
26
25
  mike
27
26
  mkdocs-jupyter
28
27
  mkdocs-material
29
- mkdocs
30
28
  mkdocstrings[python]
31
29
 
32
30
  [events]
@@ -35,3 +33,6 @@ tonic
35
33
  [gui]
36
34
  pyqtgraph
37
35
  PySide6
36
+
37
+ [torch]
38
+ torch
@@ -1,15 +0,0 @@
1
- from pyrception.utils.types import InputType
2
- from pyrception.utils.types import RFArrangement
3
- from pyrception.utils.types import KernelFilter
4
- from pyrception.utils.types import KernelShape
5
- from pyrception.utils.types import Dim
6
- from pyrception.utils.types import Dims
7
- from pyrception.config.settings import conf
8
- from pyrception.config.settings import Conf
9
- from pyrception.config.settings import logger
10
- from pyrception.utils.functions import timestamp
11
- # from pyrception.utils.functions import plot
12
- # from pyrception.utils.functions import animate
13
- from pyrception.utils.functions import cartesian_prod
14
- from pyrception.utils.functions import load_image
15
- from pyrception.utils.functions import load_video
File without changes
File without changes