Saravanan666/pypi-org huggingface dataset:
Package: django-tvdb
Write Django as usual, and letdjango-tvdbmake handle api requests to theTVDBRequirementsPython 2.7, 3.2, 3.3, 3.4, or 3.5Django >= 1.8The latest version supporting Python 2.6 and Django < 1.8 is the 6.x.x branch.InstallationInstall using pip:pip installdjango-tvdbAlternatively, you can install download or clone this repo and callpip install-e..Add to INSTALLED_APPS in yoursettings.py:'tvdb',This app will soon require Django 1.8+, python 2.7+. Thanks for understanding.DocumentationThe full documentation is athttp://django-tvdb.readthedocs.org/.
theTVDB API documentation is athttps://api-beta.thetvdb.com/swaggerBugs and suggestionsIf you have found a bug or if you have a request for additional functionality, please use the issue tracker on GitHub.https://github.com/miigotu/django-tvdb/issuesLicenseYou can use this under Apache 2.0. SeeLICENSEfile for details.AuthorDeveloped and maintained byZostera.Original author & Development lead:Dylan Verheul.Thanks to everybody that has contributed pull requests, ideas, issues, comments and kind words.Please see AUTHORS.rst for a list of contributors.History0.0.1 (2016-09-18)Skeleton and planning
Package: django-twc-toolbox
django-twc-toolboxRequirementsPython 3.8, 3.9, 3.10, 3.11, 3.12Django 3.2, 4.2, 5.0Getting StartedInstall the package from PyPI:python-mpipinstalldjango-twc-toolboxAdd the app to your Django project'sINSTALLED_APPS:INSTALLED_APPS=[...,"django_twc_toolbox",...,]UsageDocumentationPlease refer to thedocumentationfor more information.Licensedjango-twc-toolboxis licensed under the MIT license. See theLICENSEfile for more information.
Package: django-tweets
django-tweetsCreate and delete tweets in a Django project.This packages takes the advantage of thetweepyfunctionalities to connect it to a Django Backend.The tweets objects can have media files as well.Set upTwitter AccountMake sure you have a Twitter account.Go to theTwitter Developer Portal.Create a Project and an AppMake sure your App has read and write permissions.Genenerate the necessary secrets and token.django-tweetsInstall from PyPIpython -m pip install django-tweetsAdd the package to your settins INSTALLED_APPSINSTALLED_APPS=[..."django_tweets",...]Add the following settings to your Django project.Django settingDescriptionRequiredTWITTER_API_KEYTwitter API OAuth 1.0a Consumer KeyYesTWITTER_API_KEY_SECRETTwitter API OAuth 1.0a Consumer SecretYesTWITTER_BEARER_TOKENTwitter API OAuth 2.0 Bearer Token / Access TokenYesTWITTER_ACCESS_TOKENTwitter API OAuth 1.0a Access TokenYesTWITTER_ACCESS_TOKEN_SECRETTwitter API OAuth 1.0a Access Token SecretYesDJANGO_TWEETS_SYNC_DELETESynchronize object deletion with Twitter API. This is activated by default.NoTWITTER_USERNAMEUseful for accessing to the url of a Tweet objectNoExample:importosfromdotenvimportload_dotenvload_dotenv()...############################## django-tweets ############################### usernameTWITTER_USERNAME="django_tweets"# https://twitter.com/django_tweets# Consumer KeysTWITTER_API_KEY=os.environ.get("TWITTER_API_KEY")TWITTER_API_KEY_SECRET=os.environ.get("TWITTER_API_KEY_SECRET")# Authentication TokensTWITTER_BEARER_TOKEN=os.environ.get("TWITTER_BEARER_TOKEN")TWITTER_ACCESS_TOKEN=os.environ.get("TWITTER_ACCESS_TOKEN")TWITTER_ACCESS_TOKEN_SECRET=os.environ.get("TWITTER_ACCESS_TOKEN_SECRET")# OAuth 2.0 Client ID and Client SecretTWITTER_CLIENT_ID=os.environ.get("TWITTER_CLIENT_ID")TWITTER_CLIENT_SECRET=os.environ.get("TWITTER_CLIENT_SECRET")Run migrationspython manage.py migrateUsageCreate a simple tweetfromdjango_tweets.modelsimportTweet# create a tweet in the dbtweet=Tweet.objects.create(text="Hi, this is my tweet using django-tweets and tweepy")# publish ittweet.publish()Create a tweet with a media filefrompathlibimportPathfromdjango.core.files.baseimportContentFilefromdjango_tweets.modelsimportTweet,TweetFile# create a media filepath=Path("path/to/my/file.jpg")withopen(path,"rb")asf:f.seek(0)contents=f.read()tweet_file=TweetFile.objects.create(title="nice photo")tweet_file.file.save(path.name,ContentFile(contents))# upload to Twittertweet_file=tweet_file.upload()# create a tweet in the dbtweet=Tweet.objects.create(text="My tweet with a file")# add the media file to the tweet objecttweet.files.add(tweet_file)# publish ittweet.publish()Usage in the adminUsehttp://127.0.0.1:8000/admin/django_tweets/tweet/to create a Tweet objectUsehttp://127.0.0.1:8000/admin/django_tweets/tweetpublication/to link a Tweet object to publish it.Similarly works with theTweetFileandTweetFileUploadmodels.About🐣 django_tweets©Django is a registered trademark of the Django Software Foundation.
Package: django-twilio
Integrate Twilio into your Django apps with ease.MetaAuthor: Randall DeggesEmail:rdegges@gmail.comMaintainer: Jason HeldEmail:jasonsheld@gmail.comStatus: active development, stable, maintainedTwilio makes it easy to send & receive SMS messages, and create & manage voice calls through software.Django-twilio makes it easy to use Twilio in your Django projects.This project aims to keep compatibility with the supported Django releases.As such our versions of python and django are designed to match that cadence as much as possible.We are currently compatible with Django 4. Python versions 3.8 to 3.10.DocumentationThe documentation is hosted at ReadTheDocs. You can check out the docs
here -http://django-twilio.rtfd.org/
Package: django-twilio2
=============Django-Twilio2=============Integrate Twilio into your Django apps with ease.This is a fork of the original django-twilio. The original one was not recieving updates on pypi.The original can be found here:https://github.com/rdegges/django-twilioMeta----* Maintainer: Kyle Mulka* Email: repalviglator@yahoo.comTwilio makes it easy to send & receive SMS messages, and create & manage voice calls through software.Django-twilio2 makes it easy to use Twilio in your Django projects.Documentation-------------The documentation is hosted at ReadTheDocs. You can check out the docshere - http://django-twilio.rtfd.org/
Package: django-twilio-access-token
django-twilio-access-tokenThis is a Django application that can be used to generate Twilio access token for particular services, such as Voice, Chat, and Video.PrerequisiteTwilioWe use Twilio client forpythonto generate an access token for Twilio services. To make the package works on your project, you need to install Twilio client either throughpipcommand;pip install twilioor simply add Twilio on yourrequirements.txttwilio~=6.32.0Twilio keysIn order to make the package works with your django project, you need to define the Twilio keys inside your projectsettings.py, for example:TWILIO_ACCOUNT_SID = 'PUT_YOUR_TWILIO_ACCOUNT_SID_HERE'  # You can find Twilio Account SID at the top right section of this page https://www.twilio.com/console/

TWILIO_VIDEO_API_KEY_SID = 'PUT_YOUR_TWILIO_VIDEO_API_KEY_SID_HERE'  # You can obtain these keys by creating it through https://www.twilio.com/console/video/project/api-keys/
TWILIO_VIDEO_API_KEY_SECRET = 'PUT_YOUR_TWILIO_VIDEO_API_KEY_SECRET_HERE'Or see thetest_project/test_app/settings.pyif you need to know more.How to run the test projectTo try out the package, you can run our test application by following these steps:Ensure pip installed on your local machine. If you don't have it, you can follow the installation guidehere.Open terminal and go to the root directory of where the package live, for instance:$ cd Documents/py-projects/django-twilio-access-token.Run$ ./scripts/requirement-install.shfrom your command line.Run$ source venv/bin/activate.Run$ python manage.py runserver 0.0.0.0:8000and enjoy the token API's.Get involved!We are happy to receive bug reports, fixes, documentation enhancements, and other improvements.Please report bugs via the githubissue tracker.Master git repositorydjango-twilio-access-token.
Package: django-twilio-sms
Twilio integration for SMS-based Django appsDeveloped and used aten.ig.ma software shop.QuickstartIncludedjango-twilio-smsin yourrequirements.txtfile.Adddjango_twilio_smstoINSTALLED_APPSand syncdb/migrate.Add the following url to your urlconf:url(r"^messaging/",include("django_twilio_sms.urls")),this will receive confirmation callbacks for any SMS message
that you send usingutils.send_sms.Create a new view and overrideIncomingSMSView.post_save(self, obj)method
to receive SMS messages via callbacks from Twilio. The receivedobjparam will be an instance ofIncomingSMSmodel.Configure Twilio callback to send notifications to the above view’s url.Configure settings:TWILIO_ACCOUNT_SID, TWILIO_AUTH_TOKEN, TWILIO_PHONE_NUMBER - copy
credentials from the Twilio panel.TWILIO_CALLBACK_USE_HTTPS - use https or not for delivery confirmation
callback urls.TWILIO_CALLBACK_DOMAIN - optionally set domain name or IP of your site
(otherwise the server name will be extracted from the request info).TWILIO_DRY_MODE - set if you want to run in test mode.Licensedjango-twilio-smsis released under the MIT license.Other ResourcesGitHub repository -https://github.com/nigma/django-twilio-smsPyPi Package site -http://pypi.python.org/pypi/django-twilio-smsCommercial SupportThis app and many other help us build better software
and focus on delivering quality projects faster.
We would love to help you with your next project so get in touch
by dropping an email aten@ig.ma.
Package: django-twilio-sms-2
Fork of django-twilio-sms by nigma. Maintained by Saurabh Kumar.Twilio integration for SMS-based Django appsQuickstartIncludedjango-twilio-sms-2in yourrequirements.txtfile.Adddjango_twilio_smstoINSTALLED_APPSand migrate.Add the following url to your urlconf:url(r"^messaging/",include("django_twilio_sms.urls")),this will receive confirmation callbacks for any SMS message
that you send usingutils.send_sms.Create a new view and overrideIncomingSMSView.post_save(self, obj)method
to receive SMS messages via callbacks from Twilio. The receivedobjparam will be an instance ofIncomingSMSmodel.Configure Twilio callback to send notifications to the above view’s url.Configure settings:TWILIO_ACCOUNT_SID,TWILIO_AUTH_TOKEN,TWILIO_PHONE_NUMBER- copy
credentials from the Twilio panel.TWILIO_CALLBACK_USE_HTTPS- use https or not for delivery confirmation
callback urls.TWILIO_CALLBACK_DOMAIN- optionally set domain name or IP of your site
(otherwise the server name will be extracted from the request info).TWILIO_DRY_MODE- set if you want to run in test mode.Dependenciesdjango>=1.7djangorestframework>=2.4.3twilio>=3.6.8Further Readinghttps://www.twilio.com/docs/api/rest/sending-messagesLicensedjango-twilio-sms-2is released under the MIT license.Other ResourcesGitHub repository -https://github.com/theskumar/django-twilio-sms-2PyPi Package site -http://pypi.python.org/pypi/django-twilio-sms-2
Package: django-twilio-sms-models
=============================django-twilio-sms-models=============================.. image:: https://badge.fury.io/py/django-twilio-sms-models.png:target: https://badge.fury.io/py/django-twilio-sms-models.. image:: https://travis-ci.org/cfc603/django-twilio-sms-models.png?branch=master:target: https://travis-ci.org/cfc603/django-twilio-sms-models.. image:: https://codecov.io/github/cfc603/django-twilio-sms-models/coverage.svg?branch=master:target: https://codecov.io/github/cfc603/django-twilio-sms-models?branch=masterDjango models for Twilio's Programmable SMSDocumentation-------------The full documentation is at https://django-twilio-sms-models.readthedocs.org.Quickstart----------Install django-twilio-sms-models::$ pip install django-twilio-sms-modelsFollow django-twilio install instructions:http://django-twilio.readthedocs.org/en/latest/install.htmlAdd 'django-twilio-sms' to your `INSTALLED_APPS`::# project/settings.pyINSTALLED_APPS = (...'django_twilio_sms',)Set 'DJANGO_TWILIO_SMS_SITE_HOST' setting:This is used to build an absolute URI for the callback url. Can also be usedwith ngrok on your development machine.::# project/settings.pyDJANGO_TWILIO_SMS_SITE_HOST = 'www.example.com'Include django-twilio-sms URLconf in your project `urls.py`::url(r'^twilio-integration/', include('django_twilio_sms.urls', namespace='django_twilio_sms')),Sync the database::$ python manage.py migrateRunning Tests--------------Does the code actually work?::source <YOURVIRTUALENV>/bin/activate(myenv) $ pip install -r requirements-test.txt(myenv) $ python runtests.pyCredits---------Tools used in rendering this package:*  Cookiecutter_*  `cookiecutter-pypackage`_.. _Cookiecutter: https://github.com/audreyr/cookiecutter.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackageHistory-------1.2.0 (2016-05-13)++++++++++++++++++* Handle unsubscribed PhoneNumber1.1.0 (2016-04-16)++++++++++++++++++* Basic admin configuration (#4) (Thanks @carlkibler)* Update docs* Fix settings typo* Add response_message signal1.0.0 (2016-04-14)++++++++++++++++++* Setup tox* Setup Travis CI* Add sync_responses command0.1.0 (2016-04-11)++++++++++++++++++* First release on PyPI.
Package: django-twined
Django TwinedThis is a plugin for django, enabling you to orchestratetwined-based octue servicesservices from your own django
server.Documentation ishere.This is great for advanced use cases where:you have specific security/firewalling requirements, oryou want to manage your own auth, oryou have specific/unusual data integration needs, oralready have a web based data service, and want to expose it in the twined ecosystem.Health warning:to use this plugin to deploy your services, you'll need to handle all your own data
storage/orchestration, devops, server management, security and auth. So for most users we'd recommend getting in touch atoctue.comso we can help!
Package: django-twitch-auth
Django Twitch AuthDependenciesInstall requests if not installedpipinstallrequestsInstallationInstall using pippipinstalldjango_twitch_authAdd 'django_twitch_auth' to your INSTALLED_APPS setting.INSTALLED_APPS=[...'django_twitch_auth',]Add 'django_twitch_auth.middlewares.TwitchAuthenticationMiddleware' under 'django.contrib.sessions.middleware.SessionMiddleware' to your MIDDLEWARE setting.MIDDLEWARE=[...'django.contrib.sessions.middleware.SessionMiddleware','django_twitch_auth.middlewares.TwitchAuthenticationMiddleware',...]Add AUTHENTICATION_BACKENDS to your settings.AUTHENTICATION_BACKENDS=['django_twitch_auth.authbackends.TwitchBackend',]Add the following to your root urls.py file.urlpatterns=[...path('django_twitch_auth/',include('django_twitch_auth.urls'))]Add twitch credentials and redirect uri to your settingsTWITCH_CLIENT_ID='client_id_here'TWITCH_CLIENT_SECRET='client_secret_here'TWITCH_REDIRECT_URI='https://redirect_uri_here'
Package: django-twitter
django-twitter allows your users to login into your application using Twitter in a easy way.How To Use==========1. Add 'twitter' to your apps list2. Include('twitter.urls') in your url app3. Add in settings.py:CONSUMER_KEY = "your_consumer_key"CONSUMER_SECRET = "your_consumer_secret"CALLBACK_URL = 'your_awesome_url'CONSUMER_KEY: You can obtain it from your Twitter account.CONSUMER_SECRET: You can obtain it from your Twitter account.CALLBACK_URL: is the url inside your application that should be shown when the authentication process went ok. It must be same as Twitter callback url.4. Connect with tokens_received signal:from twitter import signalsdef tokens_received(sender, request, screen_name, oauth_token, oauth_token_secret, **kwargs):#Your stuff heresignals.tokens_received.connect(tokens_received)How it works============To insert the link to Twitter, include this in your template : {% url twitter_begin_auth %} in a link.When the user click on the link, is redirected to Twitter, and once logged in, it will redirect you to CALLBACK_URL in your application and tokens_received signal will be raised.NOTE:-----Remember that your Twitter callback url must be the same as CALLBACK_URLDependencies============djano-twitter uses Django 1.3 and oauth2References==========Some parts of Twython have been adapted to make possible this application. Thanks to Twython creator for share with us so amazing code.Version 0.1.0+ Initial release
Package: django-twitter-bootstrap-form
django-twitter-bootstrap-form=====================Implementation of Twitter Bootstrap to DjangoInstallation-------------```$ pip install django-twitter-bootstrap-form```Add new applications at the end of INSTALLED_APPS in your settings.py.```pythonINSTALLED_APPS = ('django.contrib.auth','django.contrib.contenttypes','django.contrib.sessions','django.contrib.sites','django.contrib.messages','django.contrib.staticfiles','django.contrib.admin','django.contrib.admindocs','twitter_bootstrap_form',)```Usage---------```{% load twitter_bootstrap_form %}{% block content %}<div class="container"><div class="row"><div class="span12"><form method="post" class="form-horizontal">{{ form|as_bootstrap }}</form></div></div></div>{% endblock %}```Features---------1. Supported django-form-utils fieldsets.2. Addional classes for form items.
Package: django-twitterbootstrap-form
Render Django forms using the HTML described by theBootstrap 3.DemoA basic demo is availaible on thissandboxInstallFrom PyPI:pip install django-twitterbootstrap-formFrom Source:python setup.py installAbout Bootstrap 2You can install the 0.2 version of this lib if you still work with old versions
ofBootstrapFrom PyPI:pip install django-twitterbootstrap-form==0.2From Source:git checkout 0.2
python setup.py installRequirements0.4.0Django >= 1.8django-widget-tweaks == 1.30.3.3Django >= 1.4, <= 1.8django-widget-tweaks == 1.3ConfiguringAddwidget_tweaksto yourINSTALLED_APPS.Addgeelweb.django.twitter_bootstrap_formtoINSTALLED_APPSin your settingsLoad the tags adding{% load twitter_bootstrap %}in templatesTemplate filterstwitter_bootstrapThis tag takes 4 optional parameterslayout: Default: “default”. Existing layouts are, default, search, inline,
horizontalsize: Default: “sm”. The column sizes. xs, sm, md, lg.labelcols: Default: 2. Number of columns used for labelsfieldcols: Default: 12 - labelcols. NUmber of columns used for fields.Example:{{ form|twitter_bootstrap }}Advanced usage:{{ form|twitter_bootstrap:"horizontal,md,3,3" }}More examplesDefault form:<form role="form">
    {{ default_form|twitter_bootstrap }}
    <button type="submit" class="btn btn-default">Submit</button>
</form>Search form / Navbar form:<form role="search" class="navbar-form">
    {{ search_form|twitter_bootstrap:"search" }}
    <button type="submit" class="btn btn-default">Search</button>
</form>Inline form:<form role="form" class="form-inline">
    {{ inline_form|twitter_bootstrap:"inline" }}
    <button type="submit" class="btn btn-default">Sign in</button>
</form>Horizontal form:<form role="form" class="form-horizontal">
    {{ horizontal_form|twitter_bootstrap:"horizontal" }}
    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-default">Sign in</button>
        </div>
    </div>
</form>SettingsBOOTSTRAP_REQUIRED_SUFFIXDefault: ‘ *’Required field label suffix.WidgetsTextInputWithButtonWidget to renderbootstrap button addons.Takes one optional argument:btn_attrsA dictionary containing HTML attributes to be set on the button. The button can
be appened or prepended to the input field using theplacementkey set toappendorprepend:from geelweb.django.twitter_bootstrap_form.widgets import TextInputWithButton

field = forms.CharField(widget=TextInputWithButton(btn_attrs={
    'label': 'search',
    'type': 'submit',
    'placement': 'append'
}))TextInputWithAddonForm widget to renderbootstrap addons.Takes three optional arguments:addonThe addon labelplacementthe addon placement,appendorprependsizenothing for a normal size,input-group-lgfor a large input andinput-group-smfor a small input.Example:from geelweb.django.twitter_bootstrap_form.widgets import TextInputWithAddon

field = forms.CharField(widget=TextInputWithAddon(
    addon='.00',
    placement='append',
    size='input-group-lg'
))
Package: django-twitter-feed
django-twitter-feed===================Really simple app to show a Twitter feed in your Django application.It's using a a task to update the feed regularly.Set-up:-------1.Add it to your "INSTALLED_APPS" settings:INSTALLED_APPS = (...'twitter_feed',...)2.Add your twitter account API access in the settings like this:TWITTER_FEED_CONSUMER_PUBLIC_KEY = '...'TWITTER_FEED_CONSUMER_SECRET = '...'TWITTER_FEED_OPEN_AUTH_TOKEN = '...'TWITTER_FEED_OPEN_AUTH_SECRET = '...'3.Run `python manage.py migrate` (if you use South) or `python manage.py syncdb`4.Run the following command lines to test your Twitter credentials and save the initial feeds:* `python manage.py update_tweets`* `python manage.py show_tweets`5.In a template, show the latest 10 tweets for example:{% load twitter_feed_tags %}{% latest_tweets 10 %}6.Customise the template - simply create a copy of `twitter_feed/latest_tweets.html` and edit it.For example:{% load twitter_feed_tags %}<div class="tweets">{% for tweet in tweets %}<div class="tweet"><p>{{ tweet.content|linkify_twitter_status|urlize|url_target_blank }}</p><p class="date">{{ tweet.published_at|date:"F d, Y" }}</p></div>{% endfor %}</div>7.Make sure `python manage.py update_tweets` is regurlalry called.
Package: django-twitter-relations-history
# Django Vkontakte Groups Migration[![Build Status](https://travis-ci.org/ramusus/django-vkontakte-groups-migration.png?branch=master)](https://travis-ci.org/ramusus/django-vkontakte-groups-migration) [![Coverage Status](https://coveralls.io/repos/ramusus/django-vkontakte-groups-migration/badge.png?branch=master)](https://coveralls.io/r/ramusus/django-vkontakte-groups-migration)Приложение позволяет взаимодействовать с историей миграции пользователей в группах Вконтакте через Вконтакте API используя стандартные модели Django## Установкаpip install django-vkontakte-groups-migrationВ `settings.py` необходимо добавить:INSTALLED_APPS = (...'oauth_tokens','vkontakte_api','vkontakte_users','vkontakte_groups','vkontakte_groups_migration',)# oauth-tokens settingsOAUTH_TOKENS_HISTORY = True                                         # to keep in DB expired access tokensOAUTH_TOKENS_VKONTAKTE_CLIENT_ID = ''                               # application IDOAUTH_TOKENS_VKONTAKTE_CLIENT_SECRET = ''                           # application secret keyOAUTH_TOKENS_VKONTAKTE_SCOPE = ['ads,wall,photos,friends,stats']    # application scopesOAUTH_TOKENS_VKONTAKTE_USERNAME = ''                                # user loginOAUTH_TOKENS_VKONTAKTE_PASSWORD = ''                                # user passwordOAUTH_TOKENS_VKONTAKTE_PHONE_END = ''                               # last 4 digits of user mobile phone## Покрытие методов API* [groups.getMembers](http://vk.com/developers.php?oid=-1&p=groups.getMembers) – возвращает список участников группы;В планах:* Перенести реализацию groups.getMembers в приложение [`django-vkontakte-groups`](http://github.com/ramusus/django-vkontakte-groups/);## Примеры использования### Получение среза подписчиков группы>>> from vkontakte_groups.models import Group>>> group = Group.remote.fetch(ids=[16297716])[0]>>> group.update_users()Срез подписчиков доступен через менеджер>>> migration = group.migrations.all()[0]>>> len(migration.members_ids)5277888>>> migration.members_count5277888Подписчики доступны через менеджер>>> group.users.count()5277888