Skip to main content

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

scitex_os-0.1.0.tar.gz (15.1 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.0-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scitex_os-0.1.0.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for scitex_os-0.1.0.tar.gz
Algorithm Hash digest
SHA256 42fd777fa3c1878e438795338ae149f7cbf0bbcba29d47951563e5c4b38b0790
MD5 b878e6bf82eda4510d4b05571849db75
BLAKE2b-256 bc596eaeba072ea134d1d3b79142aad1dcb367cae88f821655bbcf99e51bfe2d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scitex_os-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for scitex_os-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 21c80b8a87affecd3f65b4424c5123e3be470838eff947f1feb313895d5647e3
MD5 a247c1ca183fec97a6a42d9ad09e9048
BLAKE2b-256 7a19f3d53730973d79c72e9faa8b90a37deb8ee4ade67fbeab549153a9de2c3c

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