Skip to main content

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

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

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

base_api_utils-1.1.16.tar.gz (27.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

base_api_utils-1.1.16-py3-none-any.whl (42.4 kB view details)

Uploaded Python 3

File details

Details for the file base_api_utils-1.1.16.tar.gz.

File metadata

  • Download URL: base_api_utils-1.1.16.tar.gz
  • Upload date:
  • Size: 27.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for base_api_utils-1.1.16.tar.gz
Algorithm Hash digest
SHA256 8e6899d49fbf49c11c1ffce0dc5595a9ca315638b72569c5ef9c1464b1a874fd
MD5 b6a1856f805763d4b24b1125bb68e65f
BLAKE2b-256 34a05682011a09bcb965e39d69ce74c3beeaa24726be3b3e2bc6a35fee6a4295

See more details on using hashes here.

File details

Details for the file base_api_utils-1.1.16-py3-none-any.whl.

File metadata

File hashes

Hashes for base_api_utils-1.1.16-py3-none-any.whl
Algorithm Hash digest
SHA256 ceca87d7d73e6a5ad16781b9e5bf864756e9f0b157214fe3a9653a9f1400779b
MD5 ec1025633bb622551e73e70d68ad4ed9
BLAKE2b-256 3bbf598d69f8556ea55540a5e969adbd8276e66d97a6cd8ab98dfa0a83600ef1

See more details on using hashes here.

Supported by

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