# lubricate
Project description
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
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
File details
Details for the file lubricate-0.1.0.tar.gz
.
File metadata
- Download URL: lubricate-0.1.0.tar.gz
- Upload date:
- Size: 19.1 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7761cce71abbf8765b696fb9704e16d392b9e8f4f5c9f528fb121b05d9c9cea |
|
MD5 | d86d40865e8d36627fc30fd244d5c92a |
|
BLAKE2b-256 | 0f9cdddeb8fd7b4ad92048d26bfd28724dd6887db1136283390a3e06dd2276d7 |