Skip to main content




username: get the current username

Install

$ pip install username

Usage

import username

print(username())
# 'abranhe'

API

username()

get current username

Related

Team

Carlos Abraham Logo
Carlos Abraham

License

MIT License © Carlos Abraham

Metadata

Release files for username 2.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 username 2.0.2
File Size Uploaded Provenance Actions
username-2.0.2.tar.gz 2.0 kB Without provenance Details for username-2.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for username 2.0.2
File Interpreter ABI Platform Actions
username-2.0.2-py3-none-any.whl Python 3 none any Details for username-2.0.2-py3-none-any.whl

Total release size: 4.1 kB

Release files / username-2.0.2.tar.gz

Download URL username-2.0.2.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
18c4e5f14e936e35fb4ab5a613aca527630e7f0dbb3c29e71bb7f45d8fe537f2
BLAKE2b-256 checksum
How to use checksums
9713e8c0def8cddb8b1749328e4b8cd89b4b707a0598927d83181b358d47f3b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.7.2

Release files / username-2.0.2-py3-none-any.whl

Download URL username-2.0.2-py3-none-any.whl
Size 2.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a7b144dc3427f70bc4822b0d9ea5f6c586c684353577fca6ff657d38693b628e
BLAKE2b-256 checksum
How to use checksums
910cb44ced9da3a59c59474940809e106599aa2bd4bd3ee9cecfaa3f7905fb1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.7.2

Security for username 2.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.

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