Skip to main content

This is the simplest module for quick get project endpoints

Project description

Endmapper

Endmapper is a library for mapping endpoints.

Installation

pip install endmapper

Config file "cmapcfg.json"

{
  //This keywords must be in path
  "path_white_list": [],
  //This keywords could not be in path
  "path_black_list": [],
  //This keywords must be in endpoint name 
  "name_white_list": [],
  //This keywords could not be in endpoint name
  "name_black_list": [],
  //Services use with proxy endpoints
  //Service what you want to connect must use endmapper too
  "services": {
    "endpoint_name": "hostname or ip"
  }
}

How to use with django/drf

  • add new path to main project urls
from django.urls import path, include

urlpatterns = [
    # another paths
    path('', include('endmapper.urls'))
]

How to use with fastAPI

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

endmapper-0.2.7.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

endmapper-0.2.7-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file endmapper-0.2.7.tar.gz.

File metadata

  • Download URL: endmapper-0.2.7.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.2

File hashes

Hashes for endmapper-0.2.7.tar.gz
Algorithm Hash digest
SHA256 711e694effb6f9cade884d0de1b2f7d3fdb16f229bf8e99484ecec919d7ec54d
MD5 f53162c47f39bcfdbc74c2e17b068eca
BLAKE2b-256 b3df2435c4080098a58dad3ce97e68d435bfb44dcacdf77be930c054fcaf6159

See more details on using hashes here.

File details

Details for the file endmapper-0.2.7-py3-none-any.whl.

File metadata

  • Download URL: endmapper-0.2.7-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.2

File hashes

Hashes for endmapper-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 41b49f2e3f41524c189088811317174fe5f1adcc7d59e7efe0795b082ed5a8ae
MD5 e1609f2238a9aea10c4cdccd0aaf2faf
BLAKE2b-256 762e7e4eb3800e1fc02704114437f7cae6bbdf3dd423b90d360bbcaca0e4a673

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