vgemini 0.1.0__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.
vgemini-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,7 @@
1
+ Metadata-Version: 2.4
2
+ Name: vgemini
3
+ Version: 0.1.0
4
+ Summary: A Python package for vgemini
5
+ Author-email: Vaibhav Upadhyaya <vaibhav@example.com>
6
+ Requires-Python: >=3.8
7
+ Description-Content-Type: text/markdown
vgemini-0.1.0/main.py ADDED
@@ -0,0 +1,12 @@
1
+ import google.generativeai as genai
2
+
3
+ def generate(GEMINI_API_KEY,MODEL,PROMPT):
4
+ genai.configure(api_key=GEMINI_API_KEY)
5
+
6
+ # Initialize the generative model directly.
7
+ model = genai.GenerativeModel(MODEL)
8
+
9
+ response = model.generate_content(
10
+ contents=PROMPT,
11
+ )
12
+ return response.text
@@ -0,0 +1,12 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "vgemini"
7
+ version = "0.1.0"
8
+ description = "A Python package for vgemini"
9
+ readme = "README.md"
10
+ authors = [{name = "Vaibhav Upadhyaya", email = "vaibhav@example.com"}]
11
+ requires-python = ">=3.8"
12
+ dependencies = []
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,7 @@
1
+ Metadata-Version: 2.4
2
+ Name: vgemini
3
+ Version: 0.1.0
4
+ Summary: A Python package for vgemini
5
+ Author-email: Vaibhav Upadhyaya <vaibhav@example.com>
6
+ Requires-Python: >=3.8
7
+ Description-Content-Type: text/markdown
@@ -0,0 +1,6 @@
1
+ main.py
2
+ pyproject.toml
3
+ vgemini.egg-info/PKG-INFO
4
+ vgemini.egg-info/SOURCES.txt
5
+ vgemini.egg-info/dependency_links.txt
6
+ vgemini.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ main