Command line Odoo Downloader
Command line for download odoo installer or source
Author
Requirements
- configset
- requests
- make_colors
- pydebugger
- pheader
- bs4
- bitmath
- clipboard
- unidecode
- pywget
Usage
$ odoo_downloader -h
usage: odoo_downloader.py [-h] [-o PLATFORM] [-v VERSION] [-t TYPE]
[-p DOWNLOAD_PATH] [-s SAVE_AS] [-d DOWNLOADER]
optional arguments:
-h, --help show this help message and exit
-o PLATFORM, --platform PLATFORM
Operation System type, valid is: 'ubuntu | debian | windows | rpm |
source | linux', default is current platform
-v VERSION, --version VERSION
Odoo version, valid is >= 12
-t TYPE, --type TYPE Odoo type, valid is 'community | enterprise', default is 'community'
-p DOWNLOAD_PATH, --download-path DOWNLOAD_PATH
Save download to dir
-s SAVE_AS, --save-as SAVE_AS
Save as name, default is base on platform type and version
-d DOWNLOADER, --downloader DOWNLOADER
Download app, valid is: "wget | aria2c | persepolis" default is wget
but if wget not installed then default is pywget
-nd, --no-download Don't Download just generate it only
$ #example:
$ odoo_downloader -o ubuntu -v 14 -t enterprise -p /home/cumulus13/Download -d aria2c
>> from odoo_downloader import Odoo_downloader as downloader
>> downloader.download("/home/cumulus13/Download", 'windows', '14', 'community', downloader = 'aria2c')
GENERATED : https://download.odoocdn.com/download/14/exe?payload=MTYzOTk5NDE2OC4xNC5leGUuQk5MVmFsWlZMWkJiTngxNklTMXVsR2QxVlk0VFVGTkd1UlBhWWQ0SEZKYz0%3D
DOWNLOAD_PATH: /mnt/licface/f/DOWNLOADS
DOWNLOAD_PATH (linux): /home/cumulus13/Download
>> #or just
>> downloader.download("/home/cumulus13/Download")
GENERATED : https://download.odoocdn.com/download/14/deb?payload=MTYzOTk5NTM3Ni4xNC5kZWIuUDBlOVU4UUc1TnY5U0szUUxpSzJ6azlVS3M1WE9qdXBPaGZDMG1CajV0OD0%3D
DOWNLOAD_PATH: /mnt/licface/f/DOWNLOADS
DOWNLOAD_PATH (linux): /home/cumulus13/Download
Donate
Metadata
Release files for odoo-downloader 0.17
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| odoo_downloader-0.17.tar.gz | 19.0 kB | Details |
Release files / odoo_downloader-0.17.tar.gz
| Download URL | odoo_downloader-0.17.tar.gz |
|---|---|
| Size | 19.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5fc407172299ce791ae7c916d280def816866502482c70d67333f15b0013cdc6
|
|
BLAKE2b-256 checksum How to use checksums |
31e41c259888aca53aa78934eacda4b945ef54273fac9d301745f582866bb29f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.9.2
|