Skip to main content
# 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)


Release files for global-py 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for global-py 0.0.1
File Size Uploaded
global-py-0.0.1.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for global-py 0.0.1
File Interpreter ABI Platform
global_py-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.9 kB

Release files / global-py-0.0.1.tar.gz

Download URL global-py-0.0.1.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0e30af26bd921fc8cff29f59eda93e07711e93b7d8f3315bd449d3aabae4dfd2
BLAKE2b-256 checksum
How to use checksums
3d33d3b8b6b7eb5d5fedd9933e3dc26251e7dc76247e5fa961287058dcd807fc
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / global_py-0.0.1-py3-none-any.whl

Download URL global_py-0.0.1-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
80df667af192f55fa6cd9332812b90a5a804fe8c8afb47fc177622dbfa8cbbb5
BLAKE2b-256 checksum
How to use checksums
d5061ff1a9266c3e8fe4e324274da280256784898f179ddce923d417c727f4db
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page