Skip to content

Commit

Permalink
v0.0.1
Browse files Browse the repository at this point in the history
Initial Implementation with Packaging
  • Loading branch information
NeonDaniel authored Aug 19, 2022
2 parents 3d00a7f + d32f85a commit 7587c3f
Show file tree
Hide file tree
Showing 21 changed files with 676 additions and 111 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# This workflow will generate a release distribution and upload it to PyPI

name: Publish Build and GitHub Release
on:
push:
branches:
- master

jobs:
tag_release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get Version
run: |
VERSION=$(python setup.py --version)
echo "VERSION=${VERSION}" >> $GITHUB_ENV
- uses: ncipollo/release-action@v1
with:
token: ${{secrets.GITHUB_TOKEN}}
tag: ${{env.VERSION}}
build_and_publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install Build Tools
run: |
python -m pip install build wheel
- name: Build Distribution Packages
run: |
python setup.py bdist_wheel
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{secrets.PYPI_TOKEN}}
39 changes: 39 additions & 0 deletions .github/workflows/publish_test_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# This workflow will generate a distribution and upload it to PyPI

name: Publish Alpha Build
on:
push:
branches:
- dev
paths-ignore:
- 'version.py'

jobs:
build_and_publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install Build Tools
run: |
python -m pip install build wheel
- name: Increment Version
run: |
VER=$(python setup.py --version)
python version_bump.py
- name: Push Version Change
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Increment Version
- name: Build Distribution Packages
run: |
python setup.py bdist_wheel
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{secrets.PYPI_TOKEN}}
40 changes: 17 additions & 23 deletions .github/workflows/skill_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,24 @@ on:
workflow_dispatch:

jobs:
neon_core:
strategy:
matrix:
python-version: [ 3.8, 3.9 ]
build_tests:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v2
- name: Set up python ${{ matrix.python-version }}
uses: actions/setup-python@v2
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
python-version: 3.8
- name: Install Build Tools
run: |
sudo apt install -y gcc libfann-dev swig libssl-dev portaudio19-dev git
pip install --upgrade pip
pip install pytest mock git+https://github.com/NeonGeckoCom/NeonCore#egg=neon_core
pip install -r requirements.txt
- name: Test Skill
python -m pip install build wheel
- name: Build Distribution Packages
run: |
pytest test/test_skill.py
holmes_v:
python setup.py bdist_wheel
neon_core:
strategy:
matrix:
python-version: [ 3.8 ]
python-version: [ 3.7, 3.8, 3.9, '3.10' ]
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
Expand All @@ -41,14 +34,14 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
sudo apt install -y gcc libfann-dev swig libssl-dev portaudio19-dev git
sudo apt install -y gcc libfann-dev swig libssl-dev portaudio19-dev git libpulse-dev
pip install --upgrade pip
pip install pytest mock holmesV[skills] lingua-franca
pip install pytest mock git+https://github.com/NeonGeckoCom/NeonCore#egg=neon_core
pip install -r requirements.txt
- name: Test Skill
run: |
pytest test/test_skill.py
holmes_iv:
ovos-core:
strategy:
matrix:
python-version: [ 3.8 ]
Expand All @@ -62,10 +55,11 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
sudo apt install -y gcc libfann-dev swig libssl-dev portaudio19-dev git
sudo apt update
sudo apt install -y gcc libfann-dev swig libssl-dev portaudio19-dev git libpulse-dev
pip install --upgrade pip
pip install pytest mock holmesIV[skills] lingua-franca
pip install ovos-core[skills] pytest mock
pip install -r requirements.txt
- name: Test Skill
run: |
pytest test/test_skill.py
pytest test/test_skill.py
33 changes: 33 additions & 0 deletions .github/workflows/update_skill_json.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This workflow will run unit tests

name: Update skill.json
on:
push:

jobs:
update_skill_json:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout Repository
uses: actions/checkout@v2
with:
path: action/skill/
- name: Set up python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install Dependencies
run: |
sudo apt update
sudo apt install -y gcc git libpulse-dev
pip install --upgrade pip
pip install neon-utils\~=0.17 ovos-skills-manager
- name: Get Updated skill.json
run: |
python action/skill/scripts/update_skill_json.py
- name: Push skill.json Change
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update skill.json
repository: action/skill/
38 changes: 19 additions & 19 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
NEON AI (TM) SOFTWARE, Software Development Kit & Application Development System
# NEON AI (TM) SOFTWARE, Software Development Kit & Application Development System
# All trademark and other rights reserved by their respective owners
# Copyright 2008-2021 Neongecko.com Inc.
# BSD-3 License

Copyright 2008-2021 Neongecko.com Inc. | All Rights Reserved
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.

Notice of License - Duplicating this Notice of License near the start of any file containing
a derivative of this software is a condition of license for this software.

Friendly Licensing:
No charge, open source royalty free use of the Neon AI software source and object is offered for
educational users, noncommercial enthusiasts, Public Benefit Corporations (and LLCs) and
Social Purpose Corporations (and LLCs). Developers can contact [email protected]
For commercial licensing, distribution of derivative works or redistribution please contact [email protected]
Distributed on an "AS IS” basis without warranties or conditions of any kind, either express or implied.
Trademarks of Neongecko: Neon AI(TM), Neon Assist (TM), Neon Communicator(TM), Klat(TM)
Authors: Guy Daniels, Daniel McKnight, Regina Bloomstine, Elon Gasper, Richard Leeds

Specialized conversational reconveyance options from Conversation Processing Intelligence Corp.

US Patents 2008-2021: US7424516, US20140161250, US20140177813, US8638908, US8068604, US8553852, US10530923, US10530924

China Patent: CN102017585 - Europe Patent: EU2156652 - Patents Pending
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,13 @@ be asked again on next run. The demo may also be run at any time via intent.
Use the [link](https://neongecko.com/ContactUs) or [submit an issue on GitHub](https://help.github.com/en/articles/creating-an-issue)

## Credits

@NeonGeckoCom
@NeonDaniel
[NeonDaniel](https://github.com/NeonDaniel)
[NeonGeckoCom](https://github.com/NeonGeckoCom)

## Category
**Information**

## Tags
#NeonGecko
#NeonGecko Original
#NeonAI
#Demo



Loading

0 comments on commit 7587c3f

Please sign in to comment.