Skip to main content

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 Notebooks
  • logger - A logger that prints to screen
  • runner - A tool for organising the execution of programs
  • generate - 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


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.5.0.tar.gz (67.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

softnanotools-0.5.0-py3-none-any.whl (63.0 kB view details)

Uploaded Python 3

File details

Details for the file softnanotools-0.5.0.tar.gz.

File metadata

  • Download URL: softnanotools-0.5.0.tar.gz
  • Upload date:
  • Size: 67.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for softnanotools-0.5.0.tar.gz
Algorithm Hash digest
SHA256 62b48c1517ad8e2ae55003529da49ce39cafc4377d2568768bb661ec4cf0c4e6
MD5 187f81c31227d84b7b0536c28316de12
BLAKE2b-256 c1b5cba84c202bc3ef718e8d69007650fd73d784c7c6ff04d65d4efc3d960389

See more details on using hashes here.

File details

Details for the file softnanotools-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: softnanotools-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 63.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for softnanotools-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 701d9435e8808dcf5d7ce4e0e932895a6501ee9c62331fe5ee4bb010e11b441f
MD5 d413e574b405e2a63c23a12be6769fb6
BLAKE2b-256 39230455071c15a800b30faae4a8a889c266a78c78b6451a386dbbe1535825ad

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