Skip to content

Commit

Permalink
feat: add software core (#1)
Browse files Browse the repository at this point in the history
* feat: add software as core

* refactor: remmove non-mac devices

* chore: more code clean up
  • Loading branch information
cs50victor authored Mar 25, 2024
1 parent fee4789 commit 36278f8
Show file tree
Hide file tree
Showing 55 changed files with 13,448 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/.cursorignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
_archive
__pycache__
.idea

9,244 changes: 9,244 additions & 0 deletions core/poetry.lock

Large diffs are not rendered by default.

56 changes: 56 additions & 0 deletions core/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
[tool.poetry]
name = "01OS"
packages = [
{include = "source"},
]
include = ["start.py"]
version = "0.0.13"
description = "The open-source language model computer"
authors = ["Killian <[email protected]>"]
license = "AGPL"
readme = "README.md"

[tool.poetry.dependencies]
python = ">=3.9,<3.12"
pyaudio = "^0.2.14"
pynput = "^1.7.6"
fastapi = "^0.110.0"
uvicorn = "^0.27.1"
websockets = "^12.0"
python-dotenv = "^1.0.1"
ffmpeg-python = "^0.2.0"
textual = "^0.50.1"
pydub = "^0.25.1"
ngrok = "^1.0.0"
simpleaudio = "^1.0.4"
opencv-python = "^4.9.0.80"
psutil = "^5.9.8"
typer = "^0.9.0"
platformdirs = "^4.2.0"
rich = "^13.7.1"
open-interpreter = {extras = ["os"], version = "^0.2.3"}
dateparser = "^1.2.0"
pytimeparse = "^1.1.8"
python-crontab = "^3.0.0"
inquirer = "^3.2.4"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.poetry.scripts]
01 = "start:app"

[tool.poetry.group.dev.dependencies]
black = "^24.3.0"
isort = "^5.12.0"
pre-commit = "^3.6.2"
pytest = "^8.1.1"

[tool.black]
target-version = ['py311']

[tool.isort]
profile = "black"
multi_line_output = 3
include_trailing_comma = true
9 changes: 9 additions & 0 deletions core/pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
; Config for Pytest Runner.
; suppress Deprecation Warning and User Warning to not spam the interface, but check periodically
[pytest]
python_files = tests.py test_*.py
filterwarnings =
ignore::UserWarning
ignore::DeprecationWarning
log_cli = true
log_cli_level = INFO
Empty file added core/source/__init__.py
Empty file.
Empty file added core/source/clients/__init__.py
Empty file.
Loading

0 comments on commit 36278f8

Please sign in to comment.