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
Metadata
Release files for softnanotools 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| softnanotools-0.7.0.tar.gz | 66.3 kB | Without provenance | Details for softnanotools-0.7.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| softnanotools-0.7.0-py3-none-any.whl | Python 3 | none | any | Details for softnanotools-0.7.0-py3-none-any.whl |
Total release size: 125.5 kB
Release files / softnanotools-0.7.0.tar.gz
| Download URL | softnanotools-0.7.0.tar.gz |
|---|---|
| Size | 66.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
35729148623ef419ee8ede29f0ac098f6cd3470c302aa558e950ee43384903bd
|
|
BLAKE2b-256 checksum How to use checksums |
a1ca7a184b23cf478a2c398f8f3ddae48d42c5b89ac03179d8162ff49c4d9055
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.19
|
Release files / softnanotools-0.7.0-py3-none-any.whl
| Download URL | softnanotools-0.7.0-py3-none-any.whl |
|---|---|
| Size | 59.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9af4d7a24d3cd65b83e920f99a6d2d34065e250a7a0945297bdb1faf117956c2
|
|
BLAKE2b-256 checksum How to use checksums |
81c6fa2a90deaaff17584b10118140387941ed96e2d601c8504b298d2b07cf90
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.19
|
Security for softnanotools 0.7.0
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.