Skip to main content

77file.com Simple Downloader

Installation

Install project locally

  1. Clone repository

    git clone https://github.com/bayy420-999/ssf-downloader.git
    
  2. Install required python dependencies

    pip install -r requirements.txt
    
  3. Install project

    pip install .
    

Install project from pip

pip install 77file-downloader

Usage

As a library

  1. Importing library

    # This library is asynchrounus library
    # so you need to import asyncio
    import asyncio
    # Import SSFClient
    from ssf_downloader.client import SSFClient
    
  2. Initialize SSFClient

    You can initialize SSFClient within async context manager

    async def main():
        # You can pass username and password directly
        # or leave it blank, and pass username and password when login()
        async with SSFClient() as client: 
            # Do stuff
    

    Or you initilize the client manually (dont forget to close the session)

    async def main():
        # You can pass username and password directly
        # or leave it blank, and pass username and password when login()
        client = SSFClient()
        # Do stuff
    
        # Close session
        await client.close()
    
  3. Login

    # Username and password is optional
    # but if you didn't pass it during client intialization
    # you need to pass it during login
    await client.login(username, password)
    
  4. Register (Optional)

    If you don't have 77file.com account, you can register it by calling client.register() method, and pass your registration details

    await client.register(username, email, password)
    
  5. Get file details (filename, download_link, etc)

    # Pass 77file.com file url
    file_details = await client.get_file_details(url)
    filename = file_details.file_name
    file_size = file_details.file_size
    download_link = file_details.link
    print(f'{filename=}\n{file_size=}\n{download_link=}')
    

The final result would be like in main.py file

As CLI Tools

Once you register/login, your login session will be saved

  1. Register

    ssf_downloader register --username='your_username' --email='your_email@example.com' --password='your_password'
    
  2. Login

    ssf_downloader login --username='your_username' --password='your_password'
    
  3. Get file details

    ssf_downloader get_file --url='77file.com url' | jq
    

Metadata

Release files for 77file-downloader 1.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 77file-downloader 1.0.1
File Size Uploaded Provenance
77file-downloader-1.0.1.tar.gz 4.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for 77file-downloader 1.0.1
File Interpreter ABI Platform
77file_downloader-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 10.5 kB

Release files / 77file-downloader-1.0.1.tar.gz

Download URL 77file-downloader-1.0.1.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
451c5bba9dbb9926a08bfd04e0288713ef39b6b62ca0f10fdd5069f76be93647
BLAKE2b-256 checksum
How to use checksums
b4c6ad6bb863f754efba4dd242d16f1a794c319c21ba2dec67d3cb6c5e5d9f1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.8

Release files / 77file_downloader-1.0.1-py3-none-any.whl

Download URL 77file_downloader-1.0.1-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0bfa1a24b322d85d39e91d92939addd6acd91e7a50eb9794f55865f48124438c
BLAKE2b-256 checksum
How to use checksums
2fbac45dcea5498c582848f07d7f098957c2d3068d51586f7e4833df22c0e76e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.8

Security for 77file-downloader 1.0.1

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.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

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