Skip to main content

# r2d2

some handy functions

## APIS:

### `goto(directroy: str)`

进入目标目录 `directroy` -> 操作 -> 返回之前目录。

用于临时进入目标目录进行操作,如果目标目录不存在,则会被创建。

```py
os.getcwd()
# /current/directory

with goto('/my/directory'):
os.getcwd()
# /my/directory

process()

os.getcwd()
# /current/directory
```


Metadata

Release files for r2d2 3.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 r2d2 3.0.0
File Size Uploaded Provenance
r2d2-3.0.0.tar.gz 2.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for r2d2 3.0.0
File Interpreter ABI Platform
r2d2-3.0.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 5.1 kB

Release files / r2d2-3.0.0.tar.gz

Download URL r2d2-3.0.0.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b6fada659e813ae8cf7ac412a8ef8bc8c1c33bbe7f107073904cce92dd2b48a8
BLAKE2b-256 checksum
How to use checksums
e225c948dd053fec8099b1c65c405399feeb4ce8aa4b2644739cd5541569544c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Release files / r2d2-3.0.0-py2.py3-none-any.whl

Download URL r2d2-3.0.0-py2.py3-none-any.whl
Size 2.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
7ffd8aa6316cdd8609ed9c00e60996d38aff404ee08d27d83d3072689cd893aa
BLAKE2b-256 checksum
How to use checksums
69737b53be292fe5b4acfc8101317b4b01a7573c7f11cf45bebbd021a36d2aa9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Security for r2d2 3.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.

Release history Release notifications | RSS feed

This release

3.0.0 This release

2 release files No provenance

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