teams-alerter 0.1.0__py3-none-any.whl → 0.1.2__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.
@@ -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,7 @@
1
+ teams_alerter/__init__.py,sha256=J6zyyTfUNVElXD0wsTqBwp-VtcApbzYGUPpChrdcbpY,131
2
+ teams_alerter/core.py,sha256=1kSYvDR74nWFJ9mVA0SFePBhDPS15KqPUxQc3dMTHig,2752
3
+ teams_alerter/utils.py,sha256=1rCiwatP_ZbIPCQlttk1rkV1ZZqQNOimobbQMnL1LYM,615
4
+ teams_alerter-0.1.2.dist-info/METADATA,sha256=hbHjL-kcN6YkjvofBDIpALBl1KXcTe3fgfbtd0UM-3k,2194
5
+ teams_alerter-0.1.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
6
+ teams_alerter-0.1.2.dist-info/top_level.txt,sha256=Qt8-VgHT7YPTbMzYkAomK9itC-w4YpV7IJ5X6b-TC-4,14
7
+ teams_alerter-0.1.2.dist-info/RECORD,,
@@ -0,0 +1 @@
1
+ teams_alerter
setup.py DELETED
@@ -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,8 +0,0 @@
1
- __init__.py,sha256=J6zyyTfUNVElXD0wsTqBwp-VtcApbzYGUPpChrdcbpY,131
2
- core.py,sha256=xKu6ZVxxk4GcZfeAI2e_WSjo_sQp8iGXdJhv8RTVQeI,2751
3
- setup.py,sha256=L5j3EiwUnHcg1wYTir4zwKDpxUIgx8nV4GCZ_RqlHCA,224
4
- utils.py,sha256=1rCiwatP_ZbIPCQlttk1rkV1ZZqQNOimobbQMnL1LYM,615
5
- teams_alerter-0.1.0.dist-info/METADATA,sha256=kUqYVhOkKNCTxc3nYTGkVOrGTLpQY2fZScbSgYJe2c4,1955
6
- teams_alerter-0.1.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
7
- teams_alerter-0.1.0.dist-info/top_level.txt,sha256=dYDJBJIunOoTT5JlA_nbcxXFP06gFhXAde5v5bxKh0A,26
8
- teams_alerter-0.1.0.dist-info/RECORD,,
@@ -1,4 +0,0 @@
1
- __init__
2
- core
3
- setup
4
- utils
File without changes
File without changes