Tools for computing
Project description
softnanotools
This repository contains a bunch of tools for different programming applications, mostly in Python. It is used through the softnanolab research group
Installation
The package uses only the Python standard library so the only prerequisite is the use of Python 3.
Installing using:
# pip
pip install softnanotools
# manual
git clone https://github.com/softnanolab/softnanotools
pip install ./softnanotools
Modules
Here is a list of modules with a brief description:
notebooks
- Tools for manipulating Jupyter Notebookslogger
- A logger that prints to screenrunner
- A tool for organising the execution of programsgenerate
- A tool for generating python files and projects
Usage
softnanotools.generate
softnanotools.generate
exists as a command-line interface (CLI) which can be called in the following
ways:
# Generate a simple python script called example.py
$ softnanotools.generate script example
# Generate a simple python module called example.py
$ softnanotools.generate module example
# Generate a package template called example using -m flag to specify internal module
$ softnanotools.generaet package example -m internal
$ tree example
example
├── __init__.py
└── internal.py
# Generate a package template called example using -m flag to specify internal module
$ softnanotools.generate package example -m internal.nested
$ tree example
example
├── __init__.py
└── internal
├── __init__.py
└── nested.py
# Generate a full project and initialise with `git`
$ softnanotools.generate project example
$ tree example
example
├── .gitattributes
├── .github
│ └── workflows
│ ├── coverage.yml
│ └── quick-build.yml
├── .gitignore
├── MANIFEST.in
├── README.md
├── example
│ ├── __init__.py
│ └── _version.py
├── pyproject.toml
├── setup.cfg
├── setup.py
├── test
│ ├── __init__.py
│ └── test_example.py
└── versioneer.py
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
softnanotools-0.7.0.tar.gz
(66.3 kB
view details)
Built Distribution
File details
Details for the file softnanotools-0.7.0.tar.gz
.
File metadata
- Download URL: softnanotools-0.7.0.tar.gz
- Upload date:
- Size: 66.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35729148623ef419ee8ede29f0ac098f6cd3470c302aa558e950ee43384903bd |
|
MD5 | 1d1fc9baa2ee93e05e9e93ee76ba554e |
|
BLAKE2b-256 | a1ca7a184b23cf478a2c398f8f3ddae48d42c5b89ac03179d8162ff49c4d9055 |
File details
Details for the file softnanotools-0.7.0-py3-none-any.whl
.
File metadata
- Download URL: softnanotools-0.7.0-py3-none-any.whl
- Upload date:
- Size: 59.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9af4d7a24d3cd65b83e920f99a6d2d34065e250a7a0945297bdb1faf117956c2 |
|
MD5 | d604c229357f98ed214fd88602aaf0f8 |
|
BLAKE2b-256 | 81c6fa2a90deaaff17584b10118140387941ed96e2d601c8504b298d2b07cf90 |