Skip to main content

ATTENTION

This Repository is a fork of @Fantomas42 ‘s legendary Django-XMLRPC package. It fixes compatibility issues with current versions of Python and Django that have unfortunately not been addressed in the upstream repo.

Installation

From PyPi:

$ pip install django-xmlrpc-dx

From source:

$ python setup.py install

Below is the intact README from the upstream. Some information may no longer be accurate.

Django XML-RPC

Django_xmlrpc offers a means by which a Django developer can expose their views (or indeed any other function) using XML-RPC.

This is a fork of the original version made by Svetlyak40wt compatible with Django >= 1.8 and Python >= 2.5.

If you want to use django_xmlrpc for an older version of Django or Python, please use an old release.

Installation

You could retrieve the last sources from http://github.com/Fantomas42/django-xmlrpc and run the installation script

$ python setup.py install

or use pip

$ pip install -e git://github.com/Fantomas42/django-xmlrpc.git#egg=django-xmlrpc

Usage

Register django_xmlrpc in your INSTALLED_APPS section of your project’ settings.

There are two ways to register methods that you want to handle:

In your project’s settings.

XMLRPC_METHODS = (('path.to.your.method', 'Method name'),
                  ('path.to.your.othermethod', 'Other Method name'),)

In a file called xmlrpc.py in your application directory.

XMLRPC_METHODS = (('path.to.your.method', 'Method name'),
                  ('path.to.your.othermethod', 'Other Method name'),)

A registered method should look like this:

from django_xmlrpc.decorators import xmlrpc_func

@xmlrpc_func(returns='string', args=['string'])
def test_xmlrpc(text):
    """Simply returns the args passed to it as a string"""
    return "Here's a response! %s" % str(text)

Finally we need to register the url of the XML-RPC server. Insert something like this in your project’s urls.py:

from django_xmlrpc.views import handle_xmlrpc

url(r'^xmlrpc/$', handle_xmlrpc, name='xmlrpc'),

Metadata

Release files for django-xmlrpc-dx 0.1.10

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

Source distribution (sdist)

Source distribution for django-xmlrpc-dx 0.1.10
File Size Uploaded Provenance Actions
django_xmlrpc_dx-0.1.10.tar.gz 10.1 kB With provenance Details for django_xmlrpc_dx-0.1.10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-xmlrpc-dx 0.1.10
File Interpreter ABI Platform Actions
django_xmlrpc_dx-0.1.10-py2.py3-none-any.whl Python 3, Python 2 none any Details for django_xmlrpc_dx-0.1.10-py2.py3-none-any.whl

Total release size: 26.8 kB

Release files / django_xmlrpc_dx-0.1.10.tar.gz

Download URL django_xmlrpc_dx-0.1.10.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d0618e07df3c46529a0e9559992c1f60ee2ce361660951bb8606df2bb7cf787c
BLAKE2b-256 checksum
How to use checksums
1bb54c9aa01925d16291bcc529a3102a185f8485e26ca9c19106613876fb8979
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 26, 2025.

Transparency log

Release files / django_xmlrpc_dx-0.1.10-py2.py3-none-any.whl

Download URL django_xmlrpc_dx-0.1.10-py2.py3-none-any.whl
Size 16.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
6095efb7631b555d9312a50407f1e97bea09276098fe5b0bf048dc475b14ba37
BLAKE2b-256 checksum
How to use checksums
fdd6a96a42b247c58be5454ebbf804ef393fc4bd572de7447a717164e8f768a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 26, 2025.

Transparency log

Security for django-xmlrpc-dx 0.1.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for django_xmlrpc_dx-0.1.10.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 26, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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