Skip to content

Commit ff3266a

Browse files
authored
GG-35197 Fix supported versions and other docs (#58)
1 parent fae4fe3 commit ff3266a

26 files changed

Lines changed: 119 additions & 119 deletions

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ GridGain Community Edition thin (binary protocol) client, written in Python 3.
33

44
## Prerequisites
55

6-
- Python 3.6 or above (3.6, 3.7, 3.8 and 3.9 are tested),
6+
- Python 3.7 or above (3.7, 3.8, 3.9 and 3.10 are tested),
77
- Access to GridGain node, local or remote. The current thin client
88
version was tested on GridGain CE 8.7 and 8.8 (binary client protocol 1.7.0).
99

@@ -49,12 +49,12 @@ There is an optional C extension to speedup some computational intensive tasks.
4949

5050
***NB!* Docker is required.**
5151

52-
- On Windows MSVC 14.x required, and it should be in path, also python versions 3.6, 3.7, 3.8 and 3.9 both for x86 and
52+
- On Windows MSVC 14.x required, and it should be in path, also python versions 3.7, 3.8, 3.9 and 3.10 both for x86 and
5353
x86-64 should be installed. You can disable some of these versions but you'd need to edit script for that.
5454
- For building `wheels` for Windows, invoke script `.\scripts\BuildWheels.ps1` using PowerShell. Just make sure that
5555
your execution policy allows execution of scripts in your environment.
5656

57-
Ready wheels for `x86` and `x86-64` for different python versions (3.6, 3.7, 3.8 and 3.9) will be
57+
Ready wheels for `x86` and `x86-64` for different python versions (3.7, 3.8, 3.9 and 3.10) will be
5858
located in `distr` directory.
5959

6060
### Updating from older version
@@ -83,19 +83,18 @@ at *RTD* for your convenience.
8383
If you want to build the documentation from source, do the developer
8484
installation as described above, then run the following commands:
8585
```
86-
$ cd pygridgain
86+
$ cd <client_root_directory>
8787
$ pip install -r requirements/docs.txt
8888
$ cd docs
8989
$ make html
9090
```
9191

92-
Then open `pygridgain/docs/generated/html/index.html`
92+
Then open `<client_root_directory>/docs/generated/html/index.html`
9393
in your browser.
9494

9595
## Examples
9696
Some examples of using pygridgain are provided in
97-
`pygridgain/examples` folder. They are extensively
98-
commented in the
97+
`examples` folder. They are extensively commented in the
9998
[Examples of usage](https://pygridgain.readthedocs.io/en/latest/examples.html)
10099
section of the documentation.
101100

docs/async_examples.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Let's connect to cluster and perform key-value queries.
3838
.. literalinclude:: ../examples/async_key_value.py
3939
:language: python
4040
:dedent: 4
41-
:lines: 23-38
41+
:lines: 22-37
4242

4343
Scan
4444
====
@@ -62,20 +62,20 @@ in cache settings dictionary on creation.
6262
.. literalinclude:: ../examples/expiry_policy.py
6363
:language: python
6464
:dedent: 12
65-
:lines: 73-76
65+
:lines: 74-77
6666

6767
.. literalinclude:: ../examples/expiry_policy.py
6868
:language: python
6969
:dedent: 12
70-
:lines: 82-90
70+
:lines: 83-91
7171

7272
Secondly, expiry policy can be set for all cache operations, which are done under decorator. To create it use
7373
:py:meth:`~pygridgain.cache.BaseCache.with_expire_policy`
7474

7575
.. literalinclude:: ../examples/expiry_policy.py
7676
:language: python
7777
:dedent: 12
78-
:lines: 97-106
78+
:lines: 98-107
7979

8080
Transactions
8181
------------
@@ -218,4 +218,4 @@ Finally, delete the tables used in this example with the following queries:
218218
.. _expiry_policy.py: https://github.com/gridgain/python-thin-client/blob/master/examples/expiry_policy.py
219219
.. _async_key_value.py: https://github.com/gridgain/python-thin-client/blob/master/examples/async_key_value.py
220220
.. _async_sql.py: https://github.com/gridgain/python-thin-client/blob/master/examples/async_sql.py
221-
.. _transactions.py: https://github.com/gridgain/python-thin-client/blob/master/examples/transactions.py
221+
.. _transactions.py: https://github.com/gridgain/python-thin-client/blob/master/examples/transactions.py

docs/datatypes/cache_props.rst

Lines changed: 78 additions & 77 deletions
Large diffs are not rendered by default.

docs/examples.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,20 +96,20 @@ in cache settings dictionary on creation.
9696
.. literalinclude:: ../examples/expiry_policy.py
9797
:language: python
9898
:dedent: 12
99-
:lines: 32-35
99+
:lines: 33-36
100100

101101
.. literalinclude:: ../examples/expiry_policy.py
102102
:language: python
103103
:dedent: 12
104-
:lines: 41-47
104+
:lines: 42-48
105105

106106
Secondly, expiry policy can be set for all cache operations, which are done under decorator. To create it use
107107
:py:meth:`~pygridgain.cache.BaseCache.with_expire_policy`
108108

109109
.. literalinclude:: ../examples/expiry_policy.py
110110
:language: python
111111
:dedent: 12
112-
:lines: 54-61
112+
:lines: 55-62
113113

114114
Scan
115115
====
@@ -773,3 +773,4 @@ with the following message:
773773
.. _attrs: https://pypi.org/project/attrs/
774774
.. _get_and_put_complex.py: https://github.com/gridgain/python-thin-client/tree/master/examples/get_and_put_complex.py
775775
.. _Collection: https://ignite.apache.org/docs/latest/binary-client-protocol/data-format#collection
776+
.. _simple class names: https://ignite.apache.org/docs/latest/data-modeling/binary-marshaller#binary-name-mapper-and-binary-id-mapper

docs/readme.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ through a raw TCP socket.
3434
Prerequisites
3535
-------------
3636

37-
- *Python 3.6* or above (3.6, 3.7, 3.8 and 3.9 are tested),
37+
- *Python 3.7* or above (3.7, 3.8, 3.9 and 3.10 are tested),
3838
- Access to *GridGain* node, local or remote. The current thin client
3939
version was tested on *GridGain CE 8.7* (binary client protocols 1.2.0
4040
to 1.7.0).

docs/source/pygridgain.aio_cluster.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
limitations under the License.
1414
1515
pygridgain.aio_cluster module
16-
===========================
16+
=============================
1717

1818
.. automodule:: pygridgain.aio_cluster
1919
:members:

docs/source/pygridgain.cluster.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
limitations under the License.
1414
1515
pygridgain.cluster module
16-
=======================
16+
=========================
1717

1818
.. automodule:: pygridgain.cluster
1919
:members:

docs/source/pygridgain.connection.protocol_context.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
limitations under the License.
1414
1515
pygridgain.connection.protocol_context package
16-
===========================
16+
==============================================
1717

1818
.. automodule:: pygridgain.connection.protocol_context
19-
:members:
19+
:members:

docs/source/pygridgain.datatypes.cluster_state.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
limitations under the License.
1414
1515
pygridgain.datatypes.cluster_state module
16-
=======================================
16+
=========================================
1717

1818
.. automodule:: pygridgain.datatypes.cluster_state
1919
:members:

docs/source/pygridgain.datatypes.expiry_policy.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
limitations under the License.
1414
1515
pygridgain.datatypes.expiry_policy module
16-
=======================================
16+
=========================================
1717

1818
.. automodule:: pygridgain.datatypes.expiry_policy
1919
:members:

0 commit comments

Comments
 (0)