bluer-objects 6.377.1__py3-none-any.whl → 6.464.1__py3-none-any.whl

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 (72) hide show
  1. bluer_objects/.abcli/alias.sh +8 -12
  2. bluer_objects/.abcli/assets/cd.sh +1 -1
  3. bluer_objects/.abcli/assets/mv.sh +6 -6
  4. bluer_objects/.abcli/assets/publish.sh +4 -1
  5. bluer_objects/.abcli/mlflow/tags/search.sh +1 -5
  6. bluer_objects/.abcli/tests/help.sh +0 -7
  7. bluer_objects/.abcli/tests/mlflow_tags.sh +1 -1
  8. bluer_objects/.abcli/tests/pdf.sh +10 -2
  9. bluer_objects/README/__init__.py +7 -37
  10. bluer_objects/README/alias.py +15 -4
  11. bluer_objects/README/build/__init__.py +0 -0
  12. bluer_objects/README/build/aliases.py +23 -0
  13. bluer_objects/README/build/docs.py +23 -0
  14. bluer_objects/README/build/modules.py +9 -0
  15. bluer_objects/README/consts.py +8 -3
  16. bluer_objects/README/functions.py +50 -22
  17. bluer_objects/README/process/__init__.py +0 -0
  18. bluer_objects/README/process/assets.py +36 -0
  19. bluer_objects/README/process/details.py +20 -0
  20. bluer_objects/README/process/envs.py +23 -0
  21. bluer_objects/README/process/help.py +27 -0
  22. bluer_objects/README/process/include.py +40 -0
  23. bluer_objects/README/process/legacy.py +21 -0
  24. bluer_objects/README/process/mermaid.py +20 -0
  25. bluer_objects/README/process/national_internet.py +55 -0
  26. bluer_objects/README/process/objects.py +32 -0
  27. bluer_objects/README/process/signature.py +35 -0
  28. bluer_objects/README/process/title.py +44 -0
  29. bluer_objects/README/process/variables.py +12 -0
  30. bluer_objects/__init__.py +1 -1
  31. bluer_objects/config.env +8 -4
  32. bluer_objects/env.py +4 -1
  33. bluer_objects/file/functions.py +8 -1
  34. bluer_objects/help/assets.py +6 -9
  35. bluer_objects/help/functions.py +0 -2
  36. bluer_objects/help/mlflow/cache.py +2 -4
  37. bluer_objects/help/mlflow/tags.py +34 -23
  38. bluer_objects/mlflow/__init__.py +1 -1
  39. bluer_objects/mlflow/__main__.py +49 -31
  40. bluer_objects/mlflow/lock/functions.py +1 -1
  41. bluer_objects/mlflow/logging.py +6 -0
  42. bluer_objects/mlflow/models.py +7 -0
  43. bluer_objects/mlflow/objects.py +7 -0
  44. bluer_objects/mlflow/runs.py +10 -1
  45. bluer_objects/mlflow/serverless/__init__.py +3 -0
  46. bluer_objects/mlflow/serverless/api.py +88 -0
  47. bluer_objects/mlflow/serverless/read.py +19 -0
  48. bluer_objects/mlflow/serverless/search.py +35 -0
  49. bluer_objects/mlflow/serverless/write.py +42 -0
  50. bluer_objects/mlflow/tags.py +59 -9
  51. bluer_objects/objects.py +3 -1
  52. bluer_objects/pdf/convert/convert.py +1 -2
  53. bluer_objects/tests/test_env.py +34 -22
  54. bluer_objects/tests/test_file_download.py +5 -0
  55. bluer_objects/tests/test_mlflow.py +112 -3
  56. bluer_objects/tests/test_web_is_accessible.py +1 -1
  57. {bluer_objects-6.377.1.dist-info → bluer_objects-6.464.1.dist-info}/METADATA +19 -13
  58. {bluer_objects-6.377.1.dist-info → bluer_objects-6.464.1.dist-info}/RECORD +61 -50
  59. {bluer_objects-6.377.1.dist-info → bluer_objects-6.464.1.dist-info}/WHEEL +1 -1
  60. bluer_objects/.abcli/tests/mlflow_test.sh +0 -7
  61. bluer_objects/.abcli/tests/web_is_accessible.sh +0 -17
  62. bluer_objects/.abcli/tests/web_where_am_ai.sh +0 -5
  63. bluer_objects/.abcli/url.sh +0 -15
  64. bluer_objects/.abcli/web/is_accessible.sh +0 -13
  65. bluer_objects/.abcli/web/where_am_i.sh +0 -5
  66. bluer_objects/README/utils.py +0 -275
  67. bluer_objects/help/web.py +0 -38
  68. bluer_objects/web/__init__.py +0 -1
  69. bluer_objects/web/__main__.py +0 -31
  70. bluer_objects/web/functions.py +0 -9
  71. {bluer_objects-6.377.1.dist-info → bluer_objects-6.464.1.dist-info}/licenses/LICENSE +0 -0
  72. {bluer_objects-6.377.1.dist-info → bluer_objects-6.464.1.dist-info}/top_level.txt +0 -0
bluer_objects/help/web.py DELETED
@@ -1,38 +0,0 @@
1
- from typing import List
2
-
3
- from bluer_options.terminal import show_usage
4
-
5
-
6
- def help_is_accessible(
7
- tokens: List[str],
8
- mono: bool,
9
- ) -> str:
10
- return show_usage(
11
- [
12
- "@web",
13
- "is_accessible",
14
- "<url>",
15
- ],
16
- "is <url> accessible?",
17
- mono=mono,
18
- )
19
-
20
-
21
- def help_where_am_i(
22
- tokens: List[str],
23
- mono: bool,
24
- ) -> str:
25
- return show_usage(
26
- [
27
- "@web",
28
- "where_am_i",
29
- ],
30
- "where am I?",
31
- mono=mono,
32
- )
33
-
34
-
35
- help_functions = {
36
- "is_accessible": help_is_accessible,
37
- "where_am_i": help_where_am_i,
38
- }
@@ -1 +0,0 @@
1
-
@@ -1,31 +0,0 @@
1
- import argparse
2
-
3
- from blueness import module
4
- from blueness.argparse.generic import sys_exit
5
-
6
- from bluer_objects import NAME
7
- from bluer_objects.web.functions import is_accessible
8
- from bluer_objects.logger import logger
9
-
10
- NAME = module.name(__file__, NAME)
11
-
12
- parser = argparse.ArgumentParser(NAME)
13
- parser.add_argument(
14
- "task",
15
- type=str,
16
- help="is_accessible",
17
- )
18
- parser.add_argument(
19
- "--url",
20
- type=str,
21
- )
22
- args = parser.parse_args()
23
-
24
- success = False
25
- if args.task == "is_accessible":
26
- success = True
27
- print(int(is_accessible(args.url)))
28
- else:
29
- success = None
30
-
31
- sys_exit(logger, NAME, args.task, success)
@@ -1,9 +0,0 @@
1
- import requests
2
-
3
-
4
- def is_accessible(url) -> bool:
5
- try:
6
- response = requests.get(url)
7
- return response.status_code == 200
8
- except:
9
- return False