Saravanan666/pypi-org huggingface dataset:
Package: pi-naming
Check the PEP-8 naming conventions.This module provides a plugin forflake8, the Python code checker.(It replaces the pluginflint-namingfor theflintchecker.)InstallationYou can install, upgrade, uninstallpep8-namingwith these commands:$ pip install pi-naming
$ pip install --upgrade pi-naming
$ pip uninstall pi-namingPlugin for Flake8When bothflake8andpep8-namingare installed, the plugin is
available inflake8:$ flake8 --version
2.0 (pep8: 1.4.3, pyflakes: 0.6.1, naming: 0.2)By default the plugin is enabled.These error codes are emitted:codesample messageN801class names should use CapWords conventionN802function name should be lowercaseN803argument name should be lowercaseN804first argument of a classmethod should be named ‘cls’N805first argument of a method should be named ‘self’N806variable in function should be lowercaseChanges0.4.1 - 2016-06-26Note to self: Never do releases before ~0600 or coffee on a Sunday.Fix option parsing for Flake8 3.0 (store parsed value on class)0.4.0 - 2016-06-26Fix integration with Flake8 3.0.0b1Start testing against Python 3.50.3.3 - 2015-06-30Fix bug where ignored names were not properly split into a list.0.3.2 - 2015-06-14Fix bug trying to callspliton a list.0.3.1 - 2015-06-14Fix optparse exception resulting from trying to register an option twice.0.3.0 - 2015-06-14Relaxed N806 checking for use with namedtuplesAdd--ignore-nameswhich allows the user to specify a list of names to
ignore. By default this includessetUp,tearDown,setUpClass,
andtearDownClass.0.2.2 - 2014-04-19Do not requiresetuptoolsin setup.py.  It works around an issue
withpipand Python 3.__new__is now considered asclassmethodimplicitlyRun unit tests on travis-ci.org for python2.6, 2.7, 3.2, and 3.3Add unit tests and support running them with setup.pySupport Python 3.40.2.1 - 2013-02-22Do not requireflake80.2 - 2013-02-22Rename projectflint-namingtopep8-namingFix a crash when function argument is a tuple of tuples0.1 - 2013-02-11First release
Package: pinaps
PiNaps Supporting LibraryThis library provides comprehensive, high level control of thePi-Naps_v0.2Raspberry Pi hat.![Blino Logo](imgs/BlinoLogo_Simple.svg)Quick Startpip install pinapssudo raspi-configSelectinterfacing optionsfrom menu.Selectserialfrom menu.Selectnoto shell use over serial.Selectyesto enabling serial port hardware.sudo raspi-configSelectinterfacing optionsfrom menu.SelectI2Cfrom menu.Selectyesto enable ARM I2C interface.Clone our examples repository somewhere appropriate:git clone https://Blino_Tech@bitbucket.org/blino-dev/pinaps.gitRun an example script - don't forget to plug your electrodes in!cd pi-naps_examples/python meditate.pyAdditional NotesPip InstallingIf you're having trouble using pip install. Try using "python -m pip install --index-urlhttps://pypi.org/simple/example_pkg"
Where the url is the project url and the example_pkg is the package you wish to install.Python Library PathYou might be having a lot of trouble finding where to install the libraries manually. On raspbian it should look something like this:
"usr/local/lib/python2.7/dist-packages"Contacting BlinoIf you'd like to get in contact with us about the PiNaps Library, especially any bugs you come across - Contact Harri atharri.renney@blino.co.uk
Package: pinata
Pinata-PythonUnofficial IPFS python library for interacting withPinataAPIsInstallationRun the following to install:pipinstallPinata-PythonUsageRegister an account onPinataCreate a new api key onapi keys pageCopy yourapi key,api secretandsecret keyto be used below.frompinataimportPinatapinata=Pinata(ap_key,secret_key,access_token)Pin a fileTo upload your file to Pinata, you can either provide:Directory path of the file you want to uploadFile itself as a Byte Stream, eg. If from flask request:file=request.files["file_name"]Finally,frompinataimportPinatapinata=Pinata(ap_key,secret_key,access_token)response=pinata.pin_file(file)print(response)Unpin a fileTo unpin a file, you will need the file's IpfsHash.frompinataimportPinatapinata=Pinata(ap_key,secret_key,access_token)response=pinata.unpin_file(ipfs_hash)print(response)Get all pinsIf you want to get all pins in your account:frompinataimportPinatapinata=Pinata(ap_key,secret_key,access_token)response=pinata.get_pins()print(response)
Package: pinatapy-vourhey
Non-official Pinata.cloud libraryFor more information aboutPinata.cloudgo to the officialdocumentationWarningIt's experimental development for my own purpose. Probably I'll finish error handling, add comments and publish it on PyPi.
But at the moment use it as it is. In the end it's just a hundred of lines =)optionsdoesn't work yetInstallationpip install pinatapy-vourheyUsagefrom pinatapy import PinataPy
pinata = PinataPy(<pinata_api_key>, <pinata_secret_api_key>)Look at the__init__.pyfile to find out about api calls
Package: pinax-announcements
Pinax Announcementspinax-announcementsis a well tested, documented, and proven solution
for any site wanting announcements for it’s users.Announcements have title and content, with options for filtering their display:site_wide- True or Falsemembers_only- True or Falsepublish_start- date/time or nonepublish_end- date/time or nonepinax-announcementshas three options for dismissing an announcement:DISMISSAL_NO- always visibleDISMISSAL_SESSION- dismiss for the sessionDISMISSAL_PERMANENT- dismiss foreverSupported Django and Python VersionsDjango / Python3.63.73.82.23.0
Package: pinax-api
PinaxPinax is an open-source platform built on the Django Web Framework. It is an ecosystem of reusable Django apps, themes, and starter project templates.
This collection can be found athttp://pinaxproject.com.pinax-apipinax-apiis a RESTful API adhering to the JSON API specification.Getting StartedDocumentationContributeSee our How to Contribute (http://pinaxproject.com/pinax/how_to_contribute/) section for an overview on how contributing to Pinax works. For concrete contribution ideas, please see our Ways to Contribute/What We Need Help With (http://pinaxproject.com/pinax/ways_to_contribute/) section.In case of any questions, we would recommend for you to join our Pinax Slack team (http://slack.pinaxproject.com) and ping us there instead of creating an issue on GitHub. Creating issues on GitHub is of course also valid but we are usually able to help you faster if you ping us in Slack.We would also highly recommend for your to read our Open Source and Self-Care blog post (http://blog.pinaxproject.com/2016/01/19/open-source-and-self-care/).Code of ConductIn order to foster a kind, inclusive, and harassment-free community, the Pinax Project has a code of conduct, which can be found herehttp://pinaxproject.com/pinax/code_of_conduct/. We’d like to ask you to treat everyone as a smart human programmer that shares an interest in Python, Django, and Pinax with you.Pinax Project Blog and TwitterFor updates and news regarding the Pinax Project, please follow us on Twitter at @pinaxproject and check out our bloghttp://blog.pinaxproject.com.
Package: pinax-blog
Pinax Blogpinax-blogis a blog app for Django.Featuressupport for multiple channels (e.g. technical vs business)use of Creole (optional) and Markdown as markup formatAtom and RSS feedspreviewing of blog posts before publishingoptional ability to announce new posts on twitterTraditional date based urls or simpler slug-only urls, via configurationControl over opengraph and twitter card meta data per postReview comments per post for multi-author workflowspublic but secret urls for unpublished blog posts for easier reviewSupported Django and Python VersionsDjango / Python3.63.73.82.23.0
Package: pinax-boxes
PinaxPinax is an open-source platform built on the Django Web Framework. It is an ecosystem of reusable Django apps, themes, and starter project templates.
This collection can be found athttp://pinaxproject.com.pinax-boxesAn app for including boxes of admin-controllable content in templates.Running the Tests$ pip install detox
$ detoxDocumentationThepinax-boxesdocumentation is currently under construction. If you would like to help us write documentation, please join our Slack team and let us know! The Pinax documentation is available athttp://pinaxproject.com/pinax/.ContributeSee this blog posthttp://blog.pinaxproject.com/2016/02/26/recap-february-pinax-hangout/including a video, or our How to Contribute (http://pinaxproject.com/pinax/how_to_contribute/) section for an overview on how contributing to Pinax works. For concrete contribution ideas, please see our Ways to Contribute/What We Need Help With (http://pinaxproject.com/pinax/ways_to_contribute/) section.In case of any questions we recommend you join our Pinax Slack team (http://slack.pinaxproject.com) and ping us there instead of creating an issue on GitHub. Creating issues on GitHub is of course also valid but we are usually able to help you faster if you ping us in Slack.We also highly recommend reading our Open Source and Self-Care blog post (http://blog.pinaxproject.com/2016/01/19/open-source-and-self-care/).Code of ConductIn order to foster a kind, inclusive, and harassment-free community, the Pinax Project has a code of conduct, which can be found herehttp://pinaxproject.com/pinax/code_of_conduct/. We ask you to treat everyone as a smart human programmer that shares an interest in Python, Django, and Pinax with you.Pinax Project Blog and TwitterFor updates and news regarding the Pinax Project, please follow us on Twitter at @pinaxproject and check out our bloghttp://blog.pinaxproject.com.
Package: pinax-cart
PinaxPinax is an open-source platform built on the Django Web Framework. It is an
ecosystem of reusable Django apps, themes, and starter project templates.
This collection can be found athttp://pinaxproject.com.
This app was developed as part of the Pinax ecosystem but is just a Django app
and can be used independently of other Pinax apps.pinax-cartpinax-cartis a shopping cart app for Django.
Package: pinax-forums
Pinax Forumspinax-forumsis an extensible forums app for Django and Pinax. It is
focused on core forum functionality and hence is expected to be combined with
other Pinax apps for broader features.Seepinax-project-forumsfor a full Django project incorporating numerous
apps with the goal of providing an out of the box forums solution.Supported Django and Python VersionsDjango / Python3.63.73.82.23.0
Package: pinax-notifications
Pinax Notificationspinax-notificationsis a user notification management app for the Django web framework.pinax-notificationsnotifies users when certain events have occurred and allows
configurable options for how those notifications are received.FeaturesSubmission of notification messages by other appsNotification messages on signing inNotification messages via email (configurable by user)Ability to supply your own backend notification channelsAbility to scope notifications at the site levelSupported Django and Python VersionsDjango / Python3.63.73.82.23.0
Package: pinax-notifications-no-scoping
PinaxPinax is an open-source platform built on the Django Web Framework. It is an ecosystem of reusable Django apps, themes, and starter project templates.
This collection can be found athttp://pinaxproject.com.This app was developed as part of the Pinax ecosystem but is just a Django app and can be used independently of other Pinax apps.pinax-notificationspinax-notificationsis a user notification management app for the Django web framework.
Many sites need to notify users when certain events have occurred and to allow
configurable options as to how those notifications are to be received.FeaturesThe project aims to provide a Django app for this sort of functionality. This
includes:Submission of notification messages by other appsNotification messages on signing inNotification messages via email (configurable by user)Ability to supply your own backends notification channelsHistoryThis app was originally nameddjango-notificationbut was renamed to
bring a common package name likenotificationunder thepinaxnamespace
to avoid conflicts with other like named packages.In addition, we wanted to take the opportunity to rename it to the plural
form,notificationsto be in line with the convention we’ve adopted
across the ecosystem.Running the Tests$ pip install detox
$ detoxDocumentationThepinax-notificationsdocumentation is available athttps://pinax-notifications.readthedocs.org/en/latest/. The Pinax documentation is available athttp://pinaxproject.com/pinax/. If you would like to help us improve our documentation or write more documentation, please join our Pinax Project Slack team and let us know!ContributeSee this blog posthttp://blog.pinaxproject.com/2016/02/26/recap-february-pinax-hangout/including a video, or our How to Contribute (http://pinaxproject.com/pinax/how_to_contribute/) section for an overview on how contributing to Pinax works. For concrete contribution ideas, please see our Ways to Contribute/What We Need Help With (http://pinaxproject.com/pinax/ways_to_contribute/) section.In case of any questions we recommend you join our Pinax Slack team (http://slack.pinaxproject.com) and ping us there instead of creating an issue on GitHub. Creating issues on GitHub is of course also valid but we are usually able to help you faster if you ping us in Slack.We also highly recommend reading our Open Source and Self-Care blog post (http://blog.pinaxproject.com/2016/01/19/open-source-and-self-care/).Code of ConductIn order to foster a kind, inclusive, and harassment-free community, the Pinax Project has a code of conduct, which can be found herehttp://pinaxproject.com/pinax/code_of_conduct/.
We ask you to treat everyone as a smart human programmer that shares an interest in Python, Django, and Pinax with you.Pinax Project Blog and TwitterFor updates and news regarding the Pinax Project, please follow us on Twitter at @pinaxproject and check out our bloghttp://blog.pinaxproject.com.
Package: pinax-referrals
Pinax Referralspinax-referralsprovides a site with the ability for users to
publish referral links to specific pages or objects and then record
any responses to those links for subsequent use by the site.For example, on an object detail page, the site builder would use a
template tag frompinax-referralsto display a referral link that the user of the
site can send out in a Tweet. Upon clicking that link, a response to that
referral code will be recorded as well as any other activity that the site
builder wants to track for that session.It is also possible for anonymous referral links/codes to be generated
which is useful in marketing promotions and the like.Supported Django and Python VersionsDjango / Python3.63.73.82.23.0
Package: pinax-stripe
This app was formerly calleddjango-stripe-paymentsand has been renamed to
avoid namespace collisions and to have more consistancy with Pinax.PinaxPinax is an open-source platform built on the Django Web Framework. It is an
ecosystem of reusable Django apps, themes, and starter project templates.
This collection can be found athttp://pinaxproject.com.This app was developed as part of the Pinax ecosystem but is just a Django app
and can be used independently of other Pinax apps.pinax-stripepinax-stripeis a payments Django app for Stripe.This app allows you to process one off charges as well as signup users for
recurring subscriptions managed by Stripe.
Package: pinax-stripe-light
Pinax Stripe (Light)This app was formerly calleddjango-stripe-paymentsand has been renamed to
avoid namespace collisions and to have more consistency with Pinax.  It has oncemore been renamedtopinax-stripe-light(package name, though it retains thepinax.stripe.*Python namespace).PinaxPinax is an open-source platform built on the Django Web Framework. It is an ecosystem of reusable Django apps and starter project templates.
This collection can be found athttp://pinaxproject.com.This app was developed as part of the Pinax ecosystem but is just a Django app and can be used independently of other Pinax apps.pinax-stripe-lightpinax-stripe-lightis a Django app for integrating Stripe webhooks into your
project.  It also includes from lightweight utilities like template tags to make
working with Stripe a bit easier.ContributeSeethis blog postincluding a video, or ourHow to Contributesection for an overview on how contributing to Pinax works. For concrete contribution ideas, please see ourWays to Contribute/What We Need Help Withsection.In case of any questions we recommend youjoin our Pinax Slack teamand ping us there instead of creating an issue on GitHub. Creating issues on GitHub is of course also valid but we are usually able to help you faster if you ping us in Slack.Code of ConductIn order to foster a kind, inclusive, and harassment-free community, the Pinax Project has a code of conduct, which can be foundhere. We ask you to treat everyone as a smart human programmer that shares an interest in Python, Django, and Pinax with you.Pinax Project Blog and TwitterFor updates and news regarding the Pinax Project, please follow us on Twitter at @pinaxproject and check out ourblog.
Package: pinax-templates
Pinax Templatespinax-templatesprovides semantically-correct templates for use with Pinax apps.Supported Pinax Appsdjango-user-accountspinax-announcementspinax-blogpinax-cohortspinax-documentspinax-invitationspinax-likespinax-notificationspinax-stripSupported Django and Python VersionsDjango / Python3.23.53.64.23.24.2
Package: pinax-templates-modified
Pinax Templatespinax-templatesprovides semantically-correct templates for use with Pinax apps.Supported Pinax Appsdjango-user-accountspinax-announcementspinax-blogpinax-cohortspinax-documentspinax-invitationspinax-likespinax-notificationspinax-stripSupported Django and Python VersionsDjango / Python3.23.53.64.23.24.2
Package: pinax-theme-bootstrap-account
A theme for Pinax 0.9 based on Twitter’s open source Bootstrap framework.Quick StartInclude “pinax-theme-bootstrap” in your requirements file and
“pinax_theme_bootstrap” in your INSTALLED APPS.Make sure both template loaders and staticfiles finders includes
app directories.Site name comes from Sites fixture.Your “site_base.html” should extend “theme_base.html” and should provide
“footer” and “nav” blocks (the latter should just be a ul of li of a links).Your pages should have blocks “head_title” and “body” and should extend
“site_base.html”.The url name “home” should be defined as the homepage.RequirementsThis theme is officially supported when used in conjuction with Pinax 0.9.
If using the theme with Django < 1.4, you will need to install a recent
version of django-staticfiles as we use the{% render %}template tag.FormsThis theme ships with a basic template tag for rendering forms that match
the markup expected by Bootstrap.To style forms, add the following to the top of your template{% load bootstrap_tags %}and include your form using the following markup:<form>
    <fieldset>
        <legend>My Form</legend>
        {% csrf_token %}
        {{ form|as_bootstrap }}
        <div class="form-actions">
          <button type="submit" class="btn btn-primary">Save changes</button>
        </div>
    </fieldset>
</form>Bootstrap includes styles for four types of forms. To change the display of
your form, add one of the following class attributes to your form tag:NameClassDescriptionVertical (default).form-verticalStacked, left-aligned labels over controlsHorizontal.form-horizontalFloat left, right-aligned labels on same line as controlsInline.form-inlineLeft-aligned label and inline-block controls for compact styleSearch.form-searchExtra-rounded text input for a typical search aestheticNavigationTo modify your site’s navigation bar, implement the “nav” block in
your site_base.html using the following pattern:<ul class="nav">
    <li id="tab_first">
        <a href="#">First Link</a>
    </li>
    <li id="tab_second">
        <a href="#">Second Link</a>
    </li>
    <li id="tab_third" class="dropdown">
        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
            Some Dropdown Menu
            <b class="caret"></b>
        </a>
        <ul class="dropdown-menu">
            <li><a href="#">Some Link</a></li>
            <li><a href="#">Another Link</a></li>
        </ul>
    </li>
</ul>Upgrading from Bootstrap 1.xPrevious versions of this theme were based off of Bootstrap 1.x.
The following is a list of changes that you need to be aware of
when upgrading existing sites:The default grid has changed from 16 columns to 12 columns.Bootstrap 2 provides a responsive grid, which we’ve enabled by default.Forms markup has changed slightly, see the example above.Navigation bar markup now requires a class=”nav” on the ul.
Package: pinax-theme-jquerymobile
Quick StartInclude “pinax-theme-jquerymobile” in your requirements file and
“pinax_theme_jquerymobile” in your INSTALLED APPS.Make sure both template loaders and staticfiles finders includes
app directories.Site name comes from Sites fixture.Your “site_base.html” should extend “theme_base.html”nav & subnav blocks“nav” and “subnav” blocks content should be something like:<li><a data-role=”button” data-icon=”home” href=”{% url home %}”>{% trans “Home” %}</a></li>“nav” block appears in header and “subnav” block in footerYour pages should have blocks “head_title”, “body_title”(with same content as “head_title”) and “body” and should extend
“site_base.html”.for each installed app, in app templates in base.html or appname_base.html, you should have:{% block body_title_base %}{% trans “Appname” %} : {% endif %}{% block body_title %}{% endblock %}{% endblock %}somwhere before “body” blockThe url name “home” should be defined as the homepage.by default theme using jquery CDN with latest jquery, jquerymobile.min.js, jquerymobile.min.cssFormsTo style forms, do something like:<form method=”POST” action=””>{% csrf_token %}
<li data-role=”list-divider”>{% trans “Your Form Name Here” %}</li>
<ul data-role=”listview” data-inset=”true”>{{ form.as_ul }}
<li><button data-icon=”arrow-u” type=”submit”>{% trans “Submit Form” %}</button></li></ul></form>Todo / Issuesbuild additional templates for other Pinax-related appsadd settings option to switch jQuery Mobile themes (A,B,C,D,E) in settingsadd settings option to load jQuery Mobile static files from CDN or use local files.
Package: pinboard-to-sqlite
Save data from Pinboard to a SQLite database.Inspired by (and using libraries from)Simon Willison's Dogsheep
project. You're probably going to want to runDatasetteon the resulting db.How to install$ pip install pinboard-to-sqliteAuthenticationRun:$ pinboard-to-sqlite authThis will direct you tohttps://pinboard.in/settings/passwordto find your API
token, which you'll then paste into the terminal. This'll get saved in anauth.jsonfile, which subsequent commands will pick up.To save to a different file, see the-a/--authflag.Fetching postsRun:$ pinboard-to-sqlite posts pinboard.dbWherepinboard.dbis the name of the database you'd like to save posts to.
Note that the API this uses has a rate limit of once per minute, so don't run
this command more than once per minute (I don't know why you would). This
doesn't seem to be enforced fairly loosely, but be careful anyway.
Package: pincelate
PincelateByAllison ParrishPincelate is a machine learning model for spelling English words and sounding
them out, plus a Python module that makes it super simple to do fun and useful
things with the model.A quick example:>>> from pincelate import Pincelate
>>> pin = Pincelate()
>>> pin.soundout("pincelate")
['P', 'IH1', 'N', 'S', 'AH0', 'L', 'EY1', 'T']
>>> pin.spell(["HH", "EH", "L", "OW"])
'hello'Please seethe documentationfor
more information!