commitmessagegenerator 1.2.5__py3-none-any.whl → 1.3.0__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.
@@ -36,6 +36,7 @@ def gerar_mensagem_commit():
36
36
  )
37
37
 
38
38
  response = model.generate_content(
39
+ model="gemini-2.0-flash",
39
40
  contents=[{"role": "user", "parts": [prompt]}]
40
41
  )
41
42
  return response.text.strip()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: commitmessagegenerator
3
- Version: 1.2.5
3
+ Version: 1.3.0
4
4
  Summary: Generate commit messages with AI (Google Gemini) automatically using `git diff`.
5
5
  Author-email: Gabriel Terceiro <gcarolinoterceiro@gmail.com>
6
6
  License: MIT
@@ -31,6 +31,14 @@ pip install commitmessagegenerator
31
31
 
32
32
  ## ⚙️ Configuring
33
33
 
34
+ ```bash
35
+ commitgen -cf
36
+ ```
37
+
38
+ ## Run this and type you API key to the terminal so the package creates the .env file and automatically adds it to the .gitignore
39
+
40
+ Or do it manually:
41
+
34
42
  ## IMPORTANT - BEFORE CREATING THIS FILE ADD '.venv' TO YOUR .gitignore SO YOUR API KEY ISN'T EXPOSED
35
43
 
36
44
  Create a `.env` file in the directory where you will run commitgen (usually the root of your Git project):
@@ -44,7 +52,7 @@ GEMINI_API_KEY=your-gemini-api-key
44
52
  With the terminal, inside any Git repository with pending changes, run:
45
53
 
46
54
  ```bash
47
- commitgen (-c/-cg)
55
+ commitgen (-c/-cp)
48
56
  ```
49
57
 
50
58
  The command will:
@@ -0,0 +1,10 @@
1
+ commitmessagegenerator/__init__.py,sha256=Wsl1vaSI5fWuK3B9MfZnPp1PxnRfTmnvW_20vgswgT0,45
2
+ commitmessagegenerator/cli.py,sha256=lpYpRpjcKY6dQ2uhm6Rwpos_lEy9RELhuvE6aSI2jxI,1475
3
+ commitmessagegenerator/configure.py,sha256=gzG9cp4B4qIXsoGVTSq-D80N6cmf_A77W73s0k-JkyQ,981
4
+ commitmessagegenerator/generator.py,sha256=eIOvTNMB5YrbfW8gPf0KoRPrfceadLiRqB3vNgHzsg0,1441
5
+ commitmessagegenerator-1.3.0.dist-info/licenses/LICENSE,sha256=q7KJbcPCqUAvkBuI1QNc8Kg9XPfBfnNkLN9WKwudO8U,11
6
+ commitmessagegenerator-1.3.0.dist-info/METADATA,sha256=JYg99lQCKm4-iIZubWTCC0SJO4kR2zvTSdaZqf_47oA,1893
7
+ commitmessagegenerator-1.3.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
+ commitmessagegenerator-1.3.0.dist-info/entry_points.txt,sha256=VmVQY00e0SuHsTFZmOCcyN0VYCQlVnZrdZNJdUGLCVo,62
9
+ commitmessagegenerator-1.3.0.dist-info/top_level.txt,sha256=G8wUZw8MTtvYs1WgehFVTPKqw5Td7gGedZZIQbZH1Co,23
10
+ commitmessagegenerator-1.3.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.7.1)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,10 +0,0 @@
1
- commitmessagegenerator/__init__.py,sha256=Wsl1vaSI5fWuK3B9MfZnPp1PxnRfTmnvW_20vgswgT0,45
2
- commitmessagegenerator/cli.py,sha256=lpYpRpjcKY6dQ2uhm6Rwpos_lEy9RELhuvE6aSI2jxI,1475
3
- commitmessagegenerator/configure.py,sha256=gzG9cp4B4qIXsoGVTSq-D80N6cmf_A77W73s0k-JkyQ,981
4
- commitmessagegenerator/generator.py,sha256=c32Z0jTafzGVo0alQyRaOUGn63c40hr55hnRWl4KbH8,1407
5
- commitmessagegenerator-1.2.5.dist-info/licenses/LICENSE,sha256=q7KJbcPCqUAvkBuI1QNc8Kg9XPfBfnNkLN9WKwudO8U,11
6
- commitmessagegenerator-1.2.5.dist-info/METADATA,sha256=Mttcg1yReqj4l0WsHRj7mFQIPouuxCO1Mpz2DstIoEE,1707
7
- commitmessagegenerator-1.2.5.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
8
- commitmessagegenerator-1.2.5.dist-info/entry_points.txt,sha256=VmVQY00e0SuHsTFZmOCcyN0VYCQlVnZrdZNJdUGLCVo,62
9
- commitmessagegenerator-1.2.5.dist-info/top_level.txt,sha256=G8wUZw8MTtvYs1WgehFVTPKqw5Td7gGedZZIQbZH1Co,23
10
- commitmessagegenerator-1.2.5.dist-info/RECORD,,