diff --git a/readme.md b/readme.md index da9a2e7..a411d3d 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,4 @@ -# DupliPy 0.2.2 +# DupliPy 0.2.3 ![Python Version](https://img.shields.io/badge/python-3.12-blue.svg) ![Code Size](https://img.shields.io/github/languages/code-size/infinitode/duplipy) ![Downloads](https://pepy.tech/badge/duplipy) @@ -7,7 +7,7 @@ An open source Python library for text formatting, augmentation, and similarity calculation tasks in NLP, the package now also includes additional methods for image augmentation. -## Changes to DupliPy 0.2.2 +## Changes to DupliPy 0.2.3 Duplipy now utilizes another one of our Python packages, called ValX, which provides quick methods we can use to clean and format our text data before training in preprocessing steps. diff --git a/setup.py b/setup.py index ff60e60..8934f2a 100644 --- a/setup.py +++ b/setup.py @@ -1,12 +1,15 @@ from setuptools import setup, find_packages +with open("readme.md", "r", encoding="utf-8") as fh: + long_description = fh.read() + setup( name='duplipy', version='{{VERSION_PLACEHOLDER}}', author='Infinitode Pty Ltd', author_email='infinitode.ltd@gmail.com', - description='A package for formatting and text replication, with added support for image augmentation.', - long_description='DupliPy is a quick and easy-to-use package that can handle text formatting and data augmentation tasks for NLP in Python, with added support for image augmentation.', + description='DupliPy is a quick and easy-to-use package that can handle text formatting and data augmentation tasks for NLP in Python, with added support for image augmentation.', + long_description=long_description, long_description_content_type='text/markdown', url='https://github.com/infinitode/duplipy', packages=find_packages(), diff --git a/test.py b/test.py deleted file mode 100644 index 783015b..0000000 --- a/test.py +++ /dev/null @@ -1,3 +0,0 @@ -from duplipy.formatting import remove_hate_speech_from_text - -print(remove_hate_speech_from_text("Hello friend! Goodbye Fag!")) \ No newline at end of file diff --git a/test_duplipy.py b/test_duplipy.py index 85af360..85bc079 100644 --- a/test_duplipy.py +++ b/test_duplipy.py @@ -1,6 +1,5 @@ from duplipy import * - text = "The quick brown fox jumps over the lazy dog.545 g w 4 " print("Removed stopwords: ", remove_stopwords(text)) print("Removed numbers: ", remove_numbers(text))