pygofile 
Asynchronous Python Wrapper for the GoFile API (Unofficial).
Installation :
pip3 install pygofile
Usage :
>> from pygofile import Gofile
>> gofile = Gofile(token='<YOUR_TOKEN>') # <YOUR_TOKEN> is your GoFile token
# or
>> gofile = Gofile() # as a guest
# to upload
>> data = await gofile.upload(file='/path/to/file.ext')
>> print(data)
{'downloadPage': 'https://gofile.io/d/OF8ctM', 'code': 'OF8ctM', 'parentFolder': '7a5cd11e-6fa34dda-44-bab5-c57d74d28d', 'fileId': 'e72b3dab-9190-48a0-9abe-89e45d1c0', 'fileName': 'file.ext', 'md5': '0aff68c0c302e07a52f4a1fbc5a687b', 'directLink': 'https://srv-store5.gofile.io/download/e72b3ab-9abe-8901c45d1c0/file.ext', 'info': 'Direct links only work if your account is a donor account. Standard accounts will have their links redirected to the download page.'}
>> download_url = data['downloadPage']
>> await gofile.delete_content(content_id='e72b3dab-9190-48a0-9abe-89e45d1c0')
Credits: ⚡
Metadata
Release files for pygofile 1.0.2
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 |
|---|---|---|---|---|
| pygofile-1.0.2.tar.gz | 5.5 kB | Without provenance | Details for pygofile-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pygofile-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for pygofile-1.0.2-py3-none-any.whl |
Total release size: 12.4 kB
Release files / pygofile-1.0.2.tar.gz
| Download URL | pygofile-1.0.2.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
32ee1332217bcdce9d3b36bb84dd5a84e2380b564f6110886215d7f65fc582e8
|
|
BLAKE2b-256 checksum How to use checksums |
93fe6f79dd655854ee34eb1ecf4555b462ef7a8e236f2bb085f260016e0fa895
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
|
Release files / pygofile-1.0.2-py3-none-any.whl
| Download URL | pygofile-1.0.2-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d6dfc7622ff7e3a6faa918c2df918de5f2bffa0ee61b825fa00cdf63ef57c0e2
|
|
BLAKE2b-256 checksum How to use checksums |
101cbfab7ef0e3bd5e2bd860d3111e3a6cf26883bc53466f10bc563f8560b384
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
|
Security for pygofile 1.0.2
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.