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.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 username 2.0.1
File Size Uploaded Provenance Actions
username-2.0.1.tar.gz 1.8 kB Without provenance Details for username-2.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 4.0 kB

Release files / username-2.0.1.tar.gz

Download URL username-2.0.1.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8b9c9b091b52534866548c3ef1b1cc3a0f271549b15aa273ddf3db349c118bf7
BLAKE2b-256 checksum
How to use checksums
3945ee1719f0591493e7c9ecc964c88401a3c365028ab96d3cab380fdeb7d78a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.15

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

Download URL username-2.0.1-py3-none-any.whl
Size 2.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
36d97e6fc7aec41100650b2ad8dbabf18392b5f04a76aa32c936f21ddfcda633
BLAKE2b-256 checksum
How to use checksums
a46fe76e2ea11c57a76790bf02ef556f9f27a0a64883ae1e7eca866dbdd8cd32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.15

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

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