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 ( Test Py Pi)

python3 -m pip install --upgrade twine python3 -m twine upload --repository testpypi dist/*

Publish to PyPI

twine upload dist/*

Install locally

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.0.7.tar.gz (12.1 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.0.7-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: base_api_utils-1.0.7.tar.gz
  • Upload date:
  • Size: 12.1 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.0.7.tar.gz
Algorithm Hash digest
SHA256 970e2d89c719d3d63c0ffbf2ca054aa0a60f4203b97526e977554cb4c0919fc8
MD5 5653624ba80dba542e1d3c12bef35ca8
BLAKE2b-256 309ffdc4f40c9b2e937bc977373fa80a411797439600d0961a5b9f72e99ae6de

See more details on using hashes here.

File details

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

File metadata

  • Download URL: base_api_utils-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for base_api_utils-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 1441eddb24f326a70aaa0bbea2fe23633aa24e61f8d784ed6384966598b0285e
MD5 a3f7c077446a0b9e77e2bc886a38740e
BLAKE2b-256 b67bb4b9049d2c342465bbf5ac42e4225620ab2603f5ad887f35871db618a7b6

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