Create base project
authorEugene Petkevich <nasedil.genio.code@gmail.com>
Wed, 21 Jul 2021 15:05:50 +0000 (18:05 +0300)
committerEugene Petkevich <nasedil.genio.code@gmail.com>
Wed, 21 Jul 2021 15:05:50 +0000 (18:05 +0300)
LICENSE [new file with mode: 0644]
README.md [new file with mode: 0644]
setup.py [new file with mode: 0644]
tests/test_wordidgen.py [new file with mode: 0644]
wordidgen/__init__.py [new file with mode: 0644]
wordidgen/wordidgen.py [new file with mode: 0755]

diff --git a/LICENSE b/LICENSE
new file mode 100644 (file)
index 0000000..7e40bcd
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2021 Eugene Petkevich
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/README.md b/README.md
new file mode 100644 (file)
index 0000000..a648f5c
--- /dev/null
+++ b/README.md
@@ -0,0 +1,12 @@
+# Генератор слоговых слов-идентификаторов
+
+*Work is in the earliest stage of development.*
+
+Эта программа создаёт слова для использования в качестве идентификаторов.
+Каждое слово состоит из нескольких слогов согласная-гласная.
+
+## License
+
+The project is licensed with the MIT license, you can find it in the [LICENSE](LICENSE) file.
+
+## Version history
diff --git a/setup.py b/setup.py
new file mode 100644 (file)
index 0000000..02237a9
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,8 @@
+# -*- coding: UTF-8 -*-
+from setuptools import setup
+
+setup(name='wordidgen',
+      packages=['wordidgen'],
+      entry_points={
+        'console_scripts': ['wordidgen = wordidgen.wordidgen:main']
+      })
diff --git a/tests/test_wordidgen.py b/tests/test_wordidgen.py
new file mode 100644 (file)
index 0000000..35bf0fc
--- /dev/null
@@ -0,0 +1,3 @@
+# -*- coding: UTF-8 -*-
+
+#TODO
\ No newline at end of file
diff --git a/wordidgen/__init__.py b/wordidgen/__init__.py
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/wordidgen/wordidgen.py b/wordidgen/wordidgen.py
new file mode 100755 (executable)
index 0000000..5246d91
--- /dev/null
@@ -0,0 +1,14 @@
+#!/usr/bin/python
+# -*- coding: UTF-8 -*-
+from argparse import ArgumentDefaultsHelpFormatter
+from argparse import ArgumentParser
+
+def main():
+    """Helper command-line tool for word id generator."""
+    parser = ArgumentParser(description='Word id generators',
+                            formatter_class=ArgumentDefaultsHelpFormatter)
+    args = parser.parse_args()
+    print('Хыхо')
+
+if __name__ == '__main__':
+    main()