lexitheras 0.1.0__tar.gz → 1.0.1__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.
Files changed (24) hide show
  1. {lexitheras-0.1.0/src/lexitheras.egg-info → lexitheras-1.0.1}/PKG-INFO +9 -5
  2. lexitheras-1.0.1/PUBLISHING.md +65 -0
  3. {lexitheras-0.1.0 → lexitheras-1.0.1}/README.md +1 -1
  4. {lexitheras-0.1.0 → lexitheras-1.0.1}/pyproject.toml +10 -4
  5. {lexitheras-0.1.0 → lexitheras-1.0.1}/setup.py +2 -7
  6. {lexitheras-0.1.0 → lexitheras-1.0.1}/src/lexitheras/__init__.py +1 -1
  7. {lexitheras-0.1.0 → lexitheras-1.0.1/src/lexitheras.egg-info}/PKG-INFO +9 -5
  8. {lexitheras-0.1.0 → lexitheras-1.0.1}/src/lexitheras.egg-info/SOURCES.txt +2 -0
  9. lexitheras-1.0.1/src/lexitheras.egg-info/requires.txt +5 -0
  10. {lexitheras-0.1.0 → lexitheras-1.0.1}/.gitignore +0 -0
  11. {lexitheras-0.1.0 → lexitheras-1.0.1}/LICENSE +0 -0
  12. {lexitheras-0.1.0 → lexitheras-1.0.1}/MANIFEST.in +0 -0
  13. {lexitheras-0.1.0 → lexitheras-1.0.1}/docs/images/orion_poussin.jpg +0 -0
  14. {lexitheras-0.1.0 → lexitheras-1.0.1}/requirements.txt +0 -0
  15. {lexitheras-0.1.0 → lexitheras-1.0.1}/setup.cfg +0 -0
  16. {lexitheras-0.1.0 → lexitheras-1.0.1}/src/lexitheras/cli.py +0 -0
  17. {lexitheras-0.1.0 → lexitheras-1.0.1}/src/lexitheras/deck.py +0 -0
  18. {lexitheras-0.1.0 → lexitheras-1.0.1}/src/lexitheras/scraper.py +0 -0
  19. {lexitheras-0.1.0 → lexitheras-1.0.1}/src/lexitheras/search.py +0 -0
  20. {lexitheras-0.1.0 → lexitheras-1.0.1}/src/lexitheras.egg-info/dependency_links.txt +0 -0
  21. {lexitheras-0.1.0 → lexitheras-1.0.1}/src/lexitheras.egg-info/entry_points.txt +0 -0
  22. {lexitheras-0.1.0 → lexitheras-1.0.1}/src/lexitheras.egg-info/top_level.txt +0 -0
  23. {lexitheras-0.1.0 → lexitheras-1.0.1}/tests/__init__.py +0 -0
  24. {lexitheras-0.1.0 → lexitheras-1.0.1}/tests/test_scraper.py +0 -0
@@ -1,19 +1,18 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lexitheras
3
- Version: 0.1.0
3
+ Version: 1.0.1
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 :: 3 - Alpha
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 (coming soon)
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/*`
@@ -25,7 +25,7 @@ source venv/bin/activate
25
25
  pip install -e .
26
26
  ```
27
27
 
28
- ### Using pip (coming soon)
28
+ ### Using pip
29
29
 
30
30
  ```bash
31
31
  pip install lexitheras
@@ -4,20 +4,26 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "lexitheras"
7
- version = "0.1.0"
7
+ version = "1.0.1"
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 = {text = "GPL-3.0"}
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 :: 3 - Alpha",
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",
@@ -7,12 +7,9 @@ from setuptools import setup, find_packages
7
7
  with open("README.md", "r", encoding="utf-8") as fh:
8
8
  long_description = fh.read()
9
9
 
10
- with open("requirements.txt", "r", encoding="utf-8") as fh:
11
- requirements = [line.strip() for line in fh if line.strip() and not line.startswith("#")]
12
-
13
10
  setup(
14
11
  name="lexitheras",
15
- version="0.1.0",
12
+ version="1.0.1",
16
13
  author="Conor Reid",
17
14
  author_email="", # Add your email if you want
18
15
  description="Convert Perseus Greek vocabulary lists into Anki flashcard decks",
@@ -22,10 +19,9 @@ setup(
22
19
  packages=find_packages(where="src"),
23
20
  package_dir={"": "src"},
24
21
  classifiers=[
25
- "Development Status :: 3 - Alpha",
22
+ "Development Status :: 5 - Production/Stable",
26
23
  "Intended Audience :: Education",
27
24
  "Topic :: Education",
28
- "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
29
25
  "Programming Language :: Python :: 3",
30
26
  "Programming Language :: Python :: 3.6",
31
27
  "Programming Language :: Python :: 3.7",
@@ -34,7 +30,6 @@ setup(
34
30
  "Programming Language :: Python :: 3.10",
35
31
  ],
36
32
  python_requires=">=3.6",
37
- install_requires=requirements,
38
33
  entry_points={
39
34
  "console_scripts": [
40
35
  "lexitheras=lexitheras.cli:main",
@@ -2,7 +2,7 @@
2
2
  Lexitheras - Perseus Greek vocabulary to Anki deck converter
3
3
  """
4
4
 
5
- __version__ = "0.1.0"
5
+ __version__ = "1.0.1"
6
6
  __author__ = "Conor Reid"
7
7
 
8
8
  from .scraper import PerseusVocabScraper
@@ -1,19 +1,18 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lexitheras
3
- Version: 0.1.0
3
+ Version: 1.0.1
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 :: 3 - Alpha
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 (coming soon)
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
@@ -0,0 +1,5 @@
1
+ beautifulsoup4>=4.12.0
2
+ requests>=2.32.0
3
+ genanki>=0.13.0
4
+ lxml>=5.3.0
5
+ click>=8.1.0
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes