Skip to main content

Host check + safe file mv — standalone module from the SciTeX ecosystem

Project description

scitex-os

PyPI Python Tests Install Test Coverage Docs License: AGPL v3

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

scitex_os-0.1.1.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

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

scitex_os-0.1.1-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file scitex_os-0.1.1.tar.gz.

File metadata

  • Download URL: scitex_os-0.1.1.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for scitex_os-0.1.1.tar.gz
Algorithm Hash digest
SHA256 17584601ea5a521799e74ce3565180deb028f89e11f795e9b9e25afa6d705b86
MD5 a117ccaefdad8ee0061220ed5d417347
BLAKE2b-256 974879a08969abbea7734692f95ff6bebb0e162920ab51cbfadde0c4e771881e

See more details on using hashes here.

Provenance

The following attestation bundles were made for scitex_os-0.1.1.tar.gz:

Publisher: publish-pypi.yml on ywatanabe1989/scitex-os

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scitex_os-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: scitex_os-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for scitex_os-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c38a615113b73348263fe1f028a6adf45fb6981e1d0c5419a1340b85bc5740b2
MD5 4caf348310d2bb067be0f9cc065a8bd7
BLAKE2b-256 f92f759e6d451b43fd3b0653624a56cdc354a6e1a303d506c3f0d9791438dee0

See more details on using hashes here.

Provenance

The following attestation bundles were made for scitex_os-0.1.1-py3-none-any.whl:

Publisher: publish-pypi.yml on ywatanabe1989/scitex-os

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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