diff --git a/.github/workflows/lexpy_build.yaml b/.github/workflows/lexpy_build.yaml index b6ca37f..d1516fc 100644 --- a/.github/workflows/lexpy_build.yaml +++ b/.github/workflows/lexpy_build.yaml @@ -9,11 +9,11 @@ jobs: fail-fast: false matrix: os: [macos-latest, windows-latest, ubuntu-latest] - python-version: ['3.7', '3.8', '3.9', '3.10', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9', 'pypy-3.10'] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup Python ${{ matrix.python-version }} uses: actions/setup-python@v4 diff --git a/README.md b/README.md index e6cce9b..713ddb4 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,10 @@ [![Python 3.8](https://img.shields.io/badge/python-3.8-blue.svg)](https://www.python.org/downloads/release/python-380/) [![Python 3.9](https://img.shields.io/badge/python-3.9-blue.svg)](https://www.python.org/downloads/release/python-390/) [![Python 3.10](https://img.shields.io/badge/python-3.10-blue.svg)](https://www.python.org/downloads/release/python-3100/) +[![Python 3.11](https://img.shields.io/badge/python-3.11-blue.svg)](https://www.python.org/downloads/release/python-3110/) +[![Python 3.12](https://img.shields.io/badge/python-3.12-blue.svg)](https://www.python.org/downloads/release/python-3120/) + + [![PyPy3.7](https://img.shields.io/badge/python-PyPy3.7-blue.svg)](https://www.pypy.org/download.html) [![PyPy3.8](https://img.shields.io/badge/python-PyPy3.8-blue.svg)](https://www.pypy.org/download.html) diff --git a/lexpy/__init__.py b/lexpy/__init__.py index c95b288..5ea3e6b 100644 --- a/lexpy/__init__.py +++ b/lexpy/__init__.py @@ -1,4 +1,4 @@ -__version__ = "1.0.0" +__version__ = "1.1.0" from lexpy.trie import Trie from lexpy.dawg import DAWG diff --git a/lexpy/_base/automata.py b/lexpy/_base/automata.py index ae1458b..ef4e669 100644 --- a/lexpy/_base/automata.py +++ b/lexpy/_base/automata.py @@ -19,7 +19,8 @@ def __init__(self, root): def __contains__(self, word): """ Description: - To enable the use of 'in' keyword on dawg. Returns true if the word is present in dawg else false + To enable the use of 'in' keyword on dawg. + Returns true if the word is present in dawg else false Args: :arg word (str) The word to be searched diff --git a/setup.cfg b/setup.cfg index 9825d42..6e8799c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = lexpy -version = 1.0.0 +version = 1.1.0 description = Python package for lexicon long_description = file: README.md long_description_content_type = text/markdown @@ -19,6 +19,8 @@ classifiers = 'Programming Language :: Python :: 3.8' 'Programming Language :: Python :: 3.9' 'Programming Language :: Python :: 3.10' + 'Programming Language :: Python :: 3.11' + 'Programming Language :: Python :: 3.12' 'Operating System :: POSIX :: Linux' 'Operating System :: Unix' 'Operating System :: Microsoft :: Windows' @@ -31,9 +33,9 @@ project_urls = Documentation = https://github.com/aosingh/lexpy Source = https://github.com/aosingh/lexpy Bug Tracker = https://github.com/aosingh/lexpy/issues - CI: https://github.com/aosingh/lexpy/actions - Release Notes: https://github.com/aosingh/lexpy/releases - License: https://github.com/aosingh/lexpy/blob/main/LICENSE + CI= https://github.com/aosingh/lexpy/actions + Release Notes= https://github.com/aosingh/lexpy/releases + License= https://github.com/aosingh/lexpy/blob/main/LICENSE [options] diff --git a/setup.py b/setup.py index b66dce0..d2701da 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ DESCRIPTION = 'Python package for lexicon' LICENSE = 'GNU GPLv3' URL = 'https://github.com/aosingh/lexpy' -VERSION = '1.0.0' +VERSION = '1.1.0' PACKAGES = ['lexpy'] @@ -31,6 +31,8 @@ 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', 'Operating System :: POSIX :: Linux', 'Operating System :: Unix', 'Operating System :: Microsoft :: Windows', @@ -38,7 +40,7 @@ ] keywords = 'trie suffix-trees lexicon directed-acyclic-word-graph dawg' -project_urls = {"Documentation" : "https://github.com/aosingh/lexpy", +project_urls = {"Documentation": "https://github.com/aosingh/lexpy", "Source": "https://github.com/aosingh/lexpy", "Bug Tracker": "https://github.com/aosingh/lexpy/issues", "CI": "https://github.com/aosingh/lexpy/actions", @@ -63,4 +65,4 @@ include_package_data=True, classifiers=classifiers, keywords=keywords.split(), -) \ No newline at end of file +)