diff --git a/.gitignore b/.gitignore index f8b73e7..389cccf 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,8 @@ __pycache__/ *.py[cod] *$py.class +*.bak +*.kde* # C extensions *.so diff --git a/LICENSE b/LICENSE index d41c0bd..dcdc0c5 100644 --- a/LICENSE +++ b/LICENSE @@ -208,8 +208,8 @@ If you develop a new program, and you want it to be of the greatest possible use To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the “copyright” line and a pointer to where the full notice is found. - - Copyright (C) + CutWords + Copyright (C) 2022 Beat Jäckle This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. @@ -221,7 +221,7 @@ Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: - Copyright (C) + CutWords Copyright (C) 2022 Beat Jäckle This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. diff --git a/README.md b/README.md index 5f74df1..0a121c8 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# cutwords +# CutWords takes any length string, returns of list strings with each 128 words diff --git a/cutwords.py b/cutwords.py index 8c7308c..1a325f0 100644 --- a/cutwords.py +++ b/cutwords.py @@ -6,6 +6,7 @@ import re class CutWords: + version = '1.0' def __init__(self, string, maxlen=128, mode=None): self.setMaxlen(maxlen) self.setString(string)