From d4d7362cee81a2e5de7b83793e1275a76d3dc848 Mon Sep 17 00:00:00 2001 From: Zentetsu <10742751+Zentetsu@users.noreply.github.com> Date: Thu, 7 Nov 2024 17:08:34 +0900 Subject: [PATCH] Changing python version support --- .github/workflows/python-package.yml | 2 +- README.md | 20 ++++++++++++-------- setup.py | 2 +- 3 files changed, 14 insertions(+), 10 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index e84bc54..da7b5d7 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7, 3.8, 3.9, '3.10'] #3.6 + python-version: [3.8, 3.9, '3.10', '3.11'] steps: - uses: actions/checkout@v3 diff --git a/README.md b/README.md index 49bfbad..709824b 100644 --- a/README.md +++ b/README.md @@ -4,25 +4,29 @@ Python shared memory library based an posix-ipc. ### Features * Shared type: - * Basic type (int, float, bool, str) - * list, tuple, dict and nparray -* Management of the availability of shared memory space -* Overloaded methods for list and dict (basic) -* Methods to manage all defined shared space + * Basic type: `int`, `float`, `bool`, `str`, `complex` + * Python defined type: `list`, `tuple` and `dict` + * Other: `nparray` +* Can define shared data through a `JSON` + * Define directly the value inside the json (excpet `tuple`) + * Define value structure `list`and `nparray` example [HERE](https://github.com/Zentetsu/SharedMemory/wiki/JSON) +* Possibility to manage shared memory space +* Can use `__getitem__`and `__setitem__` on: + * `list`and `dict` * Space Memory configurable * Semaphore ### Installation ```console -$> pip install SharedMemory +> pip install SharedMemory ``` ### Documentation -Documentation and example are provided [here](https://github.com/Zentetsu/SharedMemory/wiki) +Documentation and example are provided [HERE](https://github.com/Zentetsu/SharedMemory/wiki) ### More [![PyPI version](https://badge.fury.io/py/SharedMemory.svg)](https://badge.fury.io/py/SharedMemory) ![Python package](https://github.com/Zentetsu/SharedMemory/workflows/Python%20package/badge.svg?branch=master) ![Upload Python Package](https://github.com/Zentetsu/SharedMemory/workflows/Upload%20Python%20Package/badge.svg) -[![Python](https://shields.io/badge/python-3.7_|_3.8_|_3.9_|_3.10-blue.svg)](https://www.python.org/downloads/release/python-380/) +[![Python](https://shields.io/badge/3.8_|_3.9_|_3.10_|_3.11-blue.svg)](https://www.python.org/downloads/release/python-380/) [![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](http://www.gnu.org/licenses/gpl-3.0) diff --git a/setup.py b/setup.py index cdc2fd9..e8237c2 100644 --- a/setup.py +++ b/setup.py @@ -49,5 +49,5 @@ long_description_content_type="text/markdown", install_requires=["posix-ipc", "numpy"], url="https://github.com/Zentetsu/SharedMemory", - python_requires=">=3.6", + python_requires=">=3.8", )