nmn 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- nmn-0.1.0/.github/workflows/publish.yml +27 -0
- nmn-0.1.0/LICENSE +661 -0
- nmn-0.1.0/MANIFEST.in +3 -0
- nmn-0.1.0/PKG-INFO +76 -0
- nmn-0.1.0/PUBLISH.md +7 -0
- nmn-0.1.0/README.md +62 -0
- nmn-0.1.0/hatch.toml +2 -0
- nmn-0.1.0/pyproject.toml +23 -0
- nmn-0.1.0/src/nmn/__init__.py +3 -0
- nmn-0.1.0/src/nmn/keras/nmn.py +153 -0
- nmn-0.1.0/src/nmn/linen/nmn.py +112 -0
- nmn-0.1.0/src/nmn/nnx/nmn.py +170 -0
- nmn-0.1.0/src/nmn/nnx/yatconv.py +320 -0
- nmn-0.1.0/src/nmn/tf/nmn.py +179 -0
- nmn-0.1.0/src/nmn/torch/nmn.py +144 -0
@@ -0,0 +1,27 @@
|
|
1
|
+
name: Publish Python 🐍 distribution to PyPI
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
tags:
|
6
|
+
- 'v*.*.*'
|
7
|
+
|
8
|
+
jobs:
|
9
|
+
build-and-publish:
|
10
|
+
runs-on: ubuntu-latest
|
11
|
+
steps:
|
12
|
+
- uses: actions/checkout@v4
|
13
|
+
- name: Set up Python
|
14
|
+
uses: actions/setup-python@v5
|
15
|
+
with:
|
16
|
+
python-version: '3.12'
|
17
|
+
- name: Install build tools
|
18
|
+
run: |
|
19
|
+
python -m pip install --upgrade pip
|
20
|
+
pip install hatch twine
|
21
|
+
- name: Build package
|
22
|
+
run: hatch build
|
23
|
+
- name: Publish to PyPI
|
24
|
+
env:
|
25
|
+
TWINE_USERNAME: __token__
|
26
|
+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
|
27
|
+
run: twine upload dist/*
|