a collection of convenience and wrapper functions supporting tasks frequently needed by scientists
Project description
A Python 3 package or simply a collection of convenience and wrapper functions supporting tasks frequently needed by scientists.
install
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
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.
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.
functional programming paradigm: While using classes is permitted we encourage writing fewer classes and more functions (perhaps with decorators)
Cross-platform: The code should work on Linux (RHEL and Debian based), Windows and Mac OS X.
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
git clone git@github.com:FredHutch/sci-pkg.git
create a new branch (eg : sci-yourname)
paste your function into module sci/new.py.
Make sure you add an example call in the first line of the doc string.
Add your test case to sci-pkg/sci/tests
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file sci-0.1.7.tar.gz
.
File metadata
- Download URL: sci-0.1.7.tar.gz
- Upload date:
- Size: 20.4 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba84daa6105f829ad1ba696390d4864a9db0b58e313f657821ef17f8b1ec9bbd |
|
MD5 | b4771c467a80e808f8d75512fd65e72f |
|
BLAKE2b-256 | ba7d30847bd57f69defd6cd5a52372abfbbe5cd6a100d53e5556a8a8a42eb129 |