Django Rest Framework micro services common utilities
Project description
base-api-utils
DRF common utilities
Virtual Env
$ python3 -m venv env
$ source env/bin/activate
python setup
sudo add-apt-repository ppa:deadsnakes/ppa -y
sudo apt-get -y -f install python3.7 python3-pip python3.7-dev python3.7-venv libpython3.7-dev python3-setuptools
sudo -H pip3 --default-timeout=50 install --upgrade pip
sudo -H pip3 install virtualenv
Install reqs
pip install -r requirements.txt
Packaging
Create ~/.pypirc:
[distutils]
index-servers =
pypi
[pypi]
username = __token__
password = pypi-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
python3 -m pip install --upgrade build
python3 -m build
Uploading
python3 -m pip install --upgrade twine
Test Py Pi
python3 -m twine upload --repository testpypi dist/*
Production PyPi
python3 -m twine upload dist/*
Install from testPyPi.Org
pip install -i https://test.pypi.org/simple/ base-api-utils --no-deps
Install from GitHub
pip install git+https://github.com/fntechgit/base-api-utils
Failed Celery Async Tasks Management
For a deep dive into the technical implementation, CLI usage, and troubleshooting steps, please refer to the dedicated management guide:
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 base_api_utils-1.1.76.tar.gz.
File metadata
- Download URL: base_api_utils-1.1.76.tar.gz
- Upload date:
- Size: 43.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28a46745c1e982d0e0c63a80072eb4016b9fc13213ce84291ab105d93de51cf7
|
|
| MD5 |
d3c1d7948ae564372e7c65d3ff28c329
|
|
| BLAKE2b-256 |
c6a274d40fa1f6219522e243c3800003870a9d2891dff2dd10252962a0eca237
|
File details
Details for the file base_api_utils-1.1.76-py3-none-any.whl.
File metadata
- Download URL: base_api_utils-1.1.76-py3-none-any.whl
- Upload date:
- Size: 66.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0fb1ba1fbd0b2b734a9565133a5169aa7caaff88ef1f964c93c9671df9b1baa
|
|
| MD5 |
d83ecdb2860df430a4d2568173b62a89
|
|
| BLAKE2b-256 |
d2159f89826ca277bb679266db8524682fc56a5970fb976318a186f224e63bea
|