Skip to content

Commit

Permalink
🐛 Fix Project Cli
Browse files Browse the repository at this point in the history
  • Loading branch information
H2Sxxa committed Sep 16, 2024
1 parent 729357a commit 875caeb
Show file tree
Hide file tree
Showing 35 changed files with 3,801 additions and 258 deletions.
29 changes: 29 additions & 0 deletions script/lunar-cli/Remilia-1.2.2.1/.github/workflows/pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This workflows will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries

name: PYPI Publish

on:
release:
types: [created]

jobs:
pypi-publish:
name: Test Lib & Publish
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v3
- uses: pdm-project/setup-pdm@v3
with:
version: 'head'
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Setup & Publish Lib
run: |
pdm install -G all
- name: Publish package distributions to PyPI
run: pdm publish
30 changes: 30 additions & 0 deletions script/lunar-cli/Remilia-1.2.2.1/.github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This workflows will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries

name: Test Lib

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
deploy:
name: Test
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: pdm-project/setup-pdm@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.10'

- name: Setup & Test Lib
run: |
pdm install -G all
pdm run test/testlib.py
134 changes: 134 additions & 0 deletions script/lunar-cli/Remilia-1.2.2.1/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
# 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/
var/
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/

**/test.py
.vscode
.pdm-build
.pdm-python
21 changes: 21 additions & 0 deletions script/lunar-cli/Remilia-1.2.2.1/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2022 H2Sxxa

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
30 changes: 30 additions & 0 deletions script/lunar-cli/Remilia-1.2.2.1/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<div align=center>
<img width=200 src="https://raw.githubusercontent.com/H2Sxxa/Remilia/main/background.png" alt="[BG](https://raw.githubusercontent.com/H2Sxxa/Remilia/main/background.png)"/>
<h1 align="center">Remilia</h1>
</div>

<div align=center>
<img src="https://img.shields.io/badge/python-3.8+-blue" alt="python">
<img src="https://img.shields.io/github/languages/code-size/H2Sxxa/Remilia" alt="size">
<img src="https://img.shields.io/github/license/H2Sxxa/Remilia" alt="license">
</div>

# What's this?

A package with many utils, in order to help build application faster.

use Remilia,you can print colorful log,you can use mixin to modify any class(but most build-in class not supported),you can use the res to manage your resource(based on Pathlib)

# Install

```shell
pip install Remilia #Install basic package

pip install Remilia[tui] #Install tui package

pip install Remilia[all] #Install full package
```

# How to use?

See our wiki -> <https://github.com/H2Sxxa/Remilia/wiki>
Binary file added script/lunar-cli/Remilia-1.2.2.1/background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 875caeb

Please sign in to comment.