Skip to main content

sci Package

A Python 3 package or simply a collection of convenience and wrapper functions supporting tasks frequently needed by scientists.

install

pip3 install sci or
pip3 install --user --upgrade sci

use the --user flag on shared computers where you do not have root access. It will install the package in a place like ~/.local/lib/python3.x/site-packages/sci . You can delete that folder later to remove the package.

design goals

  1. Simplicity: wrap frequently used workflows into simple functions that make life easier for scientists. Most import statements should move into functions (except for frequently used ones like os, sys) to avoid confusion during autocomplete with VS Code and other IDEs.

  2. Verbose but easily consumable docstrings: Docstrings are accessible via code autocomplete in IDEs such as VS Code or Atom and through automated documentation environments such as sphinx. Each docsting should start with an example use case for the function.

  3. functional programming paradigm: While using classes is permitted we encourage writing fewer classes and more functions (perhaps with decorators)

  4. Cross-platform: The code should work on Linux (RHEL and Debian based), Windows and Mac OS X.

  5. Python 3 only compatibility, Python 2.x is legacy and we do not want to invest any extra time in it.

How to contribute your own code

  1. git clone git@github.com:FredHutch/sci-pkg.git

  2. create a new branch (eg : sci-yourname)

  3. paste your function into module sci/new.py.

  4. Make sure you add an example call in the first line of the doc string.

  5. Add your test case to sci-pkg/sci/tests

Metadata

Release files for sci 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sci 0.1.7
File Size Uploaded Provenance Actions
sci-0.1.7.tar.gz 20.4 kB Without provenance Details for sci-0.1.7.tar.gz

Release files / sci-0.1.7.tar.gz

Download URL sci-0.1.7.tar.gz
Size 20.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ba84daa6105f829ad1ba696390d4864a9db0b58e313f657821ef17f8b1ec9bbd
BLAKE2b-256 checksum
How to use checksums
ba7d30847bd57f69defd6cd5a52372abfbbe5cd6a100d53e5556a8a8a42eb129
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.8.0

Security for sci 0.1.7

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.

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