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.0

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

Built distribution (wheel)

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

Total release size: 4.1 kB

Release files / username-2.0.0.tar.gz

Download URL username-2.0.0.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
cd7ecd3e99b9e259ba9515c15089070ee574ea246404b179c7e779749fac6093
BLAKE2b-256 checksum
How to use checksums
a2f39168a150f00998c57d9ef53883677e9565d75e3f1be410624b2623194775
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.0-py3-none-any.whl

Download URL username-2.0.0-py3-none-any.whl
Size 2.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1e58173ba3d5967563d9679cfab80ec28f0a354b71becd09ad87ac68f799c283
BLAKE2b-256 checksum
How to use checksums
a4bdf46d4881f28795fb3117efd146788f05ce2726613de8b4fc667062a17e99
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.0

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