moonshine-cli Package extends main framework functionalities
Project description
.. image:: https://img.shields.io/pypi/dd/moonshine?color=red&logo=moonshine&style=plastic :alt: PyPI - Downloads .. image:: https://img.shields.io/github/downloads/phantom-xyz/moonshine/total?color=blue&label=Total%20Downloads :alt: GitHub All Releases
moonshine
python Bot + CLI
usage:
LinuxOS & MacOS
$ pip install moonshine
$ moonshine
Win
pip install moonshine
exec
C:\Users\a7med>moonshine
Call your main application code here
DEV & DEBUG
python -m pip install .
python setup.py sdist bdist_wheel
twine upload dist/* --verbose
Distro & DevOps:
clone repo & init env
Codecov setup
export CODECOV_TOKEN="<token>"
bash <(curl -s https://codecov.io/bash)
coverage run ./src/xocli/test.py
coverage xml
codecov
python -m pip install --upgrade pip setuptools wheel
::DEBUG::
# activate dev env
$ source /usr/lib/python/venv/scripts/common/activate
# install dependencies
$ sudo -H pip install -r requirements.txt
# debug app after installing pylint from req.txt
$ sudo pylint src/xocli/
::INSTALL::
# on current working directory
$ pip install -e .
# pkgs will be stored @io.smasystems.sa
$ pip install --index-url https://io.smasystems.sa/core/moonshine-1.0.2.tar.gz moonshine
::DIST::
# this will pkg the project into build/ dist/ folders
$ python setup.py sdist bdist_wheel
# you need to install twine as it's not inc in req.txt
$ python -m pip install --user --upgrade twine
$ python -m twine upload --repository moonshine dist/*
For Developers:
gen tar+wheel - install gen pkg - upload
$ python setup.py sdist bdist_wheel
$ sudo -H pip install -e .
$ python -m twine upload --repository moonshine dist/* --verbose --skip-existing
#python setup.py install
You can use the editor on GitHub to maintain and preview the content for your website in Markdown files.
Whenever you commit to this repository, GitHub Pages will run Jekyll to rebuild the pages in your site, from the content in your Markdown files.
PyLib
Python pckg
Usage:
$ sudo apt-get install python python-pip
$ sudo pip install -r requirements.txt
$ sudo pip install -e .
$ sudo python setup.py sdist bdist_wheel
$ sudo twine upload --skip-existing dist/*
C:\> pip install -r requirements.txt
C:\> pip install -e .
C:\> python setup.py sdist
C:\> twine upload --skip-existing dist/*
cmd commands history
┌────────────────────────────────────────┐
│0: pip install -e . │
│1: python setup.py sdist │
│2: pip install -e . │
│3: twine upload --skip-existing dist/* │
└────────────────────────────────────────┘
Description: This project provides powerful math functions
|For example, you can use sum()
to sum numbers:
|
|Example::
|
| >>> sum(1, 2)
| 3
|
Python Virtual Env
python -m venv moonshine
On Windows, run:
moonshine\Scripts\activate.bat
On Unix or MacOS, run:
source moonshine/bin/activate source moonshine/bin/deactivate
Markdown
Markdown is a lightweight and easy-to-use syntax for styling your writing. It includes conventions for
Syntax highlighted code block
# Header 1
## Header 2
### Header 3
- Bulleted
- List
1. Numbered
2. List
**Bold** and _Italic_ and `Code` text
[Link](url) and ![Image](src)
For more details see GitHub Flavored Markdown.
Jekyll Themes
Your Pages site will use the layout and styles from the Jekyll theme you have selected in your repository settings. The name of this theme is saved in the Jekyll _config.yml
configuration file.
Support or Contact
Having trouble with Pages? Check out our documentation or contact support and we’ll help you sort it out.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file moonshine-cli-1.0.0.tar.gz
.
File metadata
- Download URL: moonshine-cli-1.0.0.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81c0ab470c7293ee3a15acfc5412e2cd023a6bbff34e692a034956a51633c51c |
|
MD5 | 24c17527bdc26b1ddb79241f4fd8b907 |
|
BLAKE2b-256 | ede2b55103384149d8fea6f8cf379f1975f7bcca99eaa5295fd39b3f99da97c3 |
Provenance
File details
Details for the file moonshine_cli-1.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: moonshine_cli-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e3b63a15f22041ddf0d03c3a63a446c960434edf205b403b45495ca79329ab9 |
|
MD5 | 0e9ba1a69483cd8e36c5a1bfca19668e |
|
BLAKE2b-256 | 32f6e2329f5dfe56b2a07717e05e55889a200befaa2b31049ebd57b6f6ff16e4 |