Package to download files to the Robin Radar API
Project description
Package to download files to the Robin Radar API
new version notifcation -> force user to update
check version of package API and compare to version of package installed on user's machine
if version of package API is greater than version of package installed on user's machine, then force user to update
if version of package API is less than or equal to version of package installed on user's machine, then continue
How to run the upload script?
If you have a pip package that you have installed, you should be able to run the main script from the command line using the python -m command.
The basic format for running a script from a pip package using the python -m command is as follows:
python -m <package_name>.<module_name>
Where package_name is the name of the package and module_name is the name of the module that contains the script you want to run.
For example, if the package you installed is called "mypackage" and the script you want to run is called "main.py", you would run the following command:
python -m mypackage.main
The above command assume that the package has been properly installed and the python path include this package path.
Another way to do this would be to add the package to your environment variable and run the main script directly.
export PYTHONPATH=$PYTHONPATH:/path/to/mypackage
python /path/to/mypackage/main.py
It's important to note that the exact command you'll need to run will depend on the specific package and its file structure, so you may need to adjust the command accordingly.
If you are not sure about the package_name or module_name you can use pip to check it by typing in the shell:
pip show <package_name>
It will show you the package details including the path where it is located.
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 robin_sd_download-0.2.47.tar.gz
.
File metadata
- Download URL: robin_sd_download-0.2.47.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f89962c705b30bd99b599e3ff899d04e487dd55beb4f7dc77ec9530e738e1bfb |
|
MD5 | 24362234fde98a4b56197a0eb23d8c9c |
|
BLAKE2b-256 | f629c0638f0a7548aecd9d7f3a05aef6e2cb60cf7845058aa326234bdf368163 |
File details
Details for the file robin_sd_download-0.2.47-py3-none-any.whl
.
File metadata
- Download URL: robin_sd_download-0.2.47-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73d9a382be1b8e8335fa99842e3176a9140d28c4953830406ab89c42936ea805 |
|
MD5 | 5f788d47951383652a0b56bda84c652d |
|
BLAKE2b-256 | 9542c2e21e911d29be840f6cc30a1c2e8f916fa121f8eb4fb754eb7eaa9823d6 |