django-xmpp-account | Django application for Jabber account registration
kandi X-RAY | django-xmpp-account Summary
kandi X-RAY | django-xmpp-account Summary
django-xmpp-account is a Python library typically used in Telecommunications, Media, Media, Entertainment applications. django-xmpp-account has no bugs, it has no vulnerabilities, it has build file available, it has a Strong Copyleft License and it has low support. You can download it from GitHub.
Django application for Jabber account registration
Django application for Jabber account registration
Support
Quality
Security
License
Reuse
Support
django-xmpp-account has a low active ecosystem.
It has 31 star(s) with 9 fork(s). There are 7 watchers for this library.
It had no major release in the last 6 months.
There are 2 open issues and 16 have been closed. On average issues are closed in 34 days. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of django-xmpp-account is current.
Quality
django-xmpp-account has 0 bugs and 0 code smells.
Security
django-xmpp-account has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
django-xmpp-account code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
django-xmpp-account is licensed under the GPL-3.0 License. This license is Strong Copyleft.
Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.
Reuse
django-xmpp-account releases are not available. You will need to build from source code and install.
Build file is available. You can build the component from source.
Installation instructions, examples and code snippets are available.
django-xmpp-account saves you 4370 person hours of effort in developing the same functionality from scratch.
It has 9258 lines of code, 140 functions and 108 files.
It has low code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi has reviewed django-xmpp-account and discovered the below as its top functions. This is intended to give you an instant insight into django-xmpp-account implemented functionality, and help decide if they suit your requirements.
- Initialize the server
- Send command to remote host
- Returns True if path exists
- Spawn a shell command
- Parse a JID string
- Convert a unicode string to Unicode
- Validate the BIDI rules
- Handles an XMPP command
- Create a confirmation
- Send a gpg email
- Handle validation
- Validate the username
- Use Redis
- Returns a spam block
- Create a new User instance
- Overrides registration rate
- Resend email notification
- Send an email notification
- Save a user
- Handles the exception
- Overrides rate limiting
- Validate confirmation key
- Check if the confirmation key is expired
- Handle a POST request
- Check if a form is valid
- Called when user is submitted
Get all kandi verified functions for this library.
django-xmpp-account Key Features
No Key Features are available at this moment for django-xmpp-account.
django-xmpp-account Examples and Code Snippets
No Code Snippets are available at this moment for django-xmpp-account.
Community Discussions
No Community Discussions are available at this moment for django-xmpp-account.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install django-xmpp-account
Simply clone the project, setup a virtualenv and install the requirements:.
The database the project uses is configured by the DATABASES setting in xmppaccount/localsettings.py. Also see the official documentation for possible options. Make sure the database exists and the configured user has sufficient permissions, and simply execute:. ... to create all the databases tables.
There are many ways to run a standard WSGI application like this one. The WSGI file is located in xmppaccount/wsgi.py. For example, you might want to use mod_wsgi or uWSGI and nginx. uWSGI can also be used with Apache. NOTE: Unless you deactivate GPG support, we highly recommend you enable threading support.
django-xmpp-account sends out confirmation emails on any action. Emails can be encrypted if users upload their public key, but for emails to also be signed, you must generate a private key. You can simply do this with:. Where <hostname> is any of the hosts you configured in the XMPP_HOSTS settings. You must then manually add the key to the respective XMPP_HOSTS setting. The key is also saved to the static/ directory, so you must update your staticfiles with python manage.py collectstatic. WARNING: GPG is very strict about permissions to its configuration directory. Make sure the directory is owned and read/writeable only by the system user the webserver runs as. The genkey command must also be executed as that same user, which will also create the GPG config directory if it doesn't exist.
Celery is a distributed task queue. django-xmpp-account can use celery to send emails asynchronously. This is especially recommended if you enable GPG, since GPG operations can be quite slow and doing all GPG operations inside the WSGI process will result in long page load times. The downside is that if some GPG operations fail, no error message can be displayed anymore and the user will receive an unencrypted email instead. To enable Celery, just edit the relevant sections in your localsettings.py file. We strongly recommend using redis as a broker, on Debian/Ubuntu a simple apt-get install redis-server should suffice.
The database the project uses is configured by the DATABASES setting in xmppaccount/localsettings.py. Also see the official documentation for possible options. Make sure the database exists and the configured user has sufficient permissions, and simply execute:. ... to create all the databases tables.
There are many ways to run a standard WSGI application like this one. The WSGI file is located in xmppaccount/wsgi.py. For example, you might want to use mod_wsgi or uWSGI and nginx. uWSGI can also be used with Apache. NOTE: Unless you deactivate GPG support, we highly recommend you enable threading support.
django-xmpp-account sends out confirmation emails on any action. Emails can be encrypted if users upload their public key, but for emails to also be signed, you must generate a private key. You can simply do this with:. Where <hostname> is any of the hosts you configured in the XMPP_HOSTS settings. You must then manually add the key to the respective XMPP_HOSTS setting. The key is also saved to the static/ directory, so you must update your staticfiles with python manage.py collectstatic. WARNING: GPG is very strict about permissions to its configuration directory. Make sure the directory is owned and read/writeable only by the system user the webserver runs as. The genkey command must also be executed as that same user, which will also create the GPG config directory if it doesn't exist.
Celery is a distributed task queue. django-xmpp-account can use celery to send emails asynchronously. This is especially recommended if you enable GPG, since GPG operations can be quite slow and doing all GPG operations inside the WSGI process will result in long page load times. The downside is that if some GPG operations fail, no error message can be displayed anymore and the user will receive an unencrypted email instead. To enable Celery, just edit the relevant sections in your localsettings.py file. We strongly recommend using redis as a broker, on Debian/Ubuntu a simple apt-get install redis-server should suffice.
Support
Preface: This documentation assumes you are already running your own Jabber/XMPP server. It also assumes system administration knowledge. django-xmpp-account is a Django project which typically runs inside a virtualenv. This means that all references to any python invocation assume that you have it activated (see Basic installation) or all dependencies manually installed.
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