Skip to main content

A cross-platform utility to get the current HOME as a Unicode string.

Project description

get-unicode-home

A cross-platform utility to get the current HOME as a Unicode string.

Features

  • Works on both NT and POSIX.
    • Reads HOME on POSIX, USERPROFILE/HOMEDRIVE+HOMEPATH on Windows.
  • Fully compatible with Python 2 and 3.

Usage

# coding=utf-8
from __future__ import print_function
from get_unicode_home import get_unicode_home

print(u'Detected HOME:', get_unicode_home())

Installation

pip install get-unicode-home

Contributing

Contributions are welcome! Please submit pull requests or open issues on the GitHub repository.

License

This project is licensed under the MIT License.

Project details


Download files

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

Source Distribution

get_unicode_home-0.1.0a0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

get_unicode_home-0.1.0a0-py2.py3-none-any.whl (3.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file get_unicode_home-0.1.0a0.tar.gz.

File metadata

  • Download URL: get_unicode_home-0.1.0a0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for get_unicode_home-0.1.0a0.tar.gz
Algorithm Hash digest
SHA256 64ce7c68d0288a07895f84ba6378a5b90876a12378775e8d588d0bc5a93854ef
MD5 b163cf2bd82de26a68112d8b40aece29
BLAKE2b-256 336c7931cbbcf92e913e2eb3e32aad30c8d8b5968701b6e7d2c6fefa8f7faf4f

See more details on using hashes here.

File details

Details for the file get_unicode_home-0.1.0a0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for get_unicode_home-0.1.0a0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 dfd8b71ec50df588f7f49f93dd536d4179e0878d055543ad942aa7f78de47ec4
MD5 00dfabb2b44d1db71c8c8391255213c7
BLAKE2b-256 a59434a52746b159093ab6b45fa761b415acf4f3dde7c1b4ee1b859cae66ca16

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