lexitheras 0.1.0__tar.gz → 1.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.
- {lexitheras-0.1.0/src/lexitheras.egg-info → lexitheras-1.0.0}/PKG-INFO +9 -5
- lexitheras-1.0.0/PUBLISHING.md +65 -0
- {lexitheras-0.1.0 → lexitheras-1.0.0}/README.md +1 -1
- {lexitheras-0.1.0 → lexitheras-1.0.0}/pyproject.toml +10 -4
- {lexitheras-0.1.0 → lexitheras-1.0.0}/setup.py +2 -3
- {lexitheras-0.1.0 → lexitheras-1.0.0}/src/lexitheras/__init__.py +1 -1
- {lexitheras-0.1.0 → lexitheras-1.0.0/src/lexitheras.egg-info}/PKG-INFO +9 -5
- {lexitheras-0.1.0 → lexitheras-1.0.0}/src/lexitheras.egg-info/SOURCES.txt +2 -0
- lexitheras-1.0.0/src/lexitheras.egg-info/requires.txt +5 -0
- {lexitheras-0.1.0 → lexitheras-1.0.0}/.gitignore +0 -0
- {lexitheras-0.1.0 → lexitheras-1.0.0}/LICENSE +0 -0
- {lexitheras-0.1.0 → lexitheras-1.0.0}/MANIFEST.in +0 -0
- {lexitheras-0.1.0 → lexitheras-1.0.0}/docs/images/orion_poussin.jpg +0 -0
- {lexitheras-0.1.0 → lexitheras-1.0.0}/requirements.txt +0 -0
- {lexitheras-0.1.0 → lexitheras-1.0.0}/setup.cfg +0 -0
- {lexitheras-0.1.0 → lexitheras-1.0.0}/src/lexitheras/cli.py +0 -0
- {lexitheras-0.1.0 → lexitheras-1.0.0}/src/lexitheras/deck.py +0 -0
- {lexitheras-0.1.0 → lexitheras-1.0.0}/src/lexitheras/scraper.py +0 -0
- {lexitheras-0.1.0 → lexitheras-1.0.0}/src/lexitheras/search.py +0 -0
- {lexitheras-0.1.0 → lexitheras-1.0.0}/src/lexitheras.egg-info/dependency_links.txt +0 -0
- {lexitheras-0.1.0 → lexitheras-1.0.0}/src/lexitheras.egg-info/entry_points.txt +0 -0
- {lexitheras-0.1.0 → lexitheras-1.0.0}/src/lexitheras.egg-info/top_level.txt +0 -0
- {lexitheras-0.1.0 → lexitheras-1.0.0}/tests/__init__.py +0 -0
- {lexitheras-0.1.0 → lexitheras-1.0.0}/tests/test_scraper.py +0 -0
@@ -1,19 +1,18 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: lexitheras
|
3
|
-
Version:
|
3
|
+
Version: 1.0.0
|
4
4
|
Summary: Convert Perseus Greek vocabulary lists into Anki flashcard decks
|
5
5
|
Home-page: https://github.com/conorreid/lexitheras
|
6
6
|
Author: Conor Reid
|
7
7
|
Author-email:
|
8
|
-
License: GPL-3.0
|
8
|
+
License-Expression: GPL-3.0
|
9
9
|
Project-URL: Homepage, https://github.com/conorreid/lexitheras
|
10
10
|
Project-URL: Repository, https://github.com/conorreid/lexitheras
|
11
11
|
Project-URL: Issues, https://github.com/conorreid/lexitheras/issues
|
12
12
|
Keywords: greek,ancient-greek,anki,flashcards,perseus,vocabulary,language-learning
|
13
|
-
Classifier: Development Status ::
|
13
|
+
Classifier: Development Status :: 5 - Production/Stable
|
14
14
|
Classifier: Intended Audience :: Education
|
15
15
|
Classifier: Topic :: Education
|
16
|
-
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
17
16
|
Classifier: Programming Language :: Python :: 3
|
18
17
|
Classifier: Programming Language :: Python :: 3.6
|
19
18
|
Classifier: Programming Language :: Python :: 3.7
|
@@ -24,6 +23,11 @@ Classifier: Programming Language :: Python :: 3.11
|
|
24
23
|
Requires-Python: >=3.6
|
25
24
|
Description-Content-Type: text/markdown
|
26
25
|
License-File: LICENSE
|
26
|
+
Requires-Dist: beautifulsoup4>=4.12.0
|
27
|
+
Requires-Dist: requests>=2.32.0
|
28
|
+
Requires-Dist: genanki>=0.13.0
|
29
|
+
Requires-Dist: lxml>=5.3.0
|
30
|
+
Requires-Dist: click>=8.1.0
|
27
31
|
Dynamic: home-page
|
28
32
|
Dynamic: license-file
|
29
33
|
Dynamic: requires-python
|
@@ -55,7 +59,7 @@ source venv/bin/activate
|
|
55
59
|
pip install -e .
|
56
60
|
```
|
57
61
|
|
58
|
-
### Using pip
|
62
|
+
### Using pip
|
59
63
|
|
60
64
|
```bash
|
61
65
|
pip install lexitheras
|
@@ -0,0 +1,65 @@
|
|
1
|
+
# Publishing to PyPI
|
2
|
+
|
3
|
+
## Prerequisites
|
4
|
+
|
5
|
+
1. Create accounts at:
|
6
|
+
- https://pypi.org/account/register/
|
7
|
+
- https://test.pypi.org/account/register/
|
8
|
+
|
9
|
+
2. Create API tokens:
|
10
|
+
- Go to https://pypi.org/manage/account/token/
|
11
|
+
- Create a token with scope "Entire account"
|
12
|
+
- Save it securely
|
13
|
+
|
14
|
+
## First Time: Test on TestPyPI
|
15
|
+
|
16
|
+
1. Upload to TestPyPI:
|
17
|
+
```bash
|
18
|
+
python -m twine upload --repository testpypi dist/*
|
19
|
+
```
|
20
|
+
(Use your TestPyPI username and password/token)
|
21
|
+
|
22
|
+
2. Test installation from TestPyPI:
|
23
|
+
```bash
|
24
|
+
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ lexitheras
|
25
|
+
```
|
26
|
+
|
27
|
+
## Publish to PyPI
|
28
|
+
|
29
|
+
Once tested, publish to real PyPI:
|
30
|
+
|
31
|
+
```bash
|
32
|
+
python -m twine upload dist/*
|
33
|
+
```
|
34
|
+
|
35
|
+
Use your PyPI username and password/token.
|
36
|
+
|
37
|
+
## Using API Tokens (Recommended)
|
38
|
+
|
39
|
+
Create `~/.pypirc`:
|
40
|
+
```ini
|
41
|
+
[distutils]
|
42
|
+
index-servers =
|
43
|
+
pypi
|
44
|
+
testpypi
|
45
|
+
|
46
|
+
[pypi]
|
47
|
+
username = __token__
|
48
|
+
password = pypi-YOUR_TOKEN_HERE
|
49
|
+
|
50
|
+
[testpypi]
|
51
|
+
username = __token__
|
52
|
+
password = pypi-YOUR_TEST_TOKEN_HERE
|
53
|
+
```
|
54
|
+
|
55
|
+
Then you can upload without entering credentials:
|
56
|
+
```bash
|
57
|
+
python -m twine upload dist/*
|
58
|
+
```
|
59
|
+
|
60
|
+
## Updating Version
|
61
|
+
|
62
|
+
1. Update version in `pyproject.toml` and `setup.py`
|
63
|
+
2. Clean old builds: `rm -rf dist/ build/`
|
64
|
+
3. Build new version: `python -m build`
|
65
|
+
4. Upload: `python -m twine upload dist/*`
|
@@ -4,20 +4,26 @@ build-backend = "setuptools.build_meta"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "lexitheras"
|
7
|
-
version = "
|
7
|
+
version = "1.0.0"
|
8
8
|
description = "Convert Perseus Greek vocabulary lists into Anki flashcard decks"
|
9
9
|
readme = "README.md"
|
10
10
|
requires-python = ">=3.6"
|
11
|
-
license =
|
11
|
+
license = "GPL-3.0"
|
12
12
|
authors = [
|
13
13
|
{name = "Conor Reid"},
|
14
14
|
]
|
15
15
|
keywords = ["greek", "ancient-greek", "anki", "flashcards", "perseus", "vocabulary", "language-learning"]
|
16
|
+
dependencies = [
|
17
|
+
"beautifulsoup4>=4.12.0",
|
18
|
+
"requests>=2.32.0",
|
19
|
+
"genanki>=0.13.0",
|
20
|
+
"lxml>=5.3.0",
|
21
|
+
"click>=8.1.0",
|
22
|
+
]
|
16
23
|
classifiers = [
|
17
|
-
"Development Status ::
|
24
|
+
"Development Status :: 5 - Production/Stable",
|
18
25
|
"Intended Audience :: Education",
|
19
26
|
"Topic :: Education",
|
20
|
-
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
21
27
|
"Programming Language :: Python :: 3",
|
22
28
|
"Programming Language :: Python :: 3.6",
|
23
29
|
"Programming Language :: Python :: 3.7",
|
@@ -12,7 +12,7 @@ with open("requirements.txt", "r", encoding="utf-8") as fh:
|
|
12
12
|
|
13
13
|
setup(
|
14
14
|
name="lexitheras",
|
15
|
-
version="
|
15
|
+
version="1.0.0",
|
16
16
|
author="Conor Reid",
|
17
17
|
author_email="", # Add your email if you want
|
18
18
|
description="Convert Perseus Greek vocabulary lists into Anki flashcard decks",
|
@@ -22,10 +22,9 @@ setup(
|
|
22
22
|
packages=find_packages(where="src"),
|
23
23
|
package_dir={"": "src"},
|
24
24
|
classifiers=[
|
25
|
-
"Development Status ::
|
25
|
+
"Development Status :: 5 - Production/Stable",
|
26
26
|
"Intended Audience :: Education",
|
27
27
|
"Topic :: Education",
|
28
|
-
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
29
28
|
"Programming Language :: Python :: 3",
|
30
29
|
"Programming Language :: Python :: 3.6",
|
31
30
|
"Programming Language :: Python :: 3.7",
|
@@ -1,19 +1,18 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: lexitheras
|
3
|
-
Version:
|
3
|
+
Version: 1.0.0
|
4
4
|
Summary: Convert Perseus Greek vocabulary lists into Anki flashcard decks
|
5
5
|
Home-page: https://github.com/conorreid/lexitheras
|
6
6
|
Author: Conor Reid
|
7
7
|
Author-email:
|
8
|
-
License: GPL-3.0
|
8
|
+
License-Expression: GPL-3.0
|
9
9
|
Project-URL: Homepage, https://github.com/conorreid/lexitheras
|
10
10
|
Project-URL: Repository, https://github.com/conorreid/lexitheras
|
11
11
|
Project-URL: Issues, https://github.com/conorreid/lexitheras/issues
|
12
12
|
Keywords: greek,ancient-greek,anki,flashcards,perseus,vocabulary,language-learning
|
13
|
-
Classifier: Development Status ::
|
13
|
+
Classifier: Development Status :: 5 - Production/Stable
|
14
14
|
Classifier: Intended Audience :: Education
|
15
15
|
Classifier: Topic :: Education
|
16
|
-
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
17
16
|
Classifier: Programming Language :: Python :: 3
|
18
17
|
Classifier: Programming Language :: Python :: 3.6
|
19
18
|
Classifier: Programming Language :: Python :: 3.7
|
@@ -24,6 +23,11 @@ Classifier: Programming Language :: Python :: 3.11
|
|
24
23
|
Requires-Python: >=3.6
|
25
24
|
Description-Content-Type: text/markdown
|
26
25
|
License-File: LICENSE
|
26
|
+
Requires-Dist: beautifulsoup4>=4.12.0
|
27
|
+
Requires-Dist: requests>=2.32.0
|
28
|
+
Requires-Dist: genanki>=0.13.0
|
29
|
+
Requires-Dist: lxml>=5.3.0
|
30
|
+
Requires-Dist: click>=8.1.0
|
27
31
|
Dynamic: home-page
|
28
32
|
Dynamic: license-file
|
29
33
|
Dynamic: requires-python
|
@@ -55,7 +59,7 @@ source venv/bin/activate
|
|
55
59
|
pip install -e .
|
56
60
|
```
|
57
61
|
|
58
|
-
### Using pip
|
62
|
+
### Using pip
|
59
63
|
|
60
64
|
```bash
|
61
65
|
pip install lexitheras
|
@@ -1,6 +1,7 @@
|
|
1
1
|
.gitignore
|
2
2
|
LICENSE
|
3
3
|
MANIFEST.in
|
4
|
+
PUBLISHING.md
|
4
5
|
README.md
|
5
6
|
pyproject.toml
|
6
7
|
requirements.txt
|
@@ -15,6 +16,7 @@ src/lexitheras.egg-info/PKG-INFO
|
|
15
16
|
src/lexitheras.egg-info/SOURCES.txt
|
16
17
|
src/lexitheras.egg-info/dependency_links.txt
|
17
18
|
src/lexitheras.egg-info/entry_points.txt
|
19
|
+
src/lexitheras.egg-info/requires.txt
|
18
20
|
src/lexitheras.egg-info/top_level.txt
|
19
21
|
tests/__init__.py
|
20
22
|
tests/test_scraper.py
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|