teams-alerter 0.1.0__tar.gz → 0.1.2__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.
@@ -1,8 +1,9 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: teams-alerter
3
- Version: 0.1.0
3
+ Version: 0.1.2
4
4
  Summary: Module pour envoyer des alertes Teams via Pub/Sub
5
5
  Author-email: Toki <t.bakotondrabe-ext@paris-turf.com>
6
+ License: MIT
6
7
  Requires-Python: >=3.8
7
8
  Description-Content-Type: text/markdown
8
9
  Requires-Dist: google-cloud-logging
@@ -75,11 +76,10 @@ twine upload dist/*
75
76
 
76
77
  ```
77
78
  teams-alerter/
78
- ├── src/
79
- └── teams_alerter/
80
- ├── __init__.py
81
- ├── core.py
82
- │ └── utils.py
79
+ ├── teams_alerter/
80
+ ├── __init__.py
81
+ ├── core.py
82
+ └── utils.py
83
83
  ├── pyproject.toml
84
84
  ├── README.md
85
85
  └── dist/
@@ -98,3 +98,13 @@ teams-alerter/
98
98
  These dependencies are already listed in your `pyproject.toml`.
99
99
 
100
100
  ---
101
+
102
+ LIB URL:
103
+ https://pypi.org/project/teams-alerter/0.1.0/
104
+
105
+ How to build and publish ?
106
+ pip install build twine
107
+ python -m build
108
+ twine upload dist/*
109
+ dans requirements.txt, ajouter teams-alerter==0.1.0
110
+ dans le code: from teams_alerter import TeamsAlerter
@@ -65,11 +65,10 @@ twine upload dist/*
65
65
 
66
66
  ```
67
67
  teams-alerter/
68
- ├── src/
69
- └── teams_alerter/
70
- ├── __init__.py
71
- ├── core.py
72
- │ └── utils.py
68
+ ├── teams_alerter/
69
+ ├── __init__.py
70
+ ├── core.py
71
+ └── utils.py
73
72
  ├── pyproject.toml
74
73
  ├── README.md
75
74
  └── dist/
@@ -88,3 +87,13 @@ teams-alerter/
88
87
  These dependencies are already listed in your `pyproject.toml`.
89
88
 
90
89
  ---
90
+
91
+ LIB URL:
92
+ https://pypi.org/project/teams-alerter/0.1.0/
93
+
94
+ How to build and publish ?
95
+ pip install build twine
96
+ python -m build
97
+ twine upload dist/*
98
+ dans requirements.txt, ajouter teams-alerter==0.1.0
99
+ dans le code: from teams_alerter import TeamsAlerter
@@ -1,15 +1,19 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
1
5
  [project]
2
6
  name = "teams-alerter"
3
- version = "0.1.0"
7
+ version = "0.1.2"
4
8
  description = "Module pour envoyer des alertes Teams via Pub/Sub"
5
9
  authors = [{ name = "Toki", email = "t.bakotondrabe-ext@paris-turf.com" }]
6
10
  readme = "README.md"
11
+ license = { text = "MIT" }
7
12
  requires-python = ">=3.8"
8
13
  dependencies = [
9
14
  "google-cloud-logging",
10
15
  "google-cloud-pubsub",
11
16
  ]
12
17
 
13
- [build-system]
14
- requires = ["setuptools", "wheel"]
15
- build-backend = "setuptools.build_meta"
18
+ [tool.setuptools.packages.find]
19
+ where = ["."]
@@ -2,7 +2,7 @@ import json
2
2
  import traceback
3
3
 
4
4
  from google.cloud import pubsub_v1
5
- from utils import ErrorUtils, DateUtils
5
+ from .utils import ErrorUtils, DateUtils
6
6
 
7
7
 
8
8
  class TeamsAlerter:
@@ -1,8 +1,9 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: teams-alerter
3
- Version: 0.1.0
3
+ Version: 0.1.2
4
4
  Summary: Module pour envoyer des alertes Teams via Pub/Sub
5
5
  Author-email: Toki <t.bakotondrabe-ext@paris-turf.com>
6
+ License: MIT
6
7
  Requires-Python: >=3.8
7
8
  Description-Content-Type: text/markdown
8
9
  Requires-Dist: google-cloud-logging
@@ -75,11 +76,10 @@ twine upload dist/*
75
76
 
76
77
  ```
77
78
  teams-alerter/
78
- ├── src/
79
- └── teams_alerter/
80
- ├── __init__.py
81
- ├── core.py
82
- │ └── utils.py
79
+ ├── teams_alerter/
80
+ ├── __init__.py
81
+ ├── core.py
82
+ └── utils.py
83
83
  ├── pyproject.toml
84
84
  ├── README.md
85
85
  └── dist/
@@ -98,3 +98,13 @@ teams-alerter/
98
98
  These dependencies are already listed in your `pyproject.toml`.
99
99
 
100
100
  ---
101
+
102
+ LIB URL:
103
+ https://pypi.org/project/teams-alerter/0.1.0/
104
+
105
+ How to build and publish ?
106
+ pip install build twine
107
+ python -m build
108
+ twine upload dist/*
109
+ dans requirements.txt, ajouter teams-alerter==0.1.0
110
+ dans le code: from teams_alerter import TeamsAlerter
@@ -0,0 +1,10 @@
1
+ README.md
2
+ pyproject.toml
3
+ teams_alerter/__init__.py
4
+ teams_alerter/core.py
5
+ teams_alerter/utils.py
6
+ teams_alerter.egg-info/PKG-INFO
7
+ teams_alerter.egg-info/SOURCES.txt
8
+ teams_alerter.egg-info/dependency_links.txt
9
+ teams_alerter.egg-info/requires.txt
10
+ teams_alerter.egg-info/top_level.txt
@@ -0,0 +1,2 @@
1
+ dist
2
+ teams_alerter
@@ -1,11 +0,0 @@
1
- from setuptools import setup, find_packages
2
-
3
- setup(
4
- name="teams-alerter",
5
- version="0.1.0",
6
- packages=find_packages(),
7
- install_requires=[
8
- "google-cloud-logging",
9
- "google-cloud-pubsub",
10
- ],
11
- )
@@ -1,11 +0,0 @@
1
- README.md
2
- pyproject.toml
3
- src/__init__.py
4
- src/core.py
5
- src/setup.py
6
- src/utils.py
7
- src/teams_alerter.egg-info/PKG-INFO
8
- src/teams_alerter.egg-info/SOURCES.txt
9
- src/teams_alerter.egg-info/dependency_links.txt
10
- src/teams_alerter.egg-info/requires.txt
11
- src/teams_alerter.egg-info/top_level.txt
@@ -1,4 +0,0 @@
1
- __init__
2
- core
3
- setup
4
- utils
File without changes