Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
2d63a67
first version
Zlin526F Feb 24, 2025
53cc945
cp functions from labml_adjutancy.misc to pylab_ml.common
Zlin526F Apr 11, 2025
3366f9a
fix wrong compare in str2num
Zlin526F May 5, 2025
8a23c12
change to pyprojet.toml
Zlin526F Jun 3, 2025
05d7922
change to pyprojet.toml
Zlin526F Jun 3, 2025
3499b2d
add docs
Zlin526F Jun 4, 2025
1120c9d
remove __pycache
Zlin526F Jun 4, 2025
282b403
Revert "remove __pycache"
Zlin526F Jun 4, 2025
df14d47
remove __pycache
Zlin526F Jun 4, 2025
7cee58c
move back to lab-ml
Zlin526F Jun 4, 2025
6a1d06b
fix failures in common
Zlin526F Jul 14, 2025
597b329
fix error in complement if negativ value
Zlin526F Aug 13, 2025
5afa291
add first version memorytest
Zlin526F Aug 13, 2025
43d812e
add comments
Zlin526F Oct 30, 2025
3d328b9
fix warning in syntax
Zlin526F Oct 30, 2025
5740d79
use registermaster from semi-ate
Zlin526F Oct 30, 2025
dc0acfd
remove semi-ate, otherwise an old version will be installed.
Zlin526F Oct 30, 2025
7d333d4
New Function to read Verilog EEPROM format added
Dec 17, 2025
96b1c09
Merge branch 'first_version' of https://github.com/Semi-ATE/PyLab-ML …
Dec 17, 2025
fdef012
adapt semi-ate CICD.yaml to PyLab-ML
Zlin526F Jan 9, 2026
f79fe14
adapt semi-ate CICD.yaml to PyLab-ML
Zlin526F Jan 9, 2026
d0f8d5f
adapt semi-ate CICD.yaml to PyLab-ML
Zlin526F Jan 9, 2026
3278712
adapt semi-ate CICD.yaml to PyLab-ML
Zlin526F Jan 12, 2026
a7be24c
Preparation for cleaning ate_spyder_lab_control
Zlin526F Jan 12, 2026
e8bc5b1
adapt semi-ate CICD.yaml to PyLab-ML
Zlin526F Jan 12, 2026
e4798f3
fix missing lib
Zlin526F Jan 12, 2026
53ffd87
fix missing lib
Zlin526F Jan 12, 2026
a556a17
fix _autosummary have to be updated at compiling
Zlin526F Jan 12, 2026
2480582
add upload to Pypi
Zlin526F Jan 12, 2026
97630f6
fix CICD.yml
Zlin526F Jan 12, 2026
a4a4ebe
fix CICD.yml
Zlin526F Jan 12, 2026
5693bd3
fix CICD.yml
Zlin526F Jan 12, 2026
41d1a57
add comments in readme.md
Zlin526F Jan 12, 2026
adce858
fix ignore file for github
Zlin526F Jan 13, 2026
c561e39
fix path for images
Zlin526F Jan 13, 2026
bf6a6b9
remove unessary images
Zlin526F Jan 13, 2026
2d4de5d
add version tag_version in package_too
Zlin526F Jan 13, 2026
a3fdf32
add package_list
Zlin526F Jan 13, 2026
9bee31e
fix namespace error
Zlin526F Jan 13, 2026
9088d6f
clean name from author
Zlin526F Jan 13, 2026
c342fcc
clean up from lib labml_adjutancy
Zlin526F Jan 14, 2026
3ca9219
fix running thermostreamer as dummy
Zlin526F Jan 15, 2026
c9e6014
adapted for Pylab-ML
Zlin526F Jan 15, 2026
ae02d53
add possibility force reset_regs
Zlin526F Feb 5, 2026
347aca4
fix wrong import
Zlin526F Feb 25, 2026
6e3ece7
fix wrong bank calculation, add features in read/writereg
heli2src Mar 18, 2026
0a32305
add project+version handling
Zlin526F Apr 27, 2026
c7a45a0
fix lib not found
Zlin526F Apr 27, 2026
089b4a7
add project in project_info
heli2src Apr 27, 2026
2a2c84a
fix memoryread
heli2src Apr 27, 2026
7338e42
add Variables in project_info
Zlin526F Apr 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @Semi-ATE/PyLab-ML
175 changes: 175 additions & 0 deletions .github/workflows/CICD.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,175 @@
name: CI-CD

on:
push:
release:
pull_request:

jobs:
test:
name: Py${{ matrix.PYTHON_VERSION }}
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
env:
CI: 'true'
OS: 'linux'
PYTHON_VERSION: ${{ matrix.PYTHON_VERSION }}
strategy:
fail-fast: false
matrix:
PYTHON_VERSION: ['3.9', '3.10', '3.11']
steps:
- name: Checkout Pull Requests
uses: actions/checkout@v6

- name: Install Environment Dependencies
run: |
sudo apt-get update --fix-missing
sudo apt-get install -y libgit2-dev xvfb x11-utils libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 xdotool

- name: Setup miniconda
uses: conda-incubator/setup-miniconda@v3
with:
miniconda-version: "latest"
python-version: ${{ matrix.PYTHON_VERSION }}
channel-priority: false # "strict"
channels: "conda-forge"
mamba-version: "*"
show-channel-urls: true

- name: Setup environment
run: |
mamba install spyder
pip install -e .
conda list

generate_artifacts:
needs: test
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}

steps:
- name: Checkout Pull Requests
uses: actions/checkout@v6

- name: Install Environment Dependencies
shell: bash
run: |
sudo apt-get update --fix-missing

- name: Setup miniconda
uses: conda-incubator/setup-miniconda@v3
with:
miniconda-version: "latest"
python-version: 3.9
channel-priority: false # "strict"
channels: "conda-forge"
mamba-version: "*"
show-channel-urls: true

- name: Compute Version
id: computed_version
run: |
if [[ ${{ github.event.release.tag_name != '' }} != false ]]
then
echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)
else
echo ::set-output name=VERSION::$(echo "0.0.0")
fi

- name: Apply version
run: |
echo Version is ${{ steps.computed_version.outputs.VERSION }}
cd scripts
python package_tool.py --tag-version ${{ steps.computed_version.outputs.VERSION }}
cd ..

- name: Setup environment
run: |
pip install sphinx sphinx-rtd-theme myst-parser sphinx-markdown-tables
pip install --upgrade myst-parser
pip install check-manifest
pip install twine
pip install -e .

- name: Run Manifest Check
run: |
echo 'Check manifest of Pylab-ML'
check-manifest

- name: Build Sphinx
run: |
sphinx-build -b html docs/source/ docs/build/html

- name: Fix output file permissions
run: |
sudo chown -R $USER:$USER docs

- name: Upload docs to Github artifact
uses: actions/upload-artifact@v6
with:
path: docs/build/html/*
name: docs-output

- name: Deploy preview
uses: rossjrw/pr-preview-action@v1
with:
source-dir: ./docs/build/html

- uses: JamesIves/github-pages-deploy-action@v4
with:
folder: ./docs/build/html
branch: gh-pages
clean-exclude: pr-preview

- name: Generate distribution sdist files
run: |
cd scripts
python -m pip install build
python package_tool.py
cd ..

- name: Check distribution files
run: |
twine check output/*

- name: Upload Build Artifacts
uses: actions/upload-artifact@v4
with:
name: output
path: ./output

publish:
if: ${{ github.event.release.tag_name != '' }}
needs: generate_artifacts
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}

steps:
- name: Install
run: |
python -m pip install twine

- name: Get artifacts from build job
uses: actions/download-artifact@v3
with:
name: output
path: |
output

- name: Extend Release Assets
uses: alexellis/upload-assets@0.3.0
env:
GITHUB_TOKEN: ${{ github.token }}
with:
asset_paths: '["output/*"]'

- name: Upload to PyPi using twine
run: |
for i in `find output/ -type f`; do twine upload -u __token__ -p ${{ secrets.PYPI_TOKEN }} $i; done
139 changes: 139 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
output/
docs/source/_autosummary/
var/
pylab_ml/scripts/*.yaml
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

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

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

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

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

.DS_Store
*~




Loading
Loading