Make your python scripts globally accessible!
Project description
# GlobalPy
The package **pyglobal** allows you to execute your python scripts globally
## Available on pypi
`pip install globalpy`
## How to use?
```
globalpy --help
usage: globalize [-h] [--setup] [--target TARGET [TARGET ...]]
[--pyversion PYVERSION] [--alias ALIAS [ALIAS ...]]
optional arguments:
-h, --help show this help message and exit
--setup, -s run only once after installing module
--target TARGET [TARGET ...], -t TARGET [TARGET ...]
target file that should become a global command
(multiple targets possible)
--pyversion PYVERSION, -p PYVERSION
choose the python version to execute in
--alias ALIAS [ALIAS ...], -a ALIAS [ALIAS ...]
alias for the program
```
## Demo
`globalpy -t test.py - a myalias`
![alt img <>](demo/alias.png)
When no alias is specified, the filename will be used as an alias:
`globalpy -t test.py`
![alt img <>](demo/default.png)
## License
License can be found [here](https://github.com/frankzl/globalpy/blob/master/LICENSE)
The package **pyglobal** allows you to execute your python scripts globally
## Available on pypi
`pip install globalpy`
## How to use?
```
globalpy --help
usage: globalize [-h] [--setup] [--target TARGET [TARGET ...]]
[--pyversion PYVERSION] [--alias ALIAS [ALIAS ...]]
optional arguments:
-h, --help show this help message and exit
--setup, -s run only once after installing module
--target TARGET [TARGET ...], -t TARGET [TARGET ...]
target file that should become a global command
(multiple targets possible)
--pyversion PYVERSION, -p PYVERSION
choose the python version to execute in
--alias ALIAS [ALIAS ...], -a ALIAS [ALIAS ...]
alias for the program
```
## Demo
`globalpy -t test.py - a myalias`
![alt img <>](demo/alias.png)
When no alias is specified, the filename will be used as an alias:
`globalpy -t test.py`
![alt img <>](demo/default.png)
## License
License can be found [here](https://github.com/frankzl/globalpy/blob/master/LICENSE)
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
global-py-0.0.1.tar.gz
(2.9 kB
view details)
Built Distribution
File details
Details for the file global-py-0.0.1.tar.gz
.
File metadata
- Download URL: global-py-0.0.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/20.7.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e30af26bd921fc8cff29f59eda93e07711e93b7d8f3315bd449d3aabae4dfd2 |
|
MD5 | 56c15fb149e7856531e2e9ff62d572c8 |
|
BLAKE2b-256 | 3d33d3b8b6b7eb5d5fedd9933e3dc26251e7dc76247e5fa961287058dcd807fc |
File details
Details for the file global_py-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: global_py-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/20.7.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80df667af192f55fa6cd9332812b90a5a804fe8c8afb47fc177622dbfa8cbbb5 |
|
MD5 | 055d400c03cc68b0f22c04641c64c6dc |
|
BLAKE2b-256 | d5061ff1a9266c3e8fe4e324274da280256784898f179ddce923d417c727f4db |