Skip to main content

nulled.to release authentication package for python

Project description

Nulled.to releases authentication module for python

PyPi Package

Requirements

  • Python 3.6+

Installation

  • Install with pip: pip install nulled-auth

Documentation

  1. Download and install the package from pypi.com with pip install nulled-auth
  2. Include the package in your project:
  • from nulled_auth import auth
  1. Create a new object authentication = auth.Auth(program_id='', program_secret='', minimum_group=auth.Ranks.NONE, minimum_likes=0, both_requirements=False)
  • Mandatory fields:
    • program_id :
      • Definition:
        • Program id provided by staff
      • Type:
        • string
      • Default value:
        • No default value
    • program_secret :
      • Definition:
        • Program secret provided by staff
      • Type:
        • string
      • Default value:
        • No default value
  • Optional fields:
    • minimum_group

      • Definition:
        • Minimum user group to access application
      • Type:
        • Enum
          • auth.Ranks.NOVA
          • auth.Ranks.AQUA
          • auth.Ranks.VIP
          • auth.Ranks.NONE
      • Default value:
        • auth.Ranks.NONE
    • minimum_likes (Default: 0):

      • Definition:
        • Minimum number of likes to access application
      • Type:
        • integer
      • Default value:
        • 0
    • both_requirements

      • Definition:
        • if True
          • Will make mandatory both minimum_group and minimum_likes requirements
        • if False
          • Will authenticate if it haves one of the 2 requirements minimum_group or minimum_likes
      • Type:
        • boolean
      • Default value:
        • True
  1. Check if key is valid for the authentication authentication.get_auth(key)
  • Returns boolean, [string]
  • First return value:
    • Either if it has passed the authentication process or not True or False
  • Second value value:
    • In case of not passing the authentication it returns an array of 1 or more messages of why it didnt authenticate
    • In case of passing the authentication it returns an array with one message with the text: Success!

Getting help

  • In case there is any problem or cant get it to work, send a PM to 0x69 on Nulled.to

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nulled_auth-1.7.5-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file nulled_auth-1.7.5-py3-none-any.whl.

File metadata

  • Download URL: nulled_auth-1.7.5-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.8

File hashes

Hashes for nulled_auth-1.7.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2c2641c44c5f57406ecf1be60408270d9f0294b367e4232d984974c5b49f80c1
MD5 252400f925a5f7da85ede9eb618abb53
BLAKE2b-256 794425ec48050f0d106f7df981e9fb1e5b4da9ceb7e28c209e147eaf2f2b4770

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page