Skip to main content

django-drf-client

Dynamic client based on coreapi and drf inspired by dotmap and java script

Example

def get_client(url,username,password):
    from drf_client.client import DrfClient
    return DrfClient(url, username, password)
  
drfc = get_client('http://server-dns-name','username','password')
doc(drfc) # it will list possible options based on server

# Example
drfc.api.<app-name>.<model>.create(**params)
drfc.api.<app-name>.<model>.list(**params).all()
drfc.api.<app-name>.<model>.list(**params).first()

Metadata

Release files for drf-client 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for drf-client 1.0.0
File Size Uploaded
drf-client-1.0.0.tar.gz 2.8 kB Details

Release files / drf-client-1.0.0.tar.gz

Download URL drf-client-1.0.0.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
157f0d2ce78b1f6dc7605d5d56f95d83013d36f15194102ab90502df1231dd47
BLAKE2b-256 checksum
How to use checksums
639d28a29e1c107be897160d94e9914791f53728c2302cd9b0adaabc962d1e56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page