Skip to main content

simple library to have some commonly used functions for everyday purpose

Project description

Introduction

simple library to have some commonly used functions for everyday purpose

Getting Started

There are the following functionalities in this lib:

  • filefunctions - some convienience functions for file handling

Build and Test

  1. Install virtual environment python3 -m venv .venv source .venv/bin/activate pip install build pip install twine pip install pytest

  2. Build a package: python3 -m build

  3. Run the testcases
    pip install -e . cd tests pytest

  4. Upload the package to pypi.org python3 -m twine upload dist/*

Usage of basefunctions

import basefunctions as bf

bf.getCurrentDirectory()
'/home/user/development'

bf.getBaseName('/usr/local/bin/python3')
'python3'

Project Homepage

https://dev.azure.com/neuraldevelopment/basefunctions

Contribute

If you find a defect or suggest a new function, please send an eMail to neutro2@outlook.de

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

basefunctions-0.3.3.tar.gz (14.7 kB view hashes)

Uploaded Source

Built Distribution

basefunctions-0.3.3-py3-none-any.whl (11.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page