Lubricate helps you decrease friction when stuck at starting a project, no matter if it’s a scientific analysis or a Python package. It will initialise a ready-to-use project structure with decent defaults.
# Installation
As easy as
pip install lubricate
# Usage
Currently there are two types of projects available: python and analysis. A python project is a fully configured Python package with tests, docs and CI. An analysis is a scientific project.
## Create a Python package
lubricate new python foo
This will create the following folder structure (the virtualenv folder venv is collapsed for the sake of readability):
░ tamasgal@greybox.local:foopackage master ░ 09:58:49 > tree -I venv . ├── CHANGELOG.rst ├── CONTRIBUTING.rst ├── LICENSE ├── MANIFEST.in ├── Makefile ├── README.rst ├── doc │ ├── Makefile │ ├── changelog.rst │ ├── conf.py │ ├── contribute.rst │ ├── index.rst │ └── user_guide.rst ├── foo │ ├── __init__.py │ ├── bar.py │ └── tests │ └── test_bar.py ├── pyproject.toml ├── requirements-dev.txt ├── requirements.txt ├── setup.py └── venv [collapsed folder]
3 directories, 19 files
A virtualenv is created with the latest versions of pip, setuptools and setuptools-scm for version control:
░ tamasgal@greybox.local:foopackage master ░ 10:01:06 > . venv/bin/activate ░ tamasgal@greybox.local:foopackage master foopackage ░ 10:01:08 > pip list Package Version ————– ——- pip 20.0.2 setuptools 46.0.0 setuptools-scm 3.5.0
## Get started with a new analysis project:
lubricate new analysis the_analysis
Home-page: https://github.com/tamasgal/lubricate/ Author: Zineb Aly and Tamas Gal Author-email: zaly@km3net.de, tgal@km3net.de License: UNKNOWN Description: # lubricate
Lubricate helps you decrease friction when stuck at starting a project, no matter if it’s a scientific analysis or a Python package. It will initialise a ready-to-use project structure with decent defaults.
# Installation
As easy as
pip install lubricate
# Usage
Currently there are two types of projects available: python and analysis. A python project is a fully configured Python package with tests, docs and CI. An analysis is a scientific project.
## Create a Python package
lubricate new python foo
This will create the following folder structure (the virtualenv folder venv is collapsed for the sake of readability):
░ tamasgal@greybox.local:foopackage master ░ 09:58:49 > tree -I venv . ├── CHANGELOG.rst ├── CONTRIBUTING.rst ├── LICENSE ├── MANIFEST.in ├── Makefile ├── README.rst ├── doc │ ├── Makefile │ ├── changelog.rst │ ├── conf.py │ ├── contribute.rst │ ├── index.rst │ └── user_guide.rst ├── foo │ ├── __init__.py │ ├── bar.py │ └── tests │ └── test_bar.py ├── pyproject.toml ├── requirements-dev.txt ├── requirements.txt ├── setup.py └── venv [collapsed folder]
3 directories, 19 files
A virtualenv is created with the latest versions of pip, setuptools and setuptools-scm for version control:
░ tamasgal@greybox.local:foopackage master ░ 10:01:06 > . venv/bin/activate ░ tamasgal@greybox.local:foopackage master foopackage ░ 10:01:08 > pip list Package Version ————– ——- pip 20.0.2 setuptools 46.0.0 setuptools-scm 3.5.0
## Get started with a new analysis project:
lubricate new analysis the_analysis
Platform: any Classifier: Intended Audience :: Developers Classifier: Intended Audience :: Science/Research Classifier: Programming Language :: Python Requires-Python: >=3.5 Description-Content-Type: text/markdown
Release files for lubricate 0.1.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 | |
|---|---|---|---|
| lubricate-0.1.0.tar.gz | 19.1 kB | Details |
Release files / lubricate-0.1.0.tar.gz
| Download URL | lubricate-0.1.0.tar.gz |
|---|---|
| Size | 19.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e7761cce71abbf8765b696fb9704e16d392b9e8f4f5c9f528fb121b05d9c9cea
|
|
BLAKE2b-256 checksum How to use checksums |
0f9cdddeb8fd7b4ad92048d26bfd28724dd6887db1136283390a3e06dd2276d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1
|