HXfile
Hxfile Unofficial API
requirements
-
pip
- unidecode
- configset
- parserheader
- requests
- bs4
- bitmath
- clipboard
-
for development:
- pydebuger
- jsoncolor
-
for notification:
- xnotify
usage
all functions same as on api documentation plus downloader download1, download2, generate
usage: hxfile [-h] [-d [DOWNLOAD ...]] [-m METHOD] [-p DOWNLOAD_PATH] [-n SAVE_AS] [-i INFO] [-I] [-S ACCOUNT_STAT] [-u UPLOAD]
[-l] [-L LIST_FOLDER] [-r RENAME_FILE RENAME_FILE] [-R RENAME_FOLDER RENAME_FOLDER] [-c CLONE] [-M MOVE MOVE]
[-C MKDIR MKDIR] [-sd] [--api-key API_KEY] [--api-key-temp API_KEY_TEMP] [-g [GENERATE ...]] [--clip]
optional arguments:
-h, --help show this help message and exit
-d [DOWNLOAD ...], --download [DOWNLOAD ...]
Download by given url or id/filecode, you can change use method "1" or "2" with -m/--method, default
method is "2"
-m METHOD, --method METHOD
Download/Generate method: "2" download/generate url without API_KEY needed, but you must still input
API_KEY to config file "hxfile.ini" for other function requirement, "1" download/generate with API_KEY
flow check your file --> if not exists --> clone --> generate direct_link
-p DOWNLOAD_PATH, --download-path DOWNLOAD_PATH
Save download action file to directory
-n SAVE_AS, --save-as SAVE_AS
Download save as
-i INFO, --info INFO Get File info
-I, --account-info Get Account Info
-S ACCOUNT_STAT, --account-stat ACCOUNT_STAT
Get Account Info Statistics
-u UPLOAD, --upload UPLOAD
Upload file
-l, --list-file List all files
-L LIST_FOLDER, --list-folder LIST_FOLDER
List all folder
-r RENAME_FILE RENAME_FILE, --rename-file RENAME_FILE RENAME_FILE
Rename file
-R RENAME_FOLDER RENAME_FOLDER, --rename-folder RENAME_FOLDER RENAME_FOLDER
Rename folder
-c CLONE, --clone CLONE
Clone/Copy file from public link as youre file
-M MOVE MOVE, --move MOVE MOVE
Move file to folder
-C MKDIR MKDIR, --mkdir MKDIR MKDIR
Create new Folder
-sd, --show-deleted Show files delete along for x days
--api-key API_KEY set API_KEY
--api-key-temp API_KEY_TEMP
set API_KEY as temporary key
-g [GENERATE ...], --generate [GENERATE ...]
Generate link/id as direct download link
--clip Copy direct download url to clipboard
- example:
hxfile --api-key-temp 4534wit9lvakdohxjdv6 -i m13uao5l10rt
hxfile --api-key-temp 4534wit9lvakdohxjdv6 -i https://hxfile.co/m13uao5l10rt
>>> from hxfile import Hxfile
>>> id = "m13uao5l10rt" # or https://hxfile.co/m13uao5l10rt
>>> Hxfile.file_info(id) # or
>>> h = Hxfile()
>>> h.file_info(id) # or
>>> Hxfile().file_info(id)
>>> # direct download without API_KEY
>>> Hxfile.download1(id)
>>> # direct download with API_KEY requirement
>>> Hxfile.download2(id)
>>> #generate only, not download
>>> Hxfile.generate(id)
downloader support 'idm' (windows), 'wget/aria2c/persepoli' (linux), if error then downloader use pywget (all)
author
Metadata
Release files for hxfile 0.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hxfile-0.15.tar.gz | 15.9 kB | Without provenance | Details for hxfile-0.15.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hxfile-0.15-py3-none-any.whl | Python 3 | none | any | Details for hxfile-0.15-py3-none-any.whl |
Total release size: 30.5 kB
Release files / hxfile-0.15.tar.gz
| Download URL | hxfile-0.15.tar.gz |
|---|---|
| Size | 15.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7d8ca7d9037ab9496bfb796fcacbd8b707d035b193fa585b8c26f7562764a5f5
|
|
BLAKE2b-256 checksum How to use checksums |
9fde67a1714264779c6c62eb4d96ca90b1ebee1c0058de2931d380d5aa28fe1b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.8.2 requests/2.28.1 setuptools/61.2.0 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.9.12
|
Release files / hxfile-0.15-py3-none-any.whl
| Download URL | hxfile-0.15-py3-none-any.whl |
|---|---|
| Size | 14.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f3b14bd6e4212a71248d4dbaab3b27c46118a7a1ac3fddb4aacd7e378cb479f5
|
|
BLAKE2b-256 checksum How to use checksums |
5a83c7fe962010271be180f0d8cb2f5a59fa567b82971fb272245bbcdc35fdc4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.8.2 requests/2.28.1 setuptools/61.2.0 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.9.12
|
Security for hxfile 0.15
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.