Saravanan666/pypi-org huggingface dataset:
Package: django-tdd
django-tdd==========A Django management command to run tests every time a file is saved.Installation===pip install django-tddThen add django-tdd to your INSTALLED_APPS:INSTALLED_APPS = {...'django_tdd',}Usage===Use the management command in place of `runserver`. The following command will run all of the tests in your project and then start the development server.python manage.py tddWhen you change a file, the development server will stop, all the tests will be run again, and the development server will start again.
Package: django-tds
Your project description goes hereDocumentationThe full documentation is athttps://django-tds.readthedocs.org.QuickstartInstall django-tds:pip install django-tdsThen use it in a project:import tdsFeaturesTODORunning TestsDoes the code actually work?source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install -r requirements_test.txt
(myenv) $ python runtests.pyCreditsTools used in rendering this package:Cookiecuttercookiecutter-djangopackageHistory0.1.0 (2016-08-18)First release on PyPI.
Package: django-teagarden
Teagarden is a django based webapplication used for database planning and modelling during the software development process. With Teagarden, software developers and database architects can create database tables, fields, constraints and relations without specifying the database system they want to use for their project. Teagarden aims to be a database development platform and documenation tool, but can also create the final SQL statements and compares the specific, productive database against the modelling metadata schema.
Package: django-team-ds
django-team_dsdjango-team_ds is a Django app to use for demiansoft.Quick startAdd "team" to your INSTALLED_APPS setting like thisINSTALLED_APPS=[...'team',]코드를 넣고자 하는 위치에 다음을 추가 한다.{% load team_tags %}
{% make_team %}팀멤버는 최대 6인까지 가능하며 1인인 경우는 템플릿이 어울리지 않을수 있다.템플릿을 추가할때 section 명은 team으로 수정해야 북마크링크가 걸릴수 있다.context examplecontext={"theme":"bethany_ds","team":{"title":"닥터","subtitle":"닥터","type":"career",# career or desc"members":[{"name":"김형진","title":"대표원장","desc":"Magni qui quod omnis unde et eos fuga et exercitationem. Odio veritatis perspiciatis quaerat qui aut aut aut","career":["구강악안면외과 국가전문의","삼성서울병원 구강외과 전공","삼성서울병원 치과진료부 외래교수","대한구강악안면성형외과학회 인정의","원광대학교 치과대학 졸업","EAO(유럽임플란트학회) 정회원","대한치과보철학회 정회원","삼성서울병원 교정과 Residency course","Osstem AIC 임상지도의"],"certs":["치과의사전문의자격증","구강악안면성형외과자격증","오스템지도의","삼성서울병원외래교수"],"social":{"twitter":"","facebook":"","instagram":"https://blog.naver.com/mylife2879","linkedin":"https://blog.naver.com/mylife2879",},},{"name":"설정은","title":"부원장","desc":"Magni qui quod omnis unde et eos fuga et exercitationem. Odio veritatis perspiciatis quaerat qui aut aut aut","career":["카톨릭대학교 치아교정학 전공","삼성서울병원 치과진료부 외래교수","부산대학교 치의학과 졸업","대한 치아교정학회 정회원","대한 심미치과학회 정회원","인비절라인(INVISALIGN) 인증의","인코그니토(INCOGNITO) 인증의"],"certs":["치과의사전문의자격증","구강악안면성형외과자격증","오스템지도의","삼성서울병원외래교수"],"social":{"twitter":"https://blog.naver.com/mylife2879","facebook":"https://blog.naver.com/mylife2879","instagram":"","linkedin":"",},}]}}
Package: django-teams
A Django app to support teams of users. This app implements the ideas
mentioned in our blog post,If Your Website is for Teams, Implement
OrganizationsCommercial SupportThis app, and many others like it, have been built in support of many of
Eldarion’s own sites, and sites of our clients. We would love to help you on
your next project so get in touch by dropping us a note atinfo@eldarion.com.
Package: django-teams-community
[![Build Status](https://travis-ci.org/CSDTs/django_teams.svg?branch=master)](https://travis-ci.org/CSDTs/django_teams)[![Updates](https://pyup.io/repos/github/CSDTs/django_teams/shield.svg)](https://pyup.io/repos/github/CSDTs/django_teams/)[![CoverageStatus](https://coveralls.io/repos/github/CSDTs/django_teams/badge.svg?branch=master)](https://coveralls.io/github/CSDTs/django_teams?branch=master)This project aims to provide an easy-to-use method for restricting row-based access to models based on “teams”.
Teams control objects, and can specify who is allowed to read, create, update, and delete objects.This repository originally written by chuck211991, modified for rpi_csdt_community.
Package: djangoteams-community
[![Build Status](https://travis-ci.org/CSDTs/django_teams.svg?branch=master)](https://travis-ci.org/CSDTs/django_teams)[![Updates](https://pyup.io/repos/github/CSDTs/django_teams/shield.svg)](https://pyup.io/repos/github/CSDTs/django_teams/)[![CoverageStatus](https://coveralls.io/repos/github/CSDTs/django_teams/badge.svg?branch=master)](https://coveralls.io/github/CSDTs/django_teams?branch=master)This project aims to provide an easy-to-use method for restricting row-based access to models based on “teams”.
Teams control objects, and can specify who is allowed to read, create, update, and delete objects.This repository originally written by chuck211991, modified for rpi_csdt_community and reused for csdt.org.
Package: django-tegro-money
Django Tegro MoneyDjango API connector forTegro Money's HTTP APIs.Table of ContentsAboutDevelopmentInstallationUsageAboutPut simply,django-tegro-moneyis the lightweight one-stop-shop module for theTegro Money's HTTP APIs.It was designed with the following vision in mind:I wanted to build my own Django-dedicated connector to Tegro Money the system for accepting online payments with very little external resources. The goal of the connector is to provide entrepreneurs and developers with an easy-to-use high-performing module that has an active issue and discussion board leading to consistent improvements.DevelopmentTegro Moneyis being actively developed, and new API changes should arrive onTegro Moneyvery quickly.Tegro Moneyusesrequestsfor its methods, alongside other built-in modules. Anyone is welcome to branch/fork the repository and add their own upgrades. If you think you've made substantial improvements to the module, submit a pull request, so we'll gladly take a look.Installationdjango-tegro-moneyrequires Django 3.2 or higher and Python 3.8 or higher.The module can be installed manually or viaPyPIwithpip:pip install django-tegro-moneyAdddjango-tegro-moneyto theINSTALLED_APPSin yoursettings.py:INSTALLED_APPS=[...,'django_tegro_money',...,]Add an entry to yoururls.py:urlpatterns+=[path('',include('django_tegro_money.urls')),]Run migration:python manage.py migrateUsageThe first before usingdjango-tegro-moneyyou must register withTegro Money.Do it ....Then you must add a store.Do it ....You can find more informationhere.NOTICE! Specify/payment_status/asNotification URL:Notification URL
URL: https://<your_site>/payment_status/Add secret parameters of your store (Shop ID,Secret KEYandAPI KEY) in yoursettings.py(it's best to store secret settings locally):TEGRO_MONEY_SHOP_ID=<ShopID>TEGRO_MONEY_SECRET_KEY=<SecretKEY>TEGRO_MONEY_API_KEY=<APIKEY>CreateTegroMoneyobject:tegro_money=TegroMoney(log_requests=True,timeout=10,max_retries=3,retry_delay=3)Just useTegroMoneymethods:# Create order and get payment# Get data (you can get data from your form)data={"amount":1200,"currency":"RUB","order_id":"test order","payment_system":5,"fields":{"email":"user@email.ru","phone":"79111231212"},"receipt":{"items":[{"name":"test item 1","count":1,"price":600},{"name":"test item 2","count":1,"price":600}]}}# Send request to Tegro Moneytry:result=tegro_money.create_order(**data)# Save order id from tegro money for future usetegro_money_order_id=result['data']['id']# Redirect to payment pagereturnredirect(result['data']['url'])except:pass
Package: django-teledex
django-teledexsupports Python 2.7, 3.3, 3.4 and pypy for Django 1.7 and 1.8.DocsAvailable atdjango-teledex.readthedocs.orgLicenseThis software is licensed under theMIT License. See theLICENSEfile in the top distribution directory for the full license text.AuthorAlex Hayes <alex@alution.com>
Package: django-telegram-bot
CI:PyPI:Docs:Django app to write Telegram bots. Just define commands and how to handle them.Try Permabots: more stable django app for botshttps://github.com/jlmadurga/permabotsNOTE: Just for text messages at this moment.DocumentationThe full documentation is athttps://django-telegram-bot.readthedocs.org.Telegram API documentation athttps://core.telegram.org/bots/apiQuickstartInstall django-telegram-bot:pip install django-telegram-botAddtelegrambotandrest_frameworkto yourINSTALLED_APPS, and run:$ python manage.py migrateAfter creating a bot in Telegram Platform, create at least one bot with django admin. Token is the only
required field. You may need to provided public key certificate for your server.https://core.telegram.org/bots/self-signedHeroku has https and ssl by default so it is a good option if you dont want to deal with that.Add webhook url to your urlpatterns:url(r'^telegrambot/', include('telegrambot.urls', namespace="telegrambot")Define whe file where commands will be defined inurlpatternsvariable, analogue to djangourlsandROOT_URLCONF:TELEGRAM_BOT_HANDLERS_CONF = "app.handlers"Set bot commands handlers is very easy just as definingurlsin django. Module withurlpatternsthat list
different handlers. You canregexdirectly or use shortcuts likecommandorunknown_commandurlpatterns = [command('start', StartView.as_command_view()),
           command('author', AuthorCommandView.as_command_view()),
           command('author_inverse', AuthorInverseListView.as_command_view()),
           command('author_query', login_required(AuthorCommandQueryView.as_command_view())),
           unknown_command(UnknownView.as_command_view()),
           regex(r'author_(?P<name>\w+)', AuthorName.as_command_view()),
          ]To set the webhook for telegram you needdjango.contrib.sitesinstalled,SITE_IDconfigured
in settings and with it correct value in the DB. The webhook for each bot is set when a Bot is saved andenabledfield is set to true.Bot views responses with Telegram messages to the user who send the command with a text message and keyboard.
Compound with a context and a template. The way it is handled is analogue to Django views.  Visits docs for more
detailshttps://django-telegram-bot.readthedocs.org/usage.htmlFeaturesMultiple botsMessage handling definition.AuthenticationText responses and keyboards.Media messages not supported.Only Markup parse mode.Running TestsDoes the code actually work?source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install -r requirements/test.txt
(myenv) $ make test
(myenv) $ make test-allHistory0.1.0 (2016-21-01)First release on PyPI.
Package: django-telegram-bots
App for creating telegram bots, with setting webhook, receive messages and subscribe usersDocumentationThe full documentation is athttps://django-telegram-bots.readthedocs.io.QuickstartInstall telegram_bots:pip install django-telegram-botsAdd it to yourINSTALLED_APPS:INSTALLED_APPS=(...'telegram_bots',...)Add telegram_bots’s URL patterns:fromtelegram_botsimporturlsastelegram_bots_urlsurlpatterns=[...url(r'^',include(telegram_bots_urls)),...]FeaturesTODORunning TestsDoes the code actually work?source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ toxCreditsTools used in rendering this package:Cookiecuttercookiecutter-djangopackageHistory0.1.0 (2018-03-17)First release on PyPI.
Package: django-telegram-error-notifications
Django Telegram Error NotificationsAt first you have to register your bot first before using it.
Go to theBotFatheror find it in telegram,
then create new bot by sending the/newbotcommand.
Follow the steps until you get the username and token for your bot.To install app perform the command:pipinstalldjango-telegram-error-notificationsAdd application to yourINSTALLED_APPS:INSTALLED_APPS=[...,'telegram_error_notifications.apps.TelegramErrorNotificationsConfig']After this you should apply migrations:pythonmanage.pymigrateBy this action you will add two new modelsTelegram BotandError Messages.Then add to thesettings.pysettings for your telegram bot:TELEGRAM_BOT_NAME='<Your Bot Name>'TELEGRAM_BOT_TOKEN='<Your Bot Token>'# If you override BotView and set up another URL provide your URL# Also you can use ngrok utility when you work on local server.# Perform `ngrok http 8000` and take URL with https. For example:# TELEGRAM_BOT_WEBHOOK_URL = https://0adb2add.ngrok.io/bot/web-hook/# Whenever you change this variable don't forget to perform# `python manage.py create_telegram_bot` to reassign a webhookTELEGRAM_BOT_WEBHOOK_URL='https://<your-domain>/bot/web-hook/'TELEGRAM_BOT_PROJECT_NAME='<Name of the current project>'TELEGRAM_BOT_ALLOW_SEND_IN_DEBUG_MODE=FalseTELEGRAM_BOT_NAME- Name of your bot that will be used for creating it into a databaseTELEGRAM_BOT_TOKEN- Token that was given to you when you created your botTELEGRAM_BOT_WEBHOOK_URL- This url will receive requests from your botTELEGRAM_BOT_PROJECT_NAME- This variable is necessary to provide your project name when the error will be sent to your botTELEGRAM_BOT_ALLOW_SEND_IN_DEBUG_MODE- If you want to send errors to your bot inDEBUGmode switch this variable toTrueThen you should specify url in yoururls.py:fromdjango.urlsimportpath,includeurlpatterns=[...,path('bot/',include('telegram_error_notifications.urls')),]To create a bot into a database and create a webhook for it just use the management command:pythonmanage.pycreate_telegram_botThis command will useTELEGRAM_BOT_NAMEvariable to create a botYou should necessarily send from your bot any command.
It's necessary for gettingchat_idand saving it to database.
Make sure you did it.For example you can send/startcommand. You will getI don't know this command.
Don't worry. After this command your bot chat_id will be saved into a database.You can add new commands for your bot. For example, you want to add/startcommand.
Your view that will be responsible for handling telegram commands can be like this:fromtelegram_error_notifications.utilsimportsend_messagefromtelegram_error_notifications.viewsimportBotViewclassMyBotView(BotView):defhandle_command_start(self):ifself.botandself.bot.chat_id:message="<b>I started working</b>"returnsend_message(message,self.bot.chat_id)To handle your own command you should createhandle_command_<command>method.
Package: django-telegram-logging
DJANGO TELEGRAM LOGGINGThis APP was developed on django to provide a simple way of sending error reports of django server via telegram bot APITable of ContentsinstalationconfigurationInstalation:To instalate the appp just execute# this command will install the app$pipinstalldjango-telegram-loggingConfiguration:Add django_telegram_logging to your installed apps.INSTALLED_APPS=[...'django_telegram_logging']Add to your settings.py file the following variables needed. Is important to add this varaibles to your settings.py file
before your logging settings.
To get your personal token from Telegram read theirdocumentation.
By default TELEGRAM_LOGGING_EMIT_ON_DEBUG is set to false, but if you are running your project on DEBUG mode which you
shouldn't, you can set this variable to True to emit the log.TELEGRAM_LOGGING_TOKEN='XXXXXXX:XXXXXXXXXXXXXXXXX'TELEGRAM_LOGGING_CHAT=12345678TELEGRAM_LOGGING_EMIT_ON_DEBUG=TrueFollowdjango's documentationto configure logging, add the
telegram handler to the handlers configuration, and add at least one logger which will use that handler.LOGGING={...'handlers':{...'telegram':{'level':'ERROR','class':'django_telegram_logging.handler.TelegramHandler'},},'loggers':{...'django':{'level':'ERROR','handlers':['console','telegram']}}}
Package: django-telegram-objects
AboutA Django App that creates Telegram objects of a bot in a Postgres Database.
The bot has to have permission to read the messages of the Chat objects where is the member of.RequirementsPython 3.7 to 3.11 supported.Django 3.2 to 4.1 supported.SetupInstall frompip:python-mpipinstalldjango-telegram-objectsAdd it to your installed apps:INSTALLED_APPS=[...,"telegram_objects",...,]Make sure you are using a Postgres database and migrate the tables:pythonmanage.pymigrateSet upIn you project settings:Add your bot token:TELEGRAM_BOT_API_KEYRecommendation: save your bot token a .env fileTELEGRAM_BOT_API_KEY=<your-token>Load your secrets keys and tokens using,
for example, [python-dotenv](https://pypi.org/project/python-dotenv/)
and access to the key usingos.environ.getmethod:TELEGRAM_BOT_API_KEY=os.environ.get("TELEGRAM_BOT_API_KEY")Add models you would like to see in your Django admin:Example:TELEGRAM_MODELS_IN_ADMIN_SITE=("Chat","Message","Document",)How to useOnce the app is set up, you can get updates by running the command:pythonmanage.pyget_updates
Package: django-telemetrics
Django telemetryThis package is used to monitor and manage requestsDetailed documentation is in the “docs” directory.Quick startAdd “django_telemetry” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'django_telemetry',
]Include the telemetry URLconf in your project urls.py like this:path('telemetry/', include('django_telemetry.urls')),Add ‘django_telemetry.middleware.WebTelemetryMiddleware’, middleware in settings.py like this:MIDDLEWARE = [
    ...
    'django_telemetry.middleware.WebTelemetryMiddleware',
]Add second database in you settings.py file like this:DATABASES = {
    'default': {
        ...
    },

    'django_telemetry': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': BASE_DIR / 'db.telemetry.sqlite3',
    }
}Add DATABASE_ROUTERS to settings.py like this:DATABASE_ROUTERS = ['django_telemetry.routers.DatabaseForTelemetry']Runpython manage.py migrate--database=django_telemetryto create the django_telemetry models.Start the development server and visithttp://127.0.0.1:8000/telemetry/
Package: django-telemetry
An event-based reporting system for django – With queryset graphs [More on the graphs in this gist](https://gist.github.com/alexlovelltroy/5993250)!### Not fit for human consumption.
This is a collection of event/reporting code that I’ve used in various places over the years.  It seems useful enough to share, but I haven’t added docs or examples yet.## Event Features
* Event reporting in middleware, decorators, and tasks
* Request recording using middleware, decorators, view Mixins.
* Organizing requests by user, referer, and browser signature where provided
* Optional async recording/reporting using celery## Reporting Features
* Logs in the database with management commands to clear old logs
* Generic queryset graphs (using [flot](http://flotcharts.org) to track _any_ queryset with a date field
Package: django-telethon-authorization
=====Django Telethon Authorization=====Provide REST API for authorizing telethon sessionsQuick start-----------1. Add "django-telethon-authorization" to your INSTALLED_APPS setting::INSTALLED_APPS = [...'django-telethon-authorization',]2. Include django-telethon-authorization URL's in your project urls.py like this::path('telegram-auth/', include('django_telethon_authorization.urls')),3. Add environment variables::* TG_API_ID = 111111* TG_API_HASH = api_hash* TG_SESSION_PATH = /path/to/sessionsProvide `TG_SESSION_PATH` only if you use SQLite as a session backend (Telethon default)4. Run `python manage.py migrate` to create the  models.Way of work------------- When you request a telegram code - `TelegramAuthorization` model will be created.- It will be automatically linked to `request.user`Endpoints------------All endpoints accept JSON payloads.::Usually response has status code `200` with a JSON.::Each response contains boolean `success` property which indicates if request was successfull.::If `success` == `False` -> variable `message` will be present inside JSON response with explanation.::* POST /request_code/* payload: {phone: <phone>}* POST /submit/* payload: {phone: <phone>, code: <code>, password: <password>}* POST /logout/* payload: {phone: <phone>}
Package: django-telethon-multisession
!alt textDjango Telethon MultiSessionA Telethon session storage implementation backed for Django ORM to use telethon in django projects.Tested with:Python 3.7+Django 2.2+Use the following command to install using pip:pip install django-telethon-sessionUsage exampleUsage is very simple, just follow three simple steps belowAdd Django-Telethon-Session to your installed appsFirst add django telethon session to your installed apps in your django project settings:INSTALLED_APPS=[...,'django_telethon_session2',...]Migrate the databaseThen runmigratecommand to create migrations in database.pythonmanage.pymigrateUse custom sessionUse the session indjango_telethon_session.sessionsto initialize telegram client:fromdjango_telethon_session2.sessionsimportDjangoSessionclient=TelegramClient(DjangoSession())Feel free to send pull requests or report issues!
Package: django-telethon-session
!alt textDjango Telethon SessionA Telethon session storage implementation backed for Django ORM to use telethon in django projects.Tested with:Python 3.7+Django 2.2+Use the following command to install using pip:pip install django-telethon-sessionUsage exampleUsage is very simple, just follow three simple steps belowAdd Django-Telethon-Session to your installed appsFirst add django telethon session to your installed apps in your django project settings:INSTALLED_APPS=[...,'django_telethon_session',...]Migrate the databaseThen runmigratecommand to create migrations in database.pythonmanage.pymigrateUse custom sessionUse the session indjango_telethon_session.sessionsto initialize telegram client:fromdjango_telethon_session.sessionsimportDjangoSessionclient=TelegramClient(DjangoSession())Feel free to send pull requests or report issues!
Package: django-templateaddons
django-templateaddons is a set of tools for use with Django’s templates,
template tags and context processors. It provides additional template tags,
context processors and utilities for template tag development.DocumentationRead the HTML documentation online athttp://packages.python.org/django-templateaddons/Read the RestructuredText documentation in the docs/ folder in the source
code.CodeThe project page ishttp://bitbucket.org/benoitbryon/django-templateaddons.Credits and licenseThis application is published under the BSD license. See LICENSE.txt and
AUTHORS.txt for details.
Package: django-templateaddons2
django-templateaddons is a set of tools for use with Django’s templates,
template tags and context processors. It provides additional template tags,
context processors and utilities for template tag development.LinksHTML documentationBrowse the HTML documentation online athttp://packages.python.org/django-templateaddons2/RestructuredText documentationRead the RestructuredText documentation in the docs/ folder in the source
codeSource code repositoryFollow the project on GitHub athttps://github.com/maxvyaznikov/django-templateaddons2PypiThe project is known as “django-templateaddons” in the Python package index.
Seehttp://pypi.python.org/pypi/django-templateaddons2Credits and licenseThis application is published under the BSD license. See docs/LICENSE.txt for
details.
Package: django-templateaddons3
A fork ofhttps://bitbucket.org/benoitbryon/django-templateaddons/srcdjango-templateaddons is a set of tools for use with Django’s templates,
template tags and context processors. It provides additional template tags,
context processors and utilities for template tag development.LinksHTML documentationBrowse the HTML documentation online athttp://django-templateaddons3.readthedocs.io/en/latest/RestructuredText documentationRead the RestructuredText documentation in the docs/ folder in the source
codeSource code repositoryFollow the project on GitHub athttps://github.com/django-templateaddons/django-templateaddons3/PypiThe project is known as “django-templateaddons” in the Python package index.
Seehttp://pypi.python.org/pypi/django-templateaddons3Credits and licenseThis application is published under the BSD license. See docs/LICENSE.txt for
details.