Skip to main content

Janex Login System

Overview

This Janex: Login System library provides a simple framework for developers to create their own login systems in Python applications. It includes functionality for adding accounts, logging in, and basic error handling.

Installation

You can install the library using pip:

pip install JanexLogin

Usage

Import the LoginSession class from the library:

from JanexLogin import LoginSession

Initialize a LoginSession object with the path to the account JSON file:

login_session = LoginSession("accounts.json")

Use the add_account method to add a new account:

status_code = login_session.add_account("username", "email@example.com", "password123")

Possible status codes:

200: New account created successfully.
405: Username already exists.
410: Email already exists.

Use the login_account method to log in to an existing account:

status_code = login_session.login_account("email@example.com", "password123")
Possible status codes:
    205: Password is correct.
    415: Incorrect password.

Contributing

Contributions are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request on GitHub.

License

This library is licensed under the Lily License 4.0. See the LICENSE file for details.

Metadata

Release files for JanexLogin 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for JanexLogin 0.0.2
File Size Uploaded Provenance Actions
JanexLogin-0.0.2.tar.gz 4.1 kB Without provenance Details for JanexLogin-0.0.2.tar.gz

Release files / JanexLogin-0.0.2.tar.gz

Download URL JanexLogin-0.0.2.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e99aed24361b1de8f0fa63756d6628683a1184f848f3fd176ba9f45d25d7a1d9
BLAKE2b-256 checksum
How to use checksums
17060201a7d6d3add02ebf2151fcd0c14600c90faec1a77bd33eeca15d06bbd7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Security for JanexLogin 0.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.

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file 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