Skip to content

Commit

Permalink
Merge pull request #12 from aosingh/dev/1.1.0
Browse files Browse the repository at this point in the history
v1.1.0
  • Loading branch information
aosingh authored Mar 17, 2024
2 parents dede124 + 054cafd commit 422446c
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lexpy_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion lexpy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "1.0.0"
__version__ = "1.1.0"
from lexpy.trie import Trie
from lexpy.dawg import DAWG

Expand Down
3 changes: 2 additions & 1 deletion lexpy/_base/automata.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 6 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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'
Expand All @@ -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]
Expand Down
8 changes: 5 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']

Expand All @@ -31,14 +31,16 @@
'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',
'Operating System :: MacOS'
]
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",
Expand All @@ -63,4 +65,4 @@
include_package_data=True,
classifiers=classifiers,
keywords=keywords.split(),
)
)

0 comments on commit 422446c

Please sign in to comment.