agentgog 0.1.3__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.
- agentgog-0.1.3/.bumpversion.cfg +8 -0
- agentgog-0.1.3/.gitignore +21 -0
- agentgog-0.1.3/.python-version +1 -0
- agentgog-0.1.3/AGENTS.md +54 -0
- agentgog-0.1.3/PKG-INFO +22 -0
- agentgog-0.1.3/README.md +7 -0
- agentgog-0.1.3/pyproject.toml +26 -0
- agentgog-0.1.3/session-ses_46c9.md +3055 -0
- agentgog-0.1.3/src/agentgog/__init__.py +3 -0
- agentgog-0.1.3/src/agentgog/ai_classifier.py +294 -0
- agentgog-0.1.3/src/agentgog/calendar_extractor.py +292 -0
- agentgog-0.1.3/src/agentgog/cli.py +152 -0
- agentgog-0.1.3/src/agentgog/memo_extractor.py +242 -0
- agentgog-0.1.3/src/agentgog/task_extractor.py +306 -0
- agentgog-0.1.3/uv.lock +406 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Python-generated files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[oc]
|
|
4
|
+
build/
|
|
5
|
+
dist/
|
|
6
|
+
wheels/
|
|
7
|
+
*.egg-info
|
|
8
|
+
|
|
9
|
+
# Virtual environments
|
|
10
|
+
.venv
|
|
11
|
+
|
|
12
|
+
# Emacs related tmp files
|
|
13
|
+
*~
|
|
14
|
+
.#*
|
|
15
|
+
\#*\#
|
|
16
|
+
_minted_*/
|
|
17
|
+
|
|
18
|
+
# LaTeX related tmp files
|
|
19
|
+
*.tex
|
|
20
|
+
*.aux
|
|
21
|
+
*.log
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.12
|
agentgog-0.1.3/AGENTS.md
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Project to improve ONE AGENT project
|
|
2
|
+
|
|
3
|
+
GOAL: a simple code that calls a model (from openrouter.ai) to respond to the prompt and/or call a correct tool.
|
|
4
|
+
|
|
5
|
+
## Tools
|
|
6
|
+
|
|
7
|
+
Language: python
|
|
8
|
+
Project placement: ./src/projectname/*.py
|
|
9
|
+
Package manager: uv-astral
|
|
10
|
+
Interface: CLI or TUI if required. The main control is in ./src/projectname/cli.py
|
|
11
|
+
Running the code: `uv run ./src/projectname/cli.py`
|
|
12
|
+
Installing modules: `uv add module`
|
|
13
|
+
Required modules: click (for CLI), console (for colored output), shlex (for parsing commands)
|
|
14
|
+
|
|
15
|
+
## Initialization
|
|
16
|
+
|
|
17
|
+
- [ ] If the project structure is not created - STOP and REPORT to user!
|
|
18
|
+
- [ ] If the .git is not created - STOP and REPORT to user!
|
|
19
|
+
|
|
20
|
+
- [ ] ensure that .gitignore contains
|
|
21
|
+
- emacs related tmp files: .*~undo-tree~ , \#*\#, _minted_something/
|
|
22
|
+
- latex related tmp files *.tex, *.aux, *.log
|
|
23
|
+
|
|
24
|
+
## Python style
|
|
25
|
+
|
|
26
|
+
- Allow use of relative paths starting with "~/" - using 'os.path.expanduser()' function
|
|
27
|
+
- Where graphs are needed, use matplotlib.pyplot
|
|
28
|
+
- Where data tables are needed, use pandas
|
|
29
|
+
- Always use 4 spaces for indentation, never tabs
|
|
30
|
+
- Use snake_case for functions/variables, PascalCase for classes and UPPER_CASE for constants
|
|
31
|
+
- Functions must include docstrings
|
|
32
|
+
- Use `with` statement for file/resource management
|
|
33
|
+
- Use f-strings for string formating
|
|
34
|
+
- Keep the file size reasonably small (500 lines is optimal), create files for groups of functions and use import
|
|
35
|
+
|
|
36
|
+
## Testing
|
|
37
|
+
- write unit tests for all new functions and classes
|
|
38
|
+
- mock external dependencies (API, files systems, databases)
|
|
39
|
+
- use pytest for testing
|
|
40
|
+
- ensure the folder used for test outputs is present in .gitignore
|
|
41
|
+
|
|
42
|
+
## Security
|
|
43
|
+
- Never store API keys, tokens or passwords in code
|
|
44
|
+
- Never log this sensitive information
|
|
45
|
+
- Use environment variables for sensitive configuration
|
|
46
|
+
|
|
47
|
+
# Python package installaltion names
|
|
48
|
+
|
|
49
|
+
Here is the list of packages with non-trivial installation names :
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
| import name | uv add name |
|
|
53
|
+
|-------------|---------------|
|
|
54
|
+
| cv2 | opencv-python |
|
agentgog-0.1.3/PKG-INFO
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: agentgog
|
|
3
|
+
Version: 0.1.3
|
|
4
|
+
Summary: Add your description here
|
|
5
|
+
Author-email: coder <jaromrax@gmail.com>
|
|
6
|
+
Requires-Python: >=3.12
|
|
7
|
+
Requires-Dist: click
|
|
8
|
+
Requires-Dist: console
|
|
9
|
+
Requires-Dist: google-api-python-client
|
|
10
|
+
Requires-Dist: google-auth-httplib2
|
|
11
|
+
Requires-Dist: google-auth-oauthlib
|
|
12
|
+
Requires-Dist: requests
|
|
13
|
+
Requires-Dist: simplenote>=2.1.4
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
|
|
16
|
+
# TESTS
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
uv run p20260105-oneagent "Hi, tomorrow there is a meeting."
|
|
20
|
+
uv run p20260105-oneagent "Hi, you need to pick up an item from AlzaBox."
|
|
21
|
+
i... in classify_message Classification: MEMO
|
|
22
|
+
uv run p20260105-oneagent "What is the time?"
|
agentgog-0.1.3/README.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "agentgog"
|
|
3
|
+
version = "0.1.3"
|
|
4
|
+
description = "Add your description here"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
authors = [
|
|
7
|
+
{ name = "coder", email = "jaromrax@gmail.com" }
|
|
8
|
+
]
|
|
9
|
+
requires-python = ">=3.12"
|
|
10
|
+
dependencies = [
|
|
11
|
+
"click",
|
|
12
|
+
"console",
|
|
13
|
+
"requests",
|
|
14
|
+
"google-api-python-client",
|
|
15
|
+
"google-auth-httplib2",
|
|
16
|
+
"google-auth-oauthlib",
|
|
17
|
+
"simplenote>=2.1.4",
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
[project.scripts]
|
|
21
|
+
agentgog = "agentgog.ai_classifier:main"
|
|
22
|
+
##agentgog = "agentgog.cli:main"
|
|
23
|
+
|
|
24
|
+
[build-system]
|
|
25
|
+
requires = ["hatchling"]
|
|
26
|
+
build-backend = "hatchling.build"
|