Host check + safe file mv — standalone module from the SciTeX ecosystem
Project description
scitex-os
Host check + safe file move helpers, extracted from the SciTeX ecosystem as a standalone, zero-dep package.
Install
pip install scitex-os
API
import scitex_os as sxos
sxos.is_host("hostname") # bool
sxos.check_host("hostname") # bool
sxos.verify_host("hostname") # raises if mismatch
sxos.mv(src, tgt) # shutil.move with mkdir(tgt)
Status
Standalone fork of scitex.os. Pure stdlib — zero deps. The umbrella package's
scitex.os import path is preserved via a sys.modules-alias bridge. 7/7 smoke
tests pass.
License
AGPL-3.0-only (see 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scitex_os-0.1.2.tar.gz.
File metadata
- Download URL: scitex_os-0.1.2.tar.gz
- Upload date:
- Size: 16.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62dacd29e31d599d857ff315e8f36902be862f7bc4aa242023b72fc7ff9afffa
|
|
| MD5 |
ea765c2d5b10ad988d316f3d4a04385d
|
|
| BLAKE2b-256 |
0d8666114ebb4758036a2880c3be3254889654b0681a25bf91f8e0fdff519061
|
Provenance
The following attestation bundles were made for scitex_os-0.1.2.tar.gz:
Publisher:
publish-pypi.yml on ywatanabe1989/scitex-os
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scitex_os-0.1.2.tar.gz -
Subject digest:
62dacd29e31d599d857ff315e8f36902be862f7bc4aa242023b72fc7ff9afffa - Sigstore transparency entry: 1413862724
- Sigstore integration time:
-
Permalink:
ywatanabe1989/scitex-os@0c1487c558bde454634ac3bb079ec8a85b42b953 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/ywatanabe1989
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@0c1487c558bde454634ac3bb079ec8a85b42b953 -
Trigger Event:
push
-
Statement type:
File details
Details for the file scitex_os-0.1.2-py3-none-any.whl.
File metadata
- Download URL: scitex_os-0.1.2-py3-none-any.whl
- Upload date:
- Size: 16.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0b2e6d602c5f0fa4f5f19ca9916650a9f6df33a16011af0967a9cae1e5146cc
|
|
| MD5 |
6ef3219210ed48339c3c2d35450cc4a7
|
|
| BLAKE2b-256 |
0e902ae004a70c751013a6a02f42a20b9d71c408f913b94206cdf5c361aa758d
|
Provenance
The following attestation bundles were made for scitex_os-0.1.2-py3-none-any.whl:
Publisher:
publish-pypi.yml on ywatanabe1989/scitex-os
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scitex_os-0.1.2-py3-none-any.whl -
Subject digest:
f0b2e6d602c5f0fa4f5f19ca9916650a9f6df33a16011af0967a9cae1e5146cc - Sigstore transparency entry: 1413862889
- Sigstore integration time:
-
Permalink:
ywatanabe1989/scitex-os@0c1487c558bde454634ac3bb079ec8a85b42b953 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/ywatanabe1989
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@0c1487c558bde454634ac3bb079ec8a85b42b953 -
Trigger Event:
push
-
Statement type: