chdir
chdir is a tiny Python library for setting the current working directory to the location of a Python script.
Why?
When writing Python scripts, you might be tired of doing this:
import os
os.chdir(os.path.dirname(os.path.abspath(__file__)))
With chdir, you can do this:
import chdir
chdir.here(__file__)
Metadata
Release files for chdir 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| chdir-1.0.0.tar.gz | 2.4 kB | Without provenance | Details for chdir-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| chdir-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for chdir-1.0.0-py3-none-any.whl |
Total release size: 5.6 kB
Release files / chdir-1.0.0.tar.gz
| Download URL | chdir-1.0.0.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7d28caf9f4fe2b2d78d5311da35956777c651174e8eb7d9d63218bf4a46d00ea
|
|
BLAKE2b-256 checksum How to use checksums |
35d6a87936620a54c9e94b6c72b7df09fe50998fdcee4450522109924202f321
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2
|
Release files / chdir-1.0.0-py3-none-any.whl
| Download URL | chdir-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
80185f8e6f7043141ca9640e8d61fee3c1f7108bd3721fe51e8f925d2fb9a4fb
|
|
BLAKE2b-256 checksum How to use checksums |
2667b07fc68c02ae6f025f87d202dfca7a0bf67a695e3469cfe9dba905135471
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2
|
Security for chdir 1.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.