google-browser-scraper 0.2.1__tar.gz → 0.2.3__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 (18) hide show
  1. google_browser_scraper-0.2.3/PKG-INFO +44 -0
  2. google_browser_scraper-0.2.3/README.md +20 -0
  3. {google_browser_scraper-0.2.1 → google_browser_scraper-0.2.3}/pyproject.toml +11 -11
  4. google_browser_scraper-0.2.3/src/google_browser_scraper/__init__.py +48 -0
  5. google_browser_scraper-0.2.3/src/google_browser_scraper.egg-info/PKG-INFO +44 -0
  6. google_browser_scraper-0.2.3/src/google_browser_scraper.egg-info/requires.txt +13 -0
  7. google_browser_scraper-0.2.1/PKG-INFO +0 -38
  8. google_browser_scraper-0.2.1/README.md +0 -14
  9. google_browser_scraper-0.2.1/src/google_browser_scraper/__init__.py +0 -45
  10. google_browser_scraper-0.2.1/src/google_browser_scraper.egg-info/PKG-INFO +0 -38
  11. google_browser_scraper-0.2.1/src/google_browser_scraper.egg-info/requires.txt +0 -13
  12. {google_browser_scraper-0.2.1 → google_browser_scraper-0.2.3}/LICENSE +0 -0
  13. {google_browser_scraper-0.2.1 → google_browser_scraper-0.2.3}/setup.cfg +0 -0
  14. {google_browser_scraper-0.2.1 → google_browser_scraper-0.2.3}/src/google_browser_scraper/__main__.py +0 -0
  15. {google_browser_scraper-0.2.1 → google_browser_scraper-0.2.3}/src/google_browser_scraper.egg-info/SOURCES.txt +0 -0
  16. {google_browser_scraper-0.2.1 → google_browser_scraper-0.2.3}/src/google_browser_scraper.egg-info/dependency_links.txt +0 -0
  17. {google_browser_scraper-0.2.1 → google_browser_scraper-0.2.3}/src/google_browser_scraper.egg-info/entry_points.txt +0 -0
  18. {google_browser_scraper-0.2.1 → google_browser_scraper-0.2.3}/src/google_browser_scraper.egg-info/top_level.txt +0 -0
@@ -0,0 +1,44 @@
1
+ Metadata-Version: 2.4
2
+ Name: google-browser-scraper
3
+ Version: 0.2.3
4
+ Summary: Renamed to serpmaven (SERP Maven). Installing this installs serpmaven and keeps the old command and import working.
5
+ Author: NodeMaven
6
+ License-Expression: MIT
7
+ Project-URL: Source, https://github.com/nodemaven/serpmaven
8
+ Project-URL: New package, https://pypi.org/project/serpmaven/
9
+ Classifier: Development Status :: 7 - Inactive
10
+ Classifier: Programming Language :: Python :: 3
11
+ Requires-Python: >=3.10
12
+ Description-Content-Type: text/markdown
13
+ License-File: LICENSE
14
+ Requires-Dist: serpmaven>=0.2.3
15
+ Provides-Extra: nodemaven
16
+ Requires-Dist: serpmaven[nodemaven]>=0.2.3; extra == "nodemaven"
17
+ Provides-Extra: cloak
18
+ Requires-Dist: serpmaven[cloak]>=0.2.3; extra == "cloak"
19
+ Provides-Extra: all
20
+ Requires-Dist: serpmaven[all]>=0.2.3; extra == "all"
21
+ Provides-Extra: dev
22
+ Requires-Dist: serpmaven[dev]>=0.2.3; extra == "dev"
23
+ Dynamic: license-file
24
+
25
+ # google-browser-scraper is now SERP Maven
26
+
27
+ This project was renamed to [serpmaven](https://pypi.org/project/serpmaven/) (SERP Maven).
28
+
29
+ ```
30
+ pip install serpmaven
31
+ ```
32
+
33
+ To keep the old names, install this package instead; it installs serpmaven too:
34
+
35
+ ```
36
+ pip install google-browser-scraper
37
+ ```
38
+
39
+ Installing `google-browser-scraper` installs `serpmaven` and keeps the old names
40
+ working: the `google-browser-scraper` command, `import google_browser_scraper`
41
+ (with a deprecation warning) and the `GBS_*` environment variables. New code
42
+ should use `serpmaven`, `import serpmaven` and `SERPMAVEN_*`.
43
+
44
+ Source and documentation: https://github.com/nodemaven/serpmaven
@@ -0,0 +1,20 @@
1
+ # google-browser-scraper is now SERP Maven
2
+
3
+ This project was renamed to [serpmaven](https://pypi.org/project/serpmaven/) (SERP Maven).
4
+
5
+ ```
6
+ pip install serpmaven
7
+ ```
8
+
9
+ To keep the old names, install this package instead; it installs serpmaven too:
10
+
11
+ ```
12
+ pip install google-browser-scraper
13
+ ```
14
+
15
+ Installing `google-browser-scraper` installs `serpmaven` and keeps the old names
16
+ working: the `google-browser-scraper` command, `import google_browser_scraper`
17
+ (with a deprecation warning) and the `GBS_*` environment variables. New code
18
+ should use `serpmaven`, `import serpmaven` and `SERPMAVEN_*`.
19
+
20
+ Source and documentation: https://github.com/nodemaven/serpmaven
@@ -1,6 +1,6 @@
1
- # The old distribution name, kept so that `pip install google-browser-scraper`,
1
+ # The first name of serpmaven, kept so that `pip install google-browser-scraper`,
2
2
  # the `google-browser-scraper` command and `import google_browser_scraper` go on
3
- # working. It holds no code of its own: it installs `gserp`, this version or newer.
3
+ # working. It holds no code of its own: it installs `serpmaven`, this version or newer.
4
4
  [build-system]
5
5
  # 77 for `license-files` in [project].
6
6
  requires = ["setuptools>=77"]
@@ -8,8 +8,8 @@ build-backend = "setuptools.build_meta"
8
8
 
9
9
  [project]
10
10
  name = "google-browser-scraper"
11
- version = "0.2.1"
12
- description = "Renamed to gserp. Installing this installs gserp and keeps the old command and import working."
11
+ version = "0.2.3"
12
+ description = "Renamed to serpmaven (SERP Maven). Installing this installs serpmaven and keeps the old command and import working."
13
13
  readme = "README.md"
14
14
  license = "MIT"
15
15
  license-files = ["LICENSE"]
@@ -19,20 +19,20 @@ classifiers = [
19
19
  "Development Status :: 7 - Inactive",
20
20
  "Programming Language :: Python :: 3",
21
21
  ]
22
- dependencies = ["gserp>=0.2.1"]
22
+ dependencies = ["serpmaven>=0.2.3"]
23
23
 
24
24
  [project.optional-dependencies]
25
- nodemaven = ["gserp[nodemaven]>=0.2.1"]
26
- cloak = ["gserp[cloak]>=0.2.1"]
27
- all = ["gserp[all]>=0.2.1"]
28
- dev = ["gserp[dev]>=0.2.1"]
25
+ nodemaven = ["serpmaven[nodemaven]>=0.2.3"]
26
+ cloak = ["serpmaven[cloak]>=0.2.3"]
27
+ all = ["serpmaven[all]>=0.2.3"]
28
+ dev = ["serpmaven[dev]>=0.2.3"]
29
29
 
30
30
  [project.scripts]
31
31
  google-browser-scraper = "google_browser_scraper:main"
32
32
 
33
33
  [project.urls]
34
- Source = "https://github.com/nodemaven/gserp"
35
- "New package" = "https://pypi.org/project/gserp/"
34
+ Source = "https://github.com/nodemaven/serpmaven"
35
+ "New package" = "https://pypi.org/project/serpmaven/"
36
36
 
37
37
  [tool.setuptools.packages.find]
38
38
  where = ["src"]
@@ -0,0 +1,48 @@
1
+ """The old name of `serpmaven`.
2
+
3
+ `google-browser-scraper` was renamed to `serpmaven` (SERP Maven). This package
4
+ installs `serpmaven` and keeps the old import, command and `python -m` working:
5
+ every `google_browser_scraper.<module>` is the same module object as
6
+ `serpmaven.<module>`.
7
+ """
8
+
9
+ import importlib
10
+ import pkgutil
11
+ import sys
12
+ import warnings
13
+
14
+ import serpmaven
15
+ from serpmaven import * # noqa: F403
16
+ from serpmaven import __all__, __version__ # noqa: F401
17
+
18
+ # FutureWarning, not DeprecationWarning: Python shows it by default wherever the
19
+ # import happens, and this one is meant for the people running the code.
20
+ warnings.warn(
21
+ "google_browser_scraper is now serpmaven: pip install serpmaven and import serpmaven",
22
+ FutureWarning,
23
+ stacklevel=2,
24
+ )
25
+
26
+ # Every public serpmaven module, read from the installed package so a module
27
+ # added later is aliased too. `__main__` and private modules are left out:
28
+ # importing `serpmaven.__main__` would run the CLI.
29
+ MODULES = tuple(
30
+ info.name for info in pkgutil.iter_modules(serpmaven.__path__) if not info.name.startswith("_")
31
+ )
32
+
33
+ for _name in MODULES:
34
+ _module = importlib.import_module(f"serpmaven.{_name}")
35
+ sys.modules[f"{__name__}.{_name}"] = _module
36
+ # The attribute is whatever serpmaven has under that name: the module, or a
37
+ # function exported under the same name (`classify` is both).
38
+ setattr(sys.modules[__name__], _name, getattr(serpmaven, _name, _module))
39
+
40
+
41
+ def main() -> int:
42
+ """The old command, `google-browser-scraper`: the `serpmaven` CLI."""
43
+ from serpmaven.cli import main as serpmaven_main
44
+
45
+ return serpmaven_main(prog="google-browser-scraper")
46
+
47
+
48
+ del _name, _module, serpmaven
@@ -0,0 +1,44 @@
1
+ Metadata-Version: 2.4
2
+ Name: google-browser-scraper
3
+ Version: 0.2.3
4
+ Summary: Renamed to serpmaven (SERP Maven). Installing this installs serpmaven and keeps the old command and import working.
5
+ Author: NodeMaven
6
+ License-Expression: MIT
7
+ Project-URL: Source, https://github.com/nodemaven/serpmaven
8
+ Project-URL: New package, https://pypi.org/project/serpmaven/
9
+ Classifier: Development Status :: 7 - Inactive
10
+ Classifier: Programming Language :: Python :: 3
11
+ Requires-Python: >=3.10
12
+ Description-Content-Type: text/markdown
13
+ License-File: LICENSE
14
+ Requires-Dist: serpmaven>=0.2.3
15
+ Provides-Extra: nodemaven
16
+ Requires-Dist: serpmaven[nodemaven]>=0.2.3; extra == "nodemaven"
17
+ Provides-Extra: cloak
18
+ Requires-Dist: serpmaven[cloak]>=0.2.3; extra == "cloak"
19
+ Provides-Extra: all
20
+ Requires-Dist: serpmaven[all]>=0.2.3; extra == "all"
21
+ Provides-Extra: dev
22
+ Requires-Dist: serpmaven[dev]>=0.2.3; extra == "dev"
23
+ Dynamic: license-file
24
+
25
+ # google-browser-scraper is now SERP Maven
26
+
27
+ This project was renamed to [serpmaven](https://pypi.org/project/serpmaven/) (SERP Maven).
28
+
29
+ ```
30
+ pip install serpmaven
31
+ ```
32
+
33
+ To keep the old names, install this package instead; it installs serpmaven too:
34
+
35
+ ```
36
+ pip install google-browser-scraper
37
+ ```
38
+
39
+ Installing `google-browser-scraper` installs `serpmaven` and keeps the old names
40
+ working: the `google-browser-scraper` command, `import google_browser_scraper`
41
+ (with a deprecation warning) and the `GBS_*` environment variables. New code
42
+ should use `serpmaven`, `import serpmaven` and `SERPMAVEN_*`.
43
+
44
+ Source and documentation: https://github.com/nodemaven/serpmaven
@@ -0,0 +1,13 @@
1
+ serpmaven>=0.2.3
2
+
3
+ [all]
4
+ serpmaven[all]>=0.2.3
5
+
6
+ [cloak]
7
+ serpmaven[cloak]>=0.2.3
8
+
9
+ [dev]
10
+ serpmaven[dev]>=0.2.3
11
+
12
+ [nodemaven]
13
+ serpmaven[nodemaven]>=0.2.3
@@ -1,38 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: google-browser-scraper
3
- Version: 0.2.1
4
- Summary: Renamed to gserp. Installing this installs gserp and keeps the old command and import working.
5
- Author: NodeMaven
6
- License-Expression: MIT
7
- Project-URL: Source, https://github.com/nodemaven/gserp
8
- Project-URL: New package, https://pypi.org/project/gserp/
9
- Classifier: Development Status :: 7 - Inactive
10
- Classifier: Programming Language :: Python :: 3
11
- Requires-Python: >=3.10
12
- Description-Content-Type: text/markdown
13
- License-File: LICENSE
14
- Requires-Dist: gserp>=0.2.1
15
- Provides-Extra: nodemaven
16
- Requires-Dist: gserp[nodemaven]>=0.2.1; extra == "nodemaven"
17
- Provides-Extra: cloak
18
- Requires-Dist: gserp[cloak]>=0.2.1; extra == "cloak"
19
- Provides-Extra: all
20
- Requires-Dist: gserp[all]>=0.2.1; extra == "all"
21
- Provides-Extra: dev
22
- Requires-Dist: gserp[dev]>=0.2.1; extra == "dev"
23
- Dynamic: license-file
24
-
25
- # google-browser-scraper is now gserp
26
-
27
- This project was renamed to [gserp](https://pypi.org/project/gserp/).
28
-
29
- ```
30
- pip install gserp
31
- ```
32
-
33
- Installing `google-browser-scraper` installs `gserp` and keeps the old names working: the `google-browser-scraper` command,
34
- `import google_browser_scraper` (with a deprecation warning) and the `GBS_*`
35
- environment variables. New code should use `gserp`, `import gserp` and
36
- `GSERP_*`.
37
-
38
- Source and documentation: https://github.com/nodemaven/gserp
@@ -1,14 +0,0 @@
1
- # google-browser-scraper is now gserp
2
-
3
- This project was renamed to [gserp](https://pypi.org/project/gserp/).
4
-
5
- ```
6
- pip install gserp
7
- ```
8
-
9
- Installing `google-browser-scraper` installs `gserp` and keeps the old names working: the `google-browser-scraper` command,
10
- `import google_browser_scraper` (with a deprecation warning) and the `GBS_*`
11
- environment variables. New code should use `gserp`, `import gserp` and
12
- `GSERP_*`.
13
-
14
- Source and documentation: https://github.com/nodemaven/gserp
@@ -1,45 +0,0 @@
1
- """The old name of `gserp`.
2
-
3
- `google-browser-scraper` was renamed to `gserp`. This package installs `gserp`
4
- and keeps the old import, command and `python -m` working: every
5
- `google_browser_scraper.<module>` is the same module object as `gserp.<module>`.
6
- """
7
-
8
- import importlib
9
- import pkgutil
10
- import sys
11
- import warnings
12
-
13
- import gserp
14
- from gserp import * # noqa: F403
15
- from gserp import __all__, __version__ # noqa: F401
16
-
17
- # FutureWarning, not DeprecationWarning: Python shows it by default wherever the
18
- # import happens, and this one is meant for the people running the code.
19
- warnings.warn(
20
- "google_browser_scraper is now gserp: pip install gserp and import gserp",
21
- FutureWarning,
22
- stacklevel=2,
23
- )
24
-
25
- # Every public gserp module, read from the installed package so a module added
26
- # later is aliased too. `__main__` and private modules are left out: importing
27
- # `gserp.__main__` would run the CLI.
28
- MODULES = tuple(
29
- info.name for info in pkgutil.iter_modules(gserp.__path__) if not info.name.startswith("_")
30
- )
31
-
32
- for _name in MODULES:
33
- _module = importlib.import_module(f"gserp.{_name}")
34
- sys.modules[f"{__name__}.{_name}"] = _module
35
- setattr(sys.modules[__name__], _name, _module)
36
-
37
-
38
- def main() -> int:
39
- """The old command, `google-browser-scraper`: the `gserp` CLI."""
40
- from gserp.cli import main as gserp_main
41
-
42
- return gserp_main()
43
-
44
-
45
- del _name, _module, gserp
@@ -1,38 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: google-browser-scraper
3
- Version: 0.2.1
4
- Summary: Renamed to gserp. Installing this installs gserp and keeps the old command and import working.
5
- Author: NodeMaven
6
- License-Expression: MIT
7
- Project-URL: Source, https://github.com/nodemaven/gserp
8
- Project-URL: New package, https://pypi.org/project/gserp/
9
- Classifier: Development Status :: 7 - Inactive
10
- Classifier: Programming Language :: Python :: 3
11
- Requires-Python: >=3.10
12
- Description-Content-Type: text/markdown
13
- License-File: LICENSE
14
- Requires-Dist: gserp>=0.2.1
15
- Provides-Extra: nodemaven
16
- Requires-Dist: gserp[nodemaven]>=0.2.1; extra == "nodemaven"
17
- Provides-Extra: cloak
18
- Requires-Dist: gserp[cloak]>=0.2.1; extra == "cloak"
19
- Provides-Extra: all
20
- Requires-Dist: gserp[all]>=0.2.1; extra == "all"
21
- Provides-Extra: dev
22
- Requires-Dist: gserp[dev]>=0.2.1; extra == "dev"
23
- Dynamic: license-file
24
-
25
- # google-browser-scraper is now gserp
26
-
27
- This project was renamed to [gserp](https://pypi.org/project/gserp/).
28
-
29
- ```
30
- pip install gserp
31
- ```
32
-
33
- Installing `google-browser-scraper` installs `gserp` and keeps the old names working: the `google-browser-scraper` command,
34
- `import google_browser_scraper` (with a deprecation warning) and the `GBS_*`
35
- environment variables. New code should use `gserp`, `import gserp` and
36
- `GSERP_*`.
37
-
38
- Source and documentation: https://github.com/nodemaven/gserp
@@ -1,13 +0,0 @@
1
- gserp>=0.2.1
2
-
3
- [all]
4
- gserp[all]>=0.2.1
5
-
6
- [cloak]
7
- gserp[cloak]>=0.2.1
8
-
9
- [dev]
10
- gserp[dev]>=0.2.1
11
-
12
- [nodemaven]
13
- gserp[nodemaven]>=0.2.1