Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
shaharLiblab committed Jul 10, 2024
0 parents commit 241c99b
Show file tree
Hide file tree
Showing 2,502 changed files with 139,561 additions and 0 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

37 changes: 37 additions & 0 deletions .github/workflows/publish_py.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Publish to PyPI

on:
push:
branches:
- main

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.7' # Replace with your Python version

- name: Install pip and pip-tools
run: |
python -m ensurepip
python -m pip install --upgrade pip
python -m pip install pip-tools
- name: Build package
run: python -m build

- name: Publish to PyPI
env:
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python -m pip install twine
python -m twine upload --skip-existing --username __token__ --password $TWINE_PASSWORD dist/*
- name: Cleanup
run: rm -rf dist/
20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Devcontainer
.devcontainer/
Loading

0 comments on commit 241c99b

Please sign in to comment.