django-rpcenable | Simple module to enable exposing functions
kandi X-RAY | django-rpcenable Summary
kandi X-RAY | django-rpcenable Summary
django-rpcenable is a Python library. django-rpcenable has no bugs, it has no vulnerabilities and it has low support. However django-rpcenable build file is not available. You can download it from GitHub.
Simple module to enable exposing functions over XML-RPC. While you are free to implement a completely custom authentication, django-rpcenable comes bundled with a ready-to-use, stateless authentication mechanism. The built-in authentication relies a on having the clocks between the authenticated parries synchronized to a certain degree (+- 5 minutes by default). The authentication also relies on having a configured Django Cache backend, which supports reliable expiration of cache objects. It is highly recommended to use Memcached for that purpose. To be able to before the server, the client must: 0. Know its own username and API Key (a shared secret between the client and the server) 1. Generate a completely random string, called nonce. Minimal length: 16 characters by default 2. Get the current timestamp (Unix time, integer) 3. Generate a SHA-256 HMAC of its API key along with %s;%s;%s % (nonce, timestamp, username) 4. Send over the 4 arguments (nonce, timestamp, username, signature) as the first argumens to the authenticated function. The above scheme allows for secure, stateless authentication between the client and the server. Built-in authentication - practice.
Simple module to enable exposing functions over XML-RPC. While you are free to implement a completely custom authentication, django-rpcenable comes bundled with a ready-to-use, stateless authentication mechanism. The built-in authentication relies a on having the clocks between the authenticated parries synchronized to a certain degree (+- 5 minutes by default). The authentication also relies on having a configured Django Cache backend, which supports reliable expiration of cache objects. It is highly recommended to use Memcached for that purpose. To be able to before the server, the client must: 0. Know its own username and API Key (a shared secret between the client and the server) 1. Generate a completely random string, called nonce. Minimal length: 16 characters by default 2. Get the current timestamp (Unix time, integer) 3. Generate a SHA-256 HMAC of its API key along with %s;%s;%s % (nonce, timestamp, username) 4. Send over the 4 arguments (nonce, timestamp, username, signature) as the first argumens to the authenticated function. The above scheme allows for secure, stateless authentication between the client and the server. Built-in authentication - practice.
Support
Quality
Security
License
Reuse
Support
django-rpcenable has a low active ecosystem.
It has 3 star(s) with 1 fork(s). There are 4 watchers for this library.
It had no major release in the last 6 months.
django-rpcenable has no issues reported. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of django-rpcenable is current.
Quality
django-rpcenable has 0 bugs and 0 code smells.
Security
django-rpcenable has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
django-rpcenable code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
django-rpcenable does not have a standard license declared.
Check the repository for any license declaration and review the terms closely.
Without a license, all rights are reserved, and you cannot use the library in your applications.
Reuse
django-rpcenable releases are not available. You will need to build from source code and install.
django-rpcenable has no build file. You will be need to create the build yourself to build the component from source.
Installation instructions are not available. Examples and code snippets are available.
It has 431 lines of code, 49 functions and 10 files.
It has low code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi has reviewed django-rpcenable and discovered the below as its top functions. This is intended to give you an instant insight into django-rpcenable implemented functionality, and help decide if they suit your requirements.
- Authenticate a function
- Get a user by username
- Authenticate a nonce
- Check if nonce is used
- Checks that the given timestamp is valid
- Mark the nonce used in the given nonce
- Compute the HMAC signature
- Generate authentication arguments
Get all kandi verified functions for this library.
django-rpcenable Key Features
No Key Features are available at this moment for django-rpcenable.
django-rpcenable Examples and Code Snippets
No Code Snippets are available at this moment for django-rpcenable.
Community Discussions
No Community Discussions are available at this moment for django-rpcenable.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install django-rpcenable
You can download it from GitHub.
You can use django-rpcenable like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
You can use django-rpcenable like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page