a set of libraries by DavidRodriguezSoaresCUI
Project description
drslib - a set of utilities by DavidRodriguezSoaresCUI
drslib is a Python package that provides a wide range of small yet powerful and highly-reusable functions, classes, decorators, etc. Its main purpose is to provide high-level "building blocks" that accomplish simple tasks, facilitating the writing of elaborate scripts with limited code.
License: see LICENSE file.
Author: DavidRodriguezSoaresCUI
Installation
From a terminal execute:
python -m pip install drs.drslib
Note that on some systems it may be necessary to specify python version as
python3orpython3.10
Installation from source
Download/git clone the project, open it in a terminal end execute python -m pip install .
Install optional dependencies
To install dependencies required for building documentation : python -m pip install .[doc] (or if you use flit : flit install --deps=doc)
To install dependencies required for:
-
building documentation :
python -m pip install .[doc](or if you useflit:flit install --deps=doc) -
code analysis :
python -m pip install .[analyse](or if you useflit:flit install --deps=analyse) -
running tests :
python -m pip install .[test](or if you useflit:flit install --deps=test)
Run tests
First some requirements (step 3 needs to be re-run if you make changes) :
- Download/
git clonethe project and open it in a terminal - Install the testing requirements with
python -m pip install .[test] - Install the project with
python -m pip install -e .It needs to be installed in editable mode for coverage to work
Then you can simply run pytest (from a terminal at the downloaded project directory)
Documentation
You can find documentation in source code docstrings, or, more practically, by building documentation from source. After you have installed optional documentation building dependencies :
- On
Windows: Runsphinx-full-rebuild.batfrom directorydocs - On
Linux: If your shell is bash compatible, runsphinx-full-rebuild.shfrom directorydocs. If not, you should be capable of adapting it to your system.
Warning to users
drslib is a quickly evolving package, and author doesn't take any responsibility to maintain it or to keep its API stable, but will make a good faith effort to do so. Also, some of its code writes to the disk, so its use may lead to data loss.
Use it at your own risk.
This project structure was generated by python-project-quickstart
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file drs_drslib-0.10.0.tar.gz.
File metadata
- Download URL: drs_drslib-0.10.0.tar.gz
- Upload date:
- Size: 49.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b1d58d1b0541b17faff78ac972666b0789d8999b594d725bbbf3afdd1db70f7
|
|
| MD5 |
babf616ae3e1b1925741febabbea653a
|
|
| BLAKE2b-256 |
6a71ea909a7caea318b364e5179d8673bb2574171b1686675193b6f443258831
|
File details
Details for the file drs.drslib-0.10.0-py3-none-any.whl.
File metadata
- Download URL: drs.drslib-0.10.0-py3-none-any.whl
- Upload date:
- Size: 59.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3487d6774ae79a9ef63f7ea5ffa698acbe62db22d53e9be27013b7d0e0245cb8
|
|
| MD5 |
e3cd5c0a8b1c5c9ae8a3b754b5f16b8e
|
|
| BLAKE2b-256 |
d55d13de926aacc58e99aecb7a05ee240bd77387c83f9d3b0f8f2265607d6c41
|