Shared Python utilies from Degel Software Ltd.
Project description
degel-python-utils
Shared Python utilities from Degel Software Ltd.
Using degel-python-utils
Initial setup on a new machine
To get started with degel-python-utils
on a new machine, follow these steps:
-
Clone the repository:
git clone https://github.com/yourusername/degel-python-utils.git cd degel-python-utils
-
Install dependencies:
Make sure you have
pipenv
installed. If not, install it usingpip
:pip install pipenv
Then, install the project dependencies and pre-commit hooks:
make install
Using degel-python-utils in other projects
To use degel-python-utils
in other projects, you need to install it via PyPI:
-
Install the library:
Add
degel-python-utils
to yourPipfile
or install it directly usingpipenv
:pipenv install degel-python-utils
-
Import and use:
You can now import and use the utility functions provided by
degel-python-utils
in your project:from degel_python_utils import some_function some_function()
Developing degel-python-utils
If you want to contribute to the development of degel-python-utils
or make local
modifications, follow these steps:
-
Clone the repository:
git clone https://github.com/yourusername/degel-python-utils.git cd degel-python-utils
-
Install dependencies and pre-commit hooks:
make install
-
Run tests:
Ensure all tests pass before making changes:
make test
-
Make your changes:
Edit the code as needed. Ensure that your code follows the project's coding standards.
-
Lint and test:
Before committing your changes, run linting and tests:
make lint make test
-
Commit and push:
Commit your changes and push to your fork or branch:
git add . git commit -m "Describe your changes" git push origin your-branch
Distributing degel-python-utils
To distribute a new version of degel-python-utils
, follow these steps:
-
Update version:
Update the version number in
setup.cfg
. -
Build the package:
Use
build
to create the distribution package:make build
-
Upload to PyPI:
Upload the package to PyPI using
twine
:make publish
-
Tag the release:
Tag the new release in your git repository:
git tag vX.Y.Z git push origin vX.Y.Z
By following these instructions, you can effectively use, develop, and distribute the
degel-python-utils
library. If you encounter any issues or have questions, feel free
to open an issue on the GitHub repository.
License and copyright
This project is licensed under the MIT License.
Copyright © 2024, Degel Software Ltd.
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
File details
Details for the file degel_python_utils-0.1.5.tar.gz
.
File metadata
- Download URL: degel_python_utils-0.1.5.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea5c74bda97bc603fcfba58cef74a9e0127300209cea658c4fa263832aa9904d |
|
MD5 | eac699b7d930b8947b21131c279eba0c |
|
BLAKE2b-256 | f69976bf2865a74d8c8733a7067b0b6c4e0a3b4fea9797f010c6084f1520e81c |
File details
Details for the file degel_python_utils-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: degel_python_utils-0.1.5-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5acac5bac75fcefbe02d6f1e8d5f73d8c0fa38c8a2fcc346d03285f45a1020bf |
|
MD5 | 7e83b120f202982d75c10beb087073b8 |
|
BLAKE2b-256 | c1c1fc0521505b27ce2598481bd7546e470ccce049bab978c9f5c0afc07edd29 |