-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
104 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"plugins": { | ||
"serper": { | ||
"max_results": 10, | ||
"country": "us", | ||
"language": "en" | ||
}, | ||
"litellm": { | ||
"default_model": "gpt-4", | ||
"temperature": 0.7, | ||
"max_tokens": 2000, | ||
"retry_attempts": 3 | ||
}, | ||
"playwright": { | ||
"headless": true, | ||
"timeout": 30000, | ||
"screenshot": false | ||
}, | ||
"jina": { | ||
"chunk_size": 1000, | ||
"overlap": 200 | ||
} | ||
}, | ||
"storage": { | ||
"data_dir": "data", | ||
"max_file_size_mb": 100 | ||
}, | ||
"logging": { | ||
"level": "INFO", | ||
"format": "%(asctime)s - %(name)s - %(levelname)s - %(message)s", | ||
"date_format": "%Y-%m-%d %H:%M:%S" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
""" | ||
Pynions - A lean Python framework for marketers who code | ||
Built for automating marketing tasks without the bloat. | ||
""" | ||
|
||
from pynions.core import Plugin, Workflow, WorkflowStep, Config, DataStore | ||
|
||
# Import built-in plugins | ||
from pynions.plugins.serper import SerperWebSearch | ||
from pynions.plugins.litellm import LiteLLMPlugin | ||
from pynions.plugins.playwright import PlaywrightPlugin | ||
from pynions.plugins.jina import JinaPlugin | ||
from pynions.plugins.stats import StatsPlugin | ||
|
||
__version__ = "0.1.0" | ||
|
||
__all__ = [ | ||
# Core components | ||
"Plugin", | ||
"Workflow", | ||
"WorkflowStep", | ||
"Config", | ||
"DataStore", | ||
# Built-in plugins | ||
"SerperWebSearch", | ||
"LiteLLMPlugin", | ||
"PlaywrightPlugin", | ||
"JinaPlugin", | ||
"StatsPlugin", | ||
] |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,16 @@ | ||
aiohttp==3.9.1 | ||
playwright==1.41.0 | ||
litellm==1.10.1 | ||
jina==3.15.1 | ||
python-dotenv==1.0.0 | ||
pydantic==2.5.2 | ||
pytest==7.4.3 | ||
pytest-asyncio==0.21.1 | ||
python-json-logger==2.0.7 | ||
# Core dependencies | ||
aiohttp>=3.8.0 | ||
python-dotenv>=0.19.0 | ||
pydantic>=2.0.0 | ||
|
||
# Plugin-specific dependencies | ||
litellm>=1.0.0 | ||
playwright>=1.39.0 | ||
httpx>=0.24.0 | ||
|
||
# Development dependencies | ||
pytest>=7.0.0 | ||
pytest-asyncio>=0.21.0 | ||
pytest-cov>=4.1.0 | ||
black>=23.0.0 | ||
isort>=5.12.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
from setuptools import setup, find_packages | ||
|
||
# Read requirements from requirements.txt | ||
with open("requirements.txt") as f: | ||
requirements = [ | ||
line.strip() for line in f if line.strip() and not line.startswith("#") | ||
] | ||
|
||
setup( | ||
name="pynions", | ||
version="0.1.0", | ||
packages=find_packages(), | ||
install_requires=requirements, | ||
python_requires=">=3.8", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters