Skip to main content

AI agent for coding assistant

Project description

Javis Agent

Build local

pip install -e .

Publish package without code

1. Cài đặt PyArmor

cd /home/worker/src/codefun/deepl/javis_agent
source venv/bin/activate
pip install pyarmor

2. Obfuscate source code

# Tạo thư mục output cho code đã obfuscate
pyarmor gen -O dist_obfuscated javis/

# Kết quả: thư mục dist_obfuscated/ sẽ chứa code đã mã hóa

3. Cấu trúc thư mục sau khi obfuscate

javis_agent/
├── pyproject.toml
├── dist_obfuscated/
│   └── javis/          # Code đã obfuscate
│       ├── __init__.py
│       ├── server.py
│       └── ...

4. Sửa pyproject.toml để build từ code obfuscated

Thêm vào pyproject.toml:

[tool.hatch.build.targets.wheel]
packages = ["dist_obfuscated/javis"]

5. Build package

# Xóa dist cũ
rm -rf dist

# Build package với code đã obfuscate
pip install build twine
python -m build

# Kết quả: dist/ sẽ có .whl và .tar.gz với code đã mã hóa

6. Kiểm tra package trước khi upload

# Tạo môi trường test
python3 -m venv test_venv
source test_venv/bin/activate

# Cài đặt từ .whl local
pip install dist/Javis_agent-1.1.0-py3-none-any.whl

# Test xem có chạy được không
javis --help

7. Upload lên PyPI

twine upload dist/*

User installation

python3 -m venv venv source venv/bin/activate pip install javis-agent

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

javis_agent-1.1.1.tar.gz (603.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

javis_agent-1.1.1-py3-none-any.whl (571.8 kB view details)

Uploaded Python 3

File details

Details for the file javis_agent-1.1.1.tar.gz.

File metadata

  • Download URL: javis_agent-1.1.1.tar.gz
  • Upload date:
  • Size: 603.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for javis_agent-1.1.1.tar.gz
Algorithm Hash digest
SHA256 e39e2eeae3476f327c1129d8c298fe2a23799c4acd5314a629ecc666f97f66a2
MD5 e8186245dd5a43f12f620aac126f2c9b
BLAKE2b-256 b3f202c8694d90458ae2ffed1d3b7f0ba47c4d481d11fb30233a3f86dacd6301

See more details on using hashes here.

File details

Details for the file javis_agent-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: javis_agent-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 571.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for javis_agent-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1e13691891decc323e281c42f130d9e4e19fad1e2e4d44b1c0ae6816f4d46473
MD5 4d57b2361e3f4557a548c0524c68a910
BLAKE2b-256 17ac53dfc9d20c34122d1e088d9b33d8823f588d10a718756d1027b4afbf4004

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page