project-ghostframe 0.1.0__tar.gz → 0.1.1__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,10 +1,18 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: project-ghostframe
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: PNG and APNG generation, inspection, and recovery tools from Residual Labs
5
+ Author: Residual Labs
5
6
  License-Expression: MIT
6
- Project-URL: Homepage, https://github.com/zakariagharzouli/project-ghostframe
7
+ Project-URL: Homepage, https://residual-labs.fr/
8
+ Project-URL: Source, https://github.com/zakariagharzouli/project-ghostframe
9
+ Project-URL: Documentation, https://github.com/zakariagharzouli/project-ghostframe/blob/feature/ghostframe-replay/docs/python-package.md
7
10
  Project-URL: Issues, https://github.com/zakariagharzouli/project-ghostframe/issues
11
+ Project-URL: Residual Labs on GitHub, https://github.com/ResidualLabs
12
+ Keywords: png,apng,animation,image-processing
13
+ Classifier: Environment :: Console
14
+ Classifier: Programming Language :: Python :: 3 :: Only
15
+ Classifier: Topic :: Multimedia :: Graphics
8
16
  Requires-Python: >=3.10
9
17
  Description-Content-Type: text/markdown
10
18
  License-File: LICENSE
@@ -13,18 +21,18 @@ Dynamic: license-file
13
21
 
14
22
  # Project Ghostframe for Python
15
23
 
16
- English · [Français](#français) · [Project Ghostframe](https://github.com/zakariagharzouli/project-ghostframe)
24
+ English · [Français](#français) · [Residual Labs](https://residual-labs.fr/) · [Source code](https://github.com/zakariagharzouli/project-ghostframe)
17
25
 
18
26
  `project-ghostframe` provides the `ghostframe` command and importable `ghostframe` module. It generates APNG files, inspects frame and archive metadata, and restores supported animations from a Ghostframe archive or atlas. It requires Python 3.10+ and Pillow. Ghostframe Replay is distributed as a standalone HTML app and a separate npm package.
19
27
 
20
- Install from a repository checkout or from a built wheel.
28
+ Install from PyPI, preferably inside a virtual environment.
21
29
 
22
30
  ```sh
23
- python -m pip install .
24
- # Or install the distribution archive
25
- python -m pip install ./project_ghostframe-0.1.0-py3-none-any.whl
31
+ python -m pip install project-ghostframe
26
32
  ```
27
33
 
34
+ To install from a source checkout, use `python -m pip install .`. For the example below, provide two PNG frames of the same size, such as the [example inputs](https://github.com/zakariagharzouli/project-ghostframe/tree/feature/ghostframe-replay/evidence/inputs).
35
+
28
36
  ```sh
29
37
  python -m ghostframe encode animation.png frame-0.png frame-1.png --delay 350
30
38
  python -m ghostframe inspect animation.png
@@ -37,6 +45,6 @@ The default `dual` mode writes an APNG with a Ghostframe archive. `--mode apng`
37
45
 
38
46
  `project-ghostframe` fournit la commande `ghostframe` et le module Python du même nom. Il génère des APNG, inspecte les métadonnées des trames et restaure les animations prises en charge depuis une archive Ghostframe ou un atlas. Python 3.10+ et Pillow sont nécessaires. Ghostframe Replay est distribué séparément en HTML et via npm.
39
47
 
40
- Depuis un clone du dépôt, saisir `python -m pip install .`. Avec la roue construite, saisir `python -m pip install ./project_ghostframe-0.1.0-py3-none-any.whl`. Les trois commandes de l’exemple utilisent des trames PNG à fournir localement. `python -m ghostframe --help` affiche toutes les commandes. Le raccourci `ghostframe` est disponible si la commande installée est dans le `PATH`.
48
+ Installer le paquet avec `python -m pip install project-ghostframe`, de préférence dans un environnement virtuel. Depuis un clone du dépôt, utiliser `python -m pip install .`. L’exemple ci-dessus utilise deux PNG de même taille, comme les [trames fournies dans le dépôt](https://github.com/zakariagharzouli/project-ghostframe/tree/feature/ghostframe-replay/evidence/inputs). `python -m ghostframe --help` affiche toutes les commandes. Le raccourci `ghostframe` est disponible si la commande installée est dans le `PATH`.
41
49
 
42
50
  Le mode par défaut `dual` écrit un APNG avec archive Ghostframe. `--mode apng` écrit un APNG standard. `--mode atlas` fournit une image PNG fixe et un manifeste JSON pour `python -m ghostframe from-atlas`. `--sparse` utilise des rectangles de différences en mode APNG ou dual.
@@ -27,14 +27,20 @@ npx --yes --package ./residual-labs-ghostframe-replay-0.1.0.tgz ghostframe-repla
27
27
 
28
28
  Install the same archive with `npm install ./residual-labs-ghostframe-replay-0.1.0.tgz` to use the codec from Node.js. Run `npx ghostframe-replay build output.html` from that project to produce the standalone page. To run the CLI directly from the source checkout, use `node web/replay/cli.cjs --help`.
29
29
 
30
- For PNG/APNG tools, install the Python package from the repository or its wheel. A virtual environment keeps the command and dependencies isolated. Both forms are documented in the [Python package guide](docs/python-package.md).
30
+ For PNG/APNG tools, install the Python package from PyPI. A virtual environment keeps the command and dependencies isolated. The [Python package guide](docs/python-package.md) also covers installing from source.
31
+
32
+ ```sh
33
+ python -m pip install project-ghostframe
34
+ python -m ghostframe --help
35
+ ```
36
+
37
+ In the source checkout, inspect a supplied example.
31
38
 
32
39
  ```sh
33
- python -m pip install .
34
40
  python -m ghostframe inspect evidence/inputs/apng-a.png
35
41
  ```
36
42
 
37
- The commands above use source or local archives. Replay's browser interface is in French. The Python package contains the APNG command and `ghostframe` module. The repository also contains the research harnesses and evidence.
43
+ Replay's browser interface is in French. The Python package contains the APNG command and `ghostframe` module. The repository also contains the research harnesses and evidence.
38
44
 
39
45
  ## What Replay does
40
46
 
@@ -1,17 +1,17 @@
1
1
  # Project Ghostframe for Python
2
2
 
3
- English · [Français](#français) · [Project Ghostframe](https://github.com/zakariagharzouli/project-ghostframe)
3
+ English · [Français](#français) · [Residual Labs](https://residual-labs.fr/) · [Source code](https://github.com/zakariagharzouli/project-ghostframe)
4
4
 
5
5
  `project-ghostframe` provides the `ghostframe` command and importable `ghostframe` module. It generates APNG files, inspects frame and archive metadata, and restores supported animations from a Ghostframe archive or atlas. It requires Python 3.10+ and Pillow. Ghostframe Replay is distributed as a standalone HTML app and a separate npm package.
6
6
 
7
- Install from a repository checkout or from a built wheel.
7
+ Install from PyPI, preferably inside a virtual environment.
8
8
 
9
9
  ```sh
10
- python -m pip install .
11
- # Or install the distribution archive
12
- python -m pip install ./project_ghostframe-0.1.0-py3-none-any.whl
10
+ python -m pip install project-ghostframe
13
11
  ```
14
12
 
13
+ To install from a source checkout, use `python -m pip install .`. For the example below, provide two PNG frames of the same size, such as the [example inputs](https://github.com/zakariagharzouli/project-ghostframe/tree/feature/ghostframe-replay/evidence/inputs).
14
+
15
15
  ```sh
16
16
  python -m ghostframe encode animation.png frame-0.png frame-1.png --delay 350
17
17
  python -m ghostframe inspect animation.png
@@ -24,6 +24,6 @@ The default `dual` mode writes an APNG with a Ghostframe archive. `--mode apng`
24
24
 
25
25
  `project-ghostframe` fournit la commande `ghostframe` et le module Python du même nom. Il génère des APNG, inspecte les métadonnées des trames et restaure les animations prises en charge depuis une archive Ghostframe ou un atlas. Python 3.10+ et Pillow sont nécessaires. Ghostframe Replay est distribué séparément en HTML et via npm.
26
26
 
27
- Depuis un clone du dépôt, saisir `python -m pip install .`. Avec la roue construite, saisir `python -m pip install ./project_ghostframe-0.1.0-py3-none-any.whl`. Les trois commandes de l’exemple utilisent des trames PNG à fournir localement. `python -m ghostframe --help` affiche toutes les commandes. Le raccourci `ghostframe` est disponible si la commande installée est dans le `PATH`.
27
+ Installer le paquet avec `python -m pip install project-ghostframe`, de préférence dans un environnement virtuel. Depuis un clone du dépôt, utiliser `python -m pip install .`. L’exemple ci-dessus utilise deux PNG de même taille, comme les [trames fournies dans le dépôt](https://github.com/zakariagharzouli/project-ghostframe/tree/feature/ghostframe-replay/evidence/inputs). `python -m ghostframe --help` affiche toutes les commandes. Le raccourci `ghostframe` est disponible si la commande installée est dans le `PATH`.
28
28
 
29
29
  Le mode par défaut `dual` écrit un APNG avec archive Ghostframe. `--mode apng` écrit un APNG standard. `--mode atlas` fournit une image PNG fixe et un manifeste JSON pour `python -m ghostframe from-atlas`. `--sparse` utilise des rectangles de différences en mode APNG ou dual.
@@ -1,10 +1,18 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: project-ghostframe
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: PNG and APNG generation, inspection, and recovery tools from Residual Labs
5
+ Author: Residual Labs
5
6
  License-Expression: MIT
6
- Project-URL: Homepage, https://github.com/zakariagharzouli/project-ghostframe
7
+ Project-URL: Homepage, https://residual-labs.fr/
8
+ Project-URL: Source, https://github.com/zakariagharzouli/project-ghostframe
9
+ Project-URL: Documentation, https://github.com/zakariagharzouli/project-ghostframe/blob/feature/ghostframe-replay/docs/python-package.md
7
10
  Project-URL: Issues, https://github.com/zakariagharzouli/project-ghostframe/issues
11
+ Project-URL: Residual Labs on GitHub, https://github.com/ResidualLabs
12
+ Keywords: png,apng,animation,image-processing
13
+ Classifier: Environment :: Console
14
+ Classifier: Programming Language :: Python :: 3 :: Only
15
+ Classifier: Topic :: Multimedia :: Graphics
8
16
  Requires-Python: >=3.10
9
17
  Description-Content-Type: text/markdown
10
18
  License-File: LICENSE
@@ -13,18 +21,18 @@ Dynamic: license-file
13
21
 
14
22
  # Project Ghostframe for Python
15
23
 
16
- English · [Français](#français) · [Project Ghostframe](https://github.com/zakariagharzouli/project-ghostframe)
24
+ English · [Français](#français) · [Residual Labs](https://residual-labs.fr/) · [Source code](https://github.com/zakariagharzouli/project-ghostframe)
17
25
 
18
26
  `project-ghostframe` provides the `ghostframe` command and importable `ghostframe` module. It generates APNG files, inspects frame and archive metadata, and restores supported animations from a Ghostframe archive or atlas. It requires Python 3.10+ and Pillow. Ghostframe Replay is distributed as a standalone HTML app and a separate npm package.
19
27
 
20
- Install from a repository checkout or from a built wheel.
28
+ Install from PyPI, preferably inside a virtual environment.
21
29
 
22
30
  ```sh
23
- python -m pip install .
24
- # Or install the distribution archive
25
- python -m pip install ./project_ghostframe-0.1.0-py3-none-any.whl
31
+ python -m pip install project-ghostframe
26
32
  ```
27
33
 
34
+ To install from a source checkout, use `python -m pip install .`. For the example below, provide two PNG frames of the same size, such as the [example inputs](https://github.com/zakariagharzouli/project-ghostframe/tree/feature/ghostframe-replay/evidence/inputs).
35
+
28
36
  ```sh
29
37
  python -m ghostframe encode animation.png frame-0.png frame-1.png --delay 350
30
38
  python -m ghostframe inspect animation.png
@@ -37,6 +45,6 @@ The default `dual` mode writes an APNG with a Ghostframe archive. `--mode apng`
37
45
 
38
46
  `project-ghostframe` fournit la commande `ghostframe` et le module Python du même nom. Il génère des APNG, inspecte les métadonnées des trames et restaure les animations prises en charge depuis une archive Ghostframe ou un atlas. Python 3.10+ et Pillow sont nécessaires. Ghostframe Replay est distribué séparément en HTML et via npm.
39
47
 
40
- Depuis un clone du dépôt, saisir `python -m pip install .`. Avec la roue construite, saisir `python -m pip install ./project_ghostframe-0.1.0-py3-none-any.whl`. Les trois commandes de l’exemple utilisent des trames PNG à fournir localement. `python -m ghostframe --help` affiche toutes les commandes. Le raccourci `ghostframe` est disponible si la commande installée est dans le `PATH`.
48
+ Installer le paquet avec `python -m pip install project-ghostframe`, de préférence dans un environnement virtuel. Depuis un clone du dépôt, utiliser `python -m pip install .`. L’exemple ci-dessus utilise deux PNG de même taille, comme les [trames fournies dans le dépôt](https://github.com/zakariagharzouli/project-ghostframe/tree/feature/ghostframe-replay/evidence/inputs). `python -m ghostframe --help` affiche toutes les commandes. Le raccourci `ghostframe` est disponible si la commande installée est dans le `PATH`.
41
49
 
42
50
  Le mode par défaut `dual` écrit un APNG avec archive Ghostframe. `--mode apng` écrit un APNG standard. `--mode atlas` fournit une image PNG fixe et un manifeste JSON pour `python -m ghostframe from-atlas`. `--sparse` utilise des rectangles de différences en mode APNG ou dual.
@@ -0,0 +1,33 @@
1
+ [build-system]
2
+ requires = ["setuptools>=77"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "project-ghostframe"
7
+ version = "0.1.1"
8
+ description = "PNG and APNG generation, inspection, and recovery tools from Residual Labs"
9
+ readme = "docs/python-package.md"
10
+ requires-python = ">=3.10"
11
+ license = "MIT"
12
+ license-files = ["LICENSE"]
13
+ authors = [{ name = "Residual Labs" }]
14
+ keywords = ["png", "apng", "animation", "image-processing"]
15
+ classifiers = [
16
+ "Environment :: Console",
17
+ "Programming Language :: Python :: 3 :: Only",
18
+ "Topic :: Multimedia :: Graphics",
19
+ ]
20
+ dependencies = ["Pillow>=10"]
21
+
22
+ [project.scripts]
23
+ ghostframe = "ghostframe:main"
24
+
25
+ [project.urls]
26
+ Homepage = "https://residual-labs.fr/"
27
+ Source = "https://github.com/zakariagharzouli/project-ghostframe"
28
+ Documentation = "https://github.com/zakariagharzouli/project-ghostframe/blob/feature/ghostframe-replay/docs/python-package.md"
29
+ Issues = "https://github.com/zakariagharzouli/project-ghostframe/issues"
30
+ "Residual Labs on GitHub" = "https://github.com/ResidualLabs"
31
+
32
+ [tool.setuptools]
33
+ py-modules = ["ghostframe"]
@@ -1,23 +0,0 @@
1
- [build-system]
2
- requires = ["setuptools>=77"]
3
- build-backend = "setuptools.build_meta"
4
-
5
- [project]
6
- name = "project-ghostframe"
7
- version = "0.1.0"
8
- description = "PNG and APNG generation, inspection, and recovery tools from Residual Labs"
9
- readme = "docs/python-package.md"
10
- requires-python = ">=3.10"
11
- license = "MIT"
12
- license-files = ["LICENSE"]
13
- dependencies = ["Pillow>=10"]
14
-
15
- [project.scripts]
16
- ghostframe = "ghostframe:main"
17
-
18
- [project.urls]
19
- Homepage = "https://github.com/zakariagharzouli/project-ghostframe"
20
- Issues = "https://github.com/zakariagharzouli/project-ghostframe/issues"
21
-
22
- [tool.setuptools]
23
- py-modules = ["ghostframe"]