open-aea-cli-ipfs 2.2.0__tar.gz → 2.2.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.
Files changed (29) hide show
  1. {open_aea_cli_ipfs-2.2.0/open_aea_cli_ipfs.egg-info → open_aea_cli_ipfs-2.2.1}/PKG-INFO +60 -2
  2. {open_aea_cli_ipfs-2.2.0 → open_aea_cli_ipfs-2.2.1/open_aea_cli_ipfs.egg-info}/PKG-INFO +60 -2
  3. {open_aea_cli_ipfs-2.2.0 → open_aea_cli_ipfs-2.2.1}/setup.py +10 -2
  4. {open_aea_cli_ipfs-2.2.0 → open_aea_cli_ipfs-2.2.1}/LICENSE +0 -0
  5. {open_aea_cli_ipfs-2.2.0 → open_aea_cli_ipfs-2.2.1}/MANIFEST.in +0 -0
  6. {open_aea_cli_ipfs-2.2.0 → open_aea_cli_ipfs-2.2.1}/README.md +0 -0
  7. {open_aea_cli_ipfs-2.2.0 → open_aea_cli_ipfs-2.2.1}/aea_cli_ipfs/__init__.py +0 -0
  8. {open_aea_cli_ipfs-2.2.0 → open_aea_cli_ipfs-2.2.1}/aea_cli_ipfs/core.py +0 -0
  9. {open_aea_cli_ipfs-2.2.0 → open_aea_cli_ipfs-2.2.1}/aea_cli_ipfs/exceptions.py +0 -0
  10. {open_aea_cli_ipfs-2.2.0 → open_aea_cli_ipfs-2.2.1}/aea_cli_ipfs/ipfs_client.py +0 -0
  11. {open_aea_cli_ipfs-2.2.0 → open_aea_cli_ipfs-2.2.1}/aea_cli_ipfs/ipfs_utils.py +0 -0
  12. {open_aea_cli_ipfs-2.2.0 → open_aea_cli_ipfs-2.2.1}/aea_cli_ipfs/py.typed +0 -0
  13. {open_aea_cli_ipfs-2.2.0 → open_aea_cli_ipfs-2.2.1}/aea_cli_ipfs/registry.py +0 -0
  14. {open_aea_cli_ipfs-2.2.0 → open_aea_cli_ipfs-2.2.1}/aea_cli_ipfs/test_tools/__init__.py +0 -0
  15. {open_aea_cli_ipfs-2.2.0 → open_aea_cli_ipfs-2.2.1}/aea_cli_ipfs/test_tools/fixture_helpers.py +0 -0
  16. {open_aea_cli_ipfs-2.2.0 → open_aea_cli_ipfs-2.2.1}/open_aea_cli_ipfs.egg-info/SOURCES.txt +0 -0
  17. {open_aea_cli_ipfs-2.2.0 → open_aea_cli_ipfs-2.2.1}/open_aea_cli_ipfs.egg-info/dependency_links.txt +0 -0
  18. {open_aea_cli_ipfs-2.2.0 → open_aea_cli_ipfs-2.2.1}/open_aea_cli_ipfs.egg-info/entry_points.txt +0 -0
  19. {open_aea_cli_ipfs-2.2.0 → open_aea_cli_ipfs-2.2.1}/open_aea_cli_ipfs.egg-info/requires.txt +0 -0
  20. {open_aea_cli_ipfs-2.2.0 → open_aea_cli_ipfs-2.2.1}/open_aea_cli_ipfs.egg-info/top_level.txt +0 -0
  21. {open_aea_cli_ipfs-2.2.0 → open_aea_cli_ipfs-2.2.1}/pyproject.toml +0 -0
  22. {open_aea_cli_ipfs-2.2.0 → open_aea_cli_ipfs-2.2.1}/setup.cfg +0 -0
  23. {open_aea_cli_ipfs-2.2.0 → open_aea_cli_ipfs-2.2.1}/tests/__init__.py +0 -0
  24. {open_aea_cli_ipfs-2.2.0 → open_aea_cli_ipfs-2.2.1}/tests/test_aea_cli_ipfs.py +0 -0
  25. {open_aea_cli_ipfs-2.2.0 → open_aea_cli_ipfs-2.2.1}/tests/test_core.py +0 -0
  26. {open_aea_cli_ipfs-2.2.0 → open_aea_cli_ipfs-2.2.1}/tests/test_ipfs_client.py +0 -0
  27. {open_aea_cli_ipfs-2.2.0 → open_aea_cli_ipfs-2.2.1}/tests/test_registry.py +0 -0
  28. {open_aea_cli_ipfs-2.2.0 → open_aea_cli_ipfs-2.2.1}/tests/test_test_tools.py +0 -0
  29. {open_aea_cli_ipfs-2.2.0 → open_aea_cli_ipfs-2.2.1}/tests/test_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: open-aea-cli-ipfs
3
- Version: 2.2.0
3
+ Version: 2.2.1
4
4
  Summary: CLI extension for open AEA framework wrapping IPFS functionality.
5
5
  Author: Valory AG
6
6
  License: Apache-2.0
@@ -39,4 +39,62 @@ Dynamic: requires-dist
39
39
  Dynamic: requires-python
40
40
  Dynamic: summary
41
41
 
42
- CLI extension for open AEA framework wrapping IPFS functionality.
42
+ # AEA CLI IPFS Plug-in
43
+
44
+ IPFS command to publish and download directories.
45
+
46
+ ## Installation and usage
47
+
48
+ Make sure you have `aea` installed.
49
+
50
+ Then, install the plug-in:
51
+ ``` bash
52
+ pip install aea-cli-ipfs
53
+ ```
54
+
55
+ Now you should be able to run `aea ipfs`.
56
+
57
+ ``` bash
58
+ Usage: aea ipfs [OPTIONS] COMMAND [ARGS]...
59
+
60
+ IPFS Commands
61
+
62
+ Options:
63
+ --help Show this message and exit.
64
+
65
+ Commands:
66
+ add Add directory to ipfs, if not directory specified the current...
67
+ download Download directory by it's hash, if not target directory...
68
+ remove Remove a directory from ipfs by it's hash.
69
+
70
+
71
+
72
+ Usage: aea ipfs add [OPTIONS] [DIR_PATH]
73
+
74
+ Add directory to ipfs, if not directory specified the current one will be
75
+ added.
76
+
77
+ Options:
78
+ -p, --publish
79
+ --help Show this message and exit.
80
+
81
+
82
+
83
+ Usage: aea ipfs remove [OPTIONS] hash_id
84
+
85
+ Remove a directory from ipfs by it's hash.
86
+
87
+ Options:
88
+ --help Show this message and exit.
89
+
90
+
91
+
92
+ Usage: aea ipfs download [OPTIONS] hash_id [TARGET_DIR]
93
+
94
+ Download directory by it's hash, if not target directory specified will
95
+ use current one.
96
+
97
+ Options:
98
+ --help Show this message and exit.
99
+
100
+ ```
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: open-aea-cli-ipfs
3
- Version: 2.2.0
3
+ Version: 2.2.1
4
4
  Summary: CLI extension for open AEA framework wrapping IPFS functionality.
5
5
  Author: Valory AG
6
6
  License: Apache-2.0
@@ -39,4 +39,62 @@ Dynamic: requires-dist
39
39
  Dynamic: requires-python
40
40
  Dynamic: summary
41
41
 
42
- CLI extension for open AEA framework wrapping IPFS functionality.
42
+ # AEA CLI IPFS Plug-in
43
+
44
+ IPFS command to publish and download directories.
45
+
46
+ ## Installation and usage
47
+
48
+ Make sure you have `aea` installed.
49
+
50
+ Then, install the plug-in:
51
+ ``` bash
52
+ pip install aea-cli-ipfs
53
+ ```
54
+
55
+ Now you should be able to run `aea ipfs`.
56
+
57
+ ``` bash
58
+ Usage: aea ipfs [OPTIONS] COMMAND [ARGS]...
59
+
60
+ IPFS Commands
61
+
62
+ Options:
63
+ --help Show this message and exit.
64
+
65
+ Commands:
66
+ add Add directory to ipfs, if not directory specified the current...
67
+ download Download directory by it's hash, if not target directory...
68
+ remove Remove a directory from ipfs by it's hash.
69
+
70
+
71
+
72
+ Usage: aea ipfs add [OPTIONS] [DIR_PATH]
73
+
74
+ Add directory to ipfs, if not directory specified the current one will be
75
+ added.
76
+
77
+ Options:
78
+ -p, --publish
79
+ --help Show this message and exit.
80
+
81
+
82
+
83
+ Usage: aea ipfs remove [OPTIONS] hash_id
84
+
85
+ Remove a directory from ipfs by it's hash.
86
+
87
+ Options:
88
+ --help Show this message and exit.
89
+
90
+
91
+
92
+ Usage: aea ipfs download [OPTIONS] hash_id [TARGET_DIR]
93
+
94
+ Download directory by it's hash, if not target directory specified will
95
+ use current one.
96
+
97
+ Options:
98
+ --help Show this message and exit.
99
+
100
+ ```
@@ -22,15 +22,23 @@
22
22
 
23
23
  """Setup script for the plug-in."""
24
24
 
25
+ from pathlib import Path
26
+
25
27
  from setuptools import find_packages, setup # type: ignore
26
28
 
29
+
30
+ def _read_long_description() -> str:
31
+ """Read the plugin README as the PyPI long description."""
32
+ return (Path(__file__).parent / "README.md").read_text(encoding="utf-8")
33
+
34
+
27
35
  setup(
28
36
  name="open-aea-cli-ipfs",
29
- version="2.2.0",
37
+ version="2.2.1",
30
38
  author="Valory AG",
31
39
  license="Apache-2.0",
32
40
  description="CLI extension for open AEA framework wrapping IPFS functionality.",
33
- long_description="CLI extension for open AEA framework wrapping IPFS functionality.",
41
+ long_description=_read_long_description(),
34
42
  long_description_content_type="text/markdown",
35
43
  packages=find_packages(include=["aea_cli_ipfs*"]),
36
44
  package_data={"aea_cli_ipfs": ["py.typed"]},