NeoBase 0.33.23__tar.gz → 0.34__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 (31) hide show
  1. {neobase-0.33.23 → neobase-0.34}/.github/workflows/python-package.yml +3 -3
  2. {neobase-0.33.23 → neobase-0.34}/NeoBase.egg-info/PKG-INFO +3 -4
  3. {neobase-0.33.23 → neobase-0.34}/NeoBase.egg-info/SOURCES.txt +0 -1
  4. {neobase-0.33.23 → neobase-0.34}/PKG-INFO +3 -4
  5. {neobase-0.33.23 → neobase-0.34}/README.rst +1 -1
  6. neobase-0.34/neobase/_version.py +1 -0
  7. {neobase-0.33.23 → neobase-0.34}/neobase/neobase.py +3 -7
  8. {neobase-0.33.23 → neobase-0.34}/neobase/optd_por_public.csv +126 -122
  9. {neobase-0.33.23 → neobase-0.34}/pyproject.toml +3 -3
  10. {neobase-0.33.23 → neobase-0.34}/setup.cfg +1 -2
  11. {neobase-0.33.23 → neobase-0.34}/tox.ini +9 -7
  12. neobase-0.33.23/NeoBase.egg-info/requires.txt +0 -3
  13. neobase-0.33.23/neobase/_version.py +0 -1
  14. {neobase-0.33.23 → neobase-0.34}/.gitignore +0 -0
  15. {neobase-0.33.23 → neobase-0.34}/LICENSE +0 -0
  16. {neobase-0.33.23 → neobase-0.34}/MANIFEST.in +0 -0
  17. {neobase-0.33.23 → neobase-0.34}/NeoBase.egg-info/dependency_links.txt +0 -0
  18. {neobase-0.33.23 → neobase-0.34}/NeoBase.egg-info/entry_points.txt +0 -0
  19. {neobase-0.33.23 → neobase-0.34}/NeoBase.egg-info/not-zip-safe +0 -0
  20. {neobase-0.33.23 → neobase-0.34}/NeoBase.egg-info/top_level.txt +0 -0
  21. {neobase-0.33.23 → neobase-0.34}/_config.yml +0 -0
  22. {neobase-0.33.23 → neobase-0.34}/conftest.py +0 -0
  23. {neobase-0.33.23 → neobase-0.34}/doc/Makefile +0 -0
  24. {neobase-0.33.23 → neobase-0.34}/doc/conf.py +0 -0
  25. {neobase-0.33.23 → neobase-0.34}/doc/index.rst +0 -0
  26. {neobase-0.33.23 → neobase-0.34}/doc/make.bat +0 -0
  27. {neobase-0.33.23 → neobase-0.34}/neobase/__init__.py +0 -0
  28. {neobase-0.33.23 → neobase-0.34}/neobase/__main__.py +0 -0
  29. {neobase-0.33.23 → neobase-0.34}/setup.py +0 -0
  30. {neobase-0.33.23 → neobase-0.34}/test_neobase.py +0 -0
  31. {neobase-0.33.23 → neobase-0.34}/update_data.sh +0 -0
@@ -17,7 +17,7 @@ jobs:
17
17
  strategy:
18
18
  fail-fast: false
19
19
  matrix:
20
- python-version: [3.7, 3.8, 3.9, '3.10', '3.11', '3.12', 'pypy-3.6', 'pypy-3.8', 'pypy-3.9']
20
+ python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', 'pypy-3.9']
21
21
  os: [ubuntu-latest] #, windows-latest, macos-latest]
22
22
 
23
23
  name: ${{ matrix.os }} - ${{ matrix.python-version }}
@@ -49,7 +49,7 @@ jobs:
49
49
  git fetch --depth=1 origin +refs/tags/*:refs/tags/*
50
50
  - uses: actions/setup-python@v5
51
51
  with:
52
- python-version: "3.8"
52
+ python-version: "3.9"
53
53
  - name: Install dependencies
54
54
  run: |
55
55
  python -m pip install --upgrade pip
@@ -68,7 +68,7 @@ jobs:
68
68
  steps:
69
69
  - uses: actions/setup-python@v5
70
70
  with:
71
- python-version: "3.8"
71
+ python-version: "3.9"
72
72
  - name: Install dependencies
73
73
  run: pip install twine
74
74
  - uses: actions/download-artifact@v4
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: NeoBase
3
- Version: 0.33.23
3
+ Version: 0.34
4
4
  Summary: Python library to manipulate Open Travel Data
5
5
  Home-page: https://github.com/alexprengere/neobase
6
6
  Author: Alex Prengère
@@ -10,10 +10,9 @@ Classifier: Programming Language :: Python :: 3
10
10
  Classifier: Programming Language :: Python :: 3 :: Only
11
11
  Classifier: Programming Language :: Python :: Implementation :: CPython
12
12
  Classifier: Programming Language :: Python :: Implementation :: PyPy
13
- Requires-Python: >=3.6.1
13
+ Requires-Python: >=3.9
14
14
  Description-Content-Type: text/x-rst
15
15
  License-File: LICENSE
16
- Requires-Dist: importlib_resources; python_version < "3.9"
17
16
 
18
17
  NeoBase |actions|_ |cratev|_ |crated|_
19
18
  ======================================
@@ -31,7 +30,7 @@ Minimalist `GeoBases <https://github.com/opentraveldata/geobases/>`__
31
30
  implementation:
32
31
 
33
32
  - no dependencies
34
- - compatible with Python 3.6+, CPython and PyPy
33
+ - compatible with Python 3.9+, CPython and PyPy
35
34
  - one data source:
36
35
  `opentraveldata <https://github.com/opentraveldata/opentraveldata>`__
37
36
  - one Python module for easier distribution on clusters (like Hadoop)
@@ -16,7 +16,6 @@ NeoBase.egg-info/SOURCES.txt
16
16
  NeoBase.egg-info/dependency_links.txt
17
17
  NeoBase.egg-info/entry_points.txt
18
18
  NeoBase.egg-info/not-zip-safe
19
- NeoBase.egg-info/requires.txt
20
19
  NeoBase.egg-info/top_level.txt
21
20
  doc/Makefile
22
21
  doc/conf.py
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: NeoBase
3
- Version: 0.33.23
3
+ Version: 0.34
4
4
  Summary: Python library to manipulate Open Travel Data
5
5
  Home-page: https://github.com/alexprengere/neobase
6
6
  Author: Alex Prengère
@@ -10,10 +10,9 @@ Classifier: Programming Language :: Python :: 3
10
10
  Classifier: Programming Language :: Python :: 3 :: Only
11
11
  Classifier: Programming Language :: Python :: Implementation :: CPython
12
12
  Classifier: Programming Language :: Python :: Implementation :: PyPy
13
- Requires-Python: >=3.6.1
13
+ Requires-Python: >=3.9
14
14
  Description-Content-Type: text/x-rst
15
15
  License-File: LICENSE
16
- Requires-Dist: importlib_resources; python_version < "3.9"
17
16
 
18
17
  NeoBase |actions|_ |cratev|_ |crated|_
19
18
  ======================================
@@ -31,7 +30,7 @@ Minimalist `GeoBases <https://github.com/opentraveldata/geobases/>`__
31
30
  implementation:
32
31
 
33
32
  - no dependencies
34
- - compatible with Python 3.6+, CPython and PyPy
33
+ - compatible with Python 3.9+, CPython and PyPy
35
34
  - one data source:
36
35
  `opentraveldata <https://github.com/opentraveldata/opentraveldata>`__
37
36
  - one Python module for easier distribution on clusters (like Hadoop)
@@ -14,7 +14,7 @@ Minimalist `GeoBases <https://github.com/opentraveldata/geobases/>`__
14
14
  implementation:
15
15
 
16
16
  - no dependencies
17
- - compatible with Python 3.6+, CPython and PyPy
17
+ - compatible with Python 3.9+, CPython and PyPy
18
18
  - one data source:
19
19
  `opentraveldata <https://github.com/opentraveldata/opentraveldata>`__
20
20
  - one Python module for easier distribution on clusters (like Hadoop)
@@ -0,0 +1 @@
1
+ __version__ = "0.34"
@@ -16,11 +16,7 @@ GeoBase. Rebooted.
16
16
  LatLng(lat=48.72..., lng=2.35...)
17
17
  """
18
18
 
19
- try:
20
- from importlib.resources import files
21
- except ImportError:
22
- from importlib_resources import files
23
-
19
+ from importlib.resources import files
24
20
  from os import getenv
25
21
  import operator
26
22
  from datetime import datetime
@@ -414,7 +410,7 @@ class NeoBase:
414
410
  >>> b = NeoBase()
415
411
  >>> # Paris, airports <= 50km
416
412
  >>> [b.get(k, 'iata_code') for d, k in sorted(b.find_near_location((48.84, 2.367), 5))]
417
- ['PAR', 'XGB', 'MPE', 'XHP', 'XPG', 'XEX']
413
+ ['LYY', 'PAR', 'XGB', 'MPE', 'XHP', 'XPG', 'XEX']
418
414
  """
419
415
  if from_keys is None:
420
416
  from_keys = iter(self)
@@ -526,7 +522,7 @@ class NeoBase:
526
522
  >>> c0 = [('city_code_list', ['PAR'])]
527
523
  >>> c1 = [('location_type', ['H'])]
528
524
  >>> len(list(b.find_with(c0)))
529
- 17
525
+ 18
530
526
  >>> len(list(b.find_with(c0 + c1)))
531
527
  2
532
528
  """