Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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)


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for global-py, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size global_py-0.0.1-py3-none-any.whl (5.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size global-py-0.0.1.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page