folktexts 0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
folktexts-0.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 André Cruz
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
folktexts-0.0/PKG-INFO ADDED
@@ -0,0 +1,74 @@
1
+ Metadata-Version: 2.1
2
+ Name: folktexts
3
+ Version: 0.0
4
+ Summary: A multi-lingual, multi-country Q&A dataset of social facts.
5
+ Author: AndreFCruz
6
+ Project-URL: Homepage, https://github.com/AndreFCruz/folktexts
7
+ Project-URL: Documentation, https://andrefcruz.github.io/folktexts/
8
+ Project-URL: Repository, https://github.com/AndreFCruz/folktexts
9
+ Classifier: Development Status :: 1 - Planning
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Intended Audience :: Science/Research
12
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
13
+ Classifier: Natural Language :: English
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.8
16
+ Classifier: Programming Language :: Python :: 3.9
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Requires-Python: >=3.8
21
+ Description-Content-Type: text/markdown
22
+ License-File: LICENSE
23
+ Requires-Dist: numpy
24
+ Requires-Dist: pandas
25
+ Requires-Dist: tqdm
26
+ Provides-Extra: tests
27
+ Requires-Dist: pytest; extra == "tests"
28
+ Requires-Dist: coverage; extra == "tests"
29
+ Provides-Extra: docs
30
+ Requires-Dist: sphinx; extra == "docs"
31
+ Requires-Dist: sphinx_rtd_theme; extra == "docs"
32
+ Requires-Dist: sphinx-autopackagesummary; extra == "docs"
33
+ Requires-Dist: myst-parser; extra == "docs"
34
+ Requires-Dist: sphinx-copybutton; extra == "docs"
35
+ Requires-Dist: sphinxcontrib-bibtex; extra == "docs"
36
+ Requires-Dist: sphinxemoji; extra == "docs"
37
+
38
+ # :book: folktexts <!-- omit in toc -->
39
+ > :construction: Package under construction
40
+
41
+ ![Tests status](https://github.com/AndreFCruz/folktexts/actions/workflows/python-package.yml/badge.svg)
42
+ ![PyPI status](https://github.com/AndreFCruz/folktexts/actions/workflows/python-publish.yml/badge.svg)
43
+ ![Documentation status](https://github.com/AndreFCruz/folktexts/actions/workflows/python-docs.yml/badge.svg)
44
+ ![PyPI version](https://badgen.net/pypi/v/folktexts)
45
+ ![OSI license](https://badgen.net/pypi/license/folktexts)
46
+ ![Python compatibility](https://badgen.net/pypi/python/folktexts)
47
+
48
+ Repo to host the `folktexts` project.
49
+
50
+ Package documentation can be found [here](https://andrefcruz.github.io/folktexts/)!
51
+
52
+ **Table of contents:**
53
+ - [Installing](#installing)
54
+ - [Usage](#usage)
55
+ - [License and terms of use](#license-and-terms-of-use)
56
+
57
+
58
+ ## Installing
59
+
60
+ Install package from [PyPI](https://pypi.org/project/folktexts/):
61
+
62
+ ```
63
+ pip install folktexts
64
+ ```
65
+
66
+
67
+ ## Usage
68
+
69
+ *TODO*
70
+
71
+
72
+ ## License and terms of use
73
+
74
+ *TODO* (data is licensed under CC BY-NC-SA 4.0; `folktexts` code can be licensed under MIT)
@@ -0,0 +1,37 @@
1
+ # :book: folktexts <!-- omit in toc -->
2
+ > :construction: Package under construction
3
+
4
+ ![Tests status](https://github.com/AndreFCruz/folktexts/actions/workflows/python-package.yml/badge.svg)
5
+ ![PyPI status](https://github.com/AndreFCruz/folktexts/actions/workflows/python-publish.yml/badge.svg)
6
+ ![Documentation status](https://github.com/AndreFCruz/folktexts/actions/workflows/python-docs.yml/badge.svg)
7
+ ![PyPI version](https://badgen.net/pypi/v/folktexts)
8
+ ![OSI license](https://badgen.net/pypi/license/folktexts)
9
+ ![Python compatibility](https://badgen.net/pypi/python/folktexts)
10
+
11
+ Repo to host the `folktexts` project.
12
+
13
+ Package documentation can be found [here](https://andrefcruz.github.io/folktexts/)!
14
+
15
+ **Table of contents:**
16
+ - [Installing](#installing)
17
+ - [Usage](#usage)
18
+ - [License and terms of use](#license-and-terms-of-use)
19
+
20
+
21
+ ## Installing
22
+
23
+ Install package from [PyPI](https://pypi.org/project/folktexts/):
24
+
25
+ ```
26
+ pip install folktexts
27
+ ```
28
+
29
+
30
+ ## Usage
31
+
32
+ *TODO*
33
+
34
+
35
+ ## License and terms of use
36
+
37
+ *TODO* (data is licensed under CC BY-NC-SA 4.0; `folktexts` code can be licensed under MIT)
@@ -0,0 +1 @@
1
+ from ._version import __version__, __version_info__
@@ -0,0 +1,5 @@
1
+ """Module to expose version information."""
2
+ from importlib import metadata
3
+
4
+ __version__ = metadata.version("folktexts")
5
+ __version_info__ = tuple(__version__.split("."))
@@ -0,0 +1,74 @@
1
+ Metadata-Version: 2.1
2
+ Name: folktexts
3
+ Version: 0.0
4
+ Summary: A multi-lingual, multi-country Q&A dataset of social facts.
5
+ Author: AndreFCruz
6
+ Project-URL: Homepage, https://github.com/AndreFCruz/folktexts
7
+ Project-URL: Documentation, https://andrefcruz.github.io/folktexts/
8
+ Project-URL: Repository, https://github.com/AndreFCruz/folktexts
9
+ Classifier: Development Status :: 1 - Planning
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Intended Audience :: Science/Research
12
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
13
+ Classifier: Natural Language :: English
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.8
16
+ Classifier: Programming Language :: Python :: 3.9
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Requires-Python: >=3.8
21
+ Description-Content-Type: text/markdown
22
+ License-File: LICENSE
23
+ Requires-Dist: numpy
24
+ Requires-Dist: pandas
25
+ Requires-Dist: tqdm
26
+ Provides-Extra: tests
27
+ Requires-Dist: pytest; extra == "tests"
28
+ Requires-Dist: coverage; extra == "tests"
29
+ Provides-Extra: docs
30
+ Requires-Dist: sphinx; extra == "docs"
31
+ Requires-Dist: sphinx_rtd_theme; extra == "docs"
32
+ Requires-Dist: sphinx-autopackagesummary; extra == "docs"
33
+ Requires-Dist: myst-parser; extra == "docs"
34
+ Requires-Dist: sphinx-copybutton; extra == "docs"
35
+ Requires-Dist: sphinxcontrib-bibtex; extra == "docs"
36
+ Requires-Dist: sphinxemoji; extra == "docs"
37
+
38
+ # :book: folktexts <!-- omit in toc -->
39
+ > :construction: Package under construction
40
+
41
+ ![Tests status](https://github.com/AndreFCruz/folktexts/actions/workflows/python-package.yml/badge.svg)
42
+ ![PyPI status](https://github.com/AndreFCruz/folktexts/actions/workflows/python-publish.yml/badge.svg)
43
+ ![Documentation status](https://github.com/AndreFCruz/folktexts/actions/workflows/python-docs.yml/badge.svg)
44
+ ![PyPI version](https://badgen.net/pypi/v/folktexts)
45
+ ![OSI license](https://badgen.net/pypi/license/folktexts)
46
+ ![Python compatibility](https://badgen.net/pypi/python/folktexts)
47
+
48
+ Repo to host the `folktexts` project.
49
+
50
+ Package documentation can be found [here](https://andrefcruz.github.io/folktexts/)!
51
+
52
+ **Table of contents:**
53
+ - [Installing](#installing)
54
+ - [Usage](#usage)
55
+ - [License and terms of use](#license-and-terms-of-use)
56
+
57
+
58
+ ## Installing
59
+
60
+ Install package from [PyPI](https://pypi.org/project/folktexts/):
61
+
62
+ ```
63
+ pip install folktexts
64
+ ```
65
+
66
+
67
+ ## Usage
68
+
69
+ *TODO*
70
+
71
+
72
+ ## License and terms of use
73
+
74
+ *TODO* (data is licensed under CC BY-NC-SA 4.0; `folktexts` code can be licensed under MIT)
@@ -0,0 +1,14 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ folktexts/__init__.py
5
+ folktexts/_version.py
6
+ folktexts.egg-info/PKG-INFO
7
+ folktexts.egg-info/SOURCES.txt
8
+ folktexts.egg-info/dependency_links.txt
9
+ folktexts.egg-info/requires.txt
10
+ folktexts.egg-info/top_level.txt
11
+ requirements/docs.txt
12
+ requirements/main.txt
13
+ requirements/tests.txt
14
+ tests/test_dummy.py
@@ -0,0 +1,16 @@
1
+ numpy
2
+ pandas
3
+ tqdm
4
+
5
+ [docs]
6
+ sphinx
7
+ sphinx_rtd_theme
8
+ sphinx-autopackagesummary
9
+ myst-parser
10
+ sphinx-copybutton
11
+ sphinxcontrib-bibtex
12
+ sphinxemoji
13
+
14
+ [tests]
15
+ pytest
16
+ coverage
@@ -0,0 +1 @@
1
+ folktexts
@@ -0,0 +1,96 @@
1
+ [build-system]
2
+ requires = ["setuptools"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "folktexts"
7
+ description = "A multi-lingual, multi-country Q&A dataset of social facts."
8
+ authors = [
9
+ { name = "AndreFCruz" }
10
+ ]
11
+
12
+ # PyPI classifiers, see https://pypi.org/classifiers/
13
+ classifiers = [
14
+ "Development Status :: 1 - Planning",
15
+ "License :: OSI Approved :: MIT License",
16
+ "Intended Audience :: Science/Research",
17
+ "Topic :: Scientific/Engineering :: Artificial Intelligence",
18
+ "Natural Language :: English",
19
+ "Programming Language :: Python :: 3",
20
+ "Programming Language :: Python :: 3.8",
21
+ "Programming Language :: Python :: 3.9",
22
+ "Programming Language :: Python :: 3.10",
23
+ "Programming Language :: Python :: 3.11",
24
+ "Programming Language :: Python :: 3.12",
25
+ ]
26
+
27
+ version = "0.0"
28
+ requires-python = ">=3.8"
29
+ dynamic = [
30
+ "readme",
31
+ "dependencies",
32
+ "optional-dependencies",
33
+ ] # these are defined below dynamically
34
+
35
+ [tool.setuptools.dynamic]
36
+ readme = { file = "README.md", content-type="text/markdown" }
37
+
38
+ # Main package dependencies
39
+ dependencies = {file = "requirements/main.txt"}
40
+
41
+ # Optional dependencies
42
+ optional-dependencies.tests = {file = "requirements/tests.txt"}
43
+ optional-dependencies.docs = {file = "requirements/docs.txt"}
44
+
45
+ [project.urls]
46
+ Homepage = "https://github.com/AndreFCruz/folktexts" # TODO: eventually point to github pages (docs)
47
+ Documentation = "https://andrefcruz.github.io/folktexts/"
48
+ Repository = "https://github.com/AndreFCruz/folktexts"
49
+
50
+ [tool.setuptools.packages.find]
51
+ include = ["folktexts"]
52
+
53
+ # Autopep8
54
+ [tool.autopep8]
55
+ max_line_length = 100
56
+ aggressive = 1
57
+
58
+ # isort
59
+ [tool.isort]
60
+ profile = "hug"
61
+ force_single_line = false
62
+ src_paths = ["folktexts", "tests"]
63
+
64
+ # Pylint
65
+ [tool.pylint.MASTER]
66
+ [tool.pylint.FORMAT]
67
+ max-line-length = 100
68
+ extension-pkg-whitelist = "numpy"
69
+
70
+ [tool.pylint.MESSAGES_CONTROL]
71
+ disable = "invalid-name"
72
+
73
+ # Coverage
74
+ [tool.coverage.run]
75
+ branch = true
76
+ source = ["folktexts"]
77
+ omit = ["folktexts/_version.py", "tests"]
78
+
79
+ [tool.coverage.report]
80
+ show_missing = true
81
+
82
+ # MyPy
83
+ [tool.mypy]
84
+ ignore_missing_imports = true
85
+ exclude = ["build", "doc"]
86
+
87
+ # Tox
88
+ [tool.tox]
89
+ legacy_tox_ini = """
90
+ [tox]
91
+ envlist = py38,py39,py310
92
+
93
+ [testenv]
94
+ description = run unit tests
95
+ commands = python -m pytest tests
96
+ """
@@ -0,0 +1,7 @@
1
+ sphinx
2
+ sphinx_rtd_theme
3
+ sphinx-autopackagesummary
4
+ myst-parser
5
+ sphinx-copybutton
6
+ sphinxcontrib-bibtex
7
+ sphinxemoji
@@ -0,0 +1,3 @@
1
+ numpy
2
+ pandas
3
+ tqdm
@@ -0,0 +1,2 @@
1
+ pytest
2
+ coverage
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,8 @@
1
+ """Dummy test.
2
+ """
3
+
4
+
5
+ def test_version_in_alpha():
6
+ """Checks whether we're still in alpha."""
7
+ from folktexts import __version__
8
+ assert __version__.startswith("0.")