Saravanan666/pypi-org huggingface dataset:
Package: python-aws-dataclasses
Python-AWS-Dataclasses [WIP]Python-AWS-Dataclasses provides data-classes for AWS lambda events and other AWS data.
The dataclasses are type-annotated, as to allow for full IDE (code completion / IntelliSense) support.QuickstartInstallation# using pippipinstallpython-aws-dataclasses# or using pipenvpipenvinstallpython-aws-dataclasses.gitUsageAssuming you have a dict of some AWS event (e.g. events passed into yourlambda_handler) use thefrom_event()-method and access the objects via thedot-notation.deflambda_handler(event,context):# Example 1: Lambda asynchronously invoked via SNSsns_event=SnsEvent.from_event(event)print(sns_event.first_record.sns.message)# Example 2: Lambda asynchronously invoked via S3-Events3_event=S3Event.from_event(event)print(s3_event.first_record.s3.bucket.name)ContributionEveryone is free to contribute and submit Pull-Requests.MiscTest using toxtoxTest using setup.pypython setup.py test
Package: python-awsli
AWSLIAmazon Web Services Line InterpreterAuthor:Val Neekman [info@neekware.com, @vneekman ]OverviewA Line Interpreter for Amazon Web Services.How to installeasy_install python-awslipip install python-awsligit clonehttp://github.com/un33k/python-awslicd python-awslirun python setup.pywgethttps://github.com/un33k/python-awsli/zipball/masterunzip the downloaded filecd into python-awsli-* directoryrun python setup.pyHow to useUsageNote:Running the testsTo run the tests against the current environment:python test.pyChangelog0.1Initial releaseLicenseCopyright (c) 2012, Val NeekmanAll rights reserved.Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this
list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Package: python-axel
title: python-axelPythonic implementation of the Axel command-line toolkit. Python-Axel helps you speed up your downloads by downloading multiple chunks of the file at the same time, and merging them together later on.Free software: MIT licenseDocumentation:https://python-axel.readthedocs.io.FeaturesDownload files with multiple concurrent connections in python!CreditsThis package was coded in it's entirety by Aria Bagheri.
Special thanks to programmers that developed Axel cli toolkit, they helped inspire this project.
Also, many thanks to developers of python, and the 'requests' library.
Package: python-backlog
pblA Python package wraps Backlog API V2UsageInstallpipinstallpython-backlogCode snippetimportbase64importjsonfrombacklog.baseimportBacklogAPIdefmain():"""Initialize API Object"""api=BacklogAPI("your-space","your-api-key")"""Project API"""# list project users# https://developer.nulab-inc.com/ja/docs/backlog/api/2/get-project-list/print("# list project users")users=api.project.list_users("SampleProject")print(json.dumps(users,indent=2))"""Wiki API"""# list wikis# https://developer.nulab-inc.com/ja/docs/backlog/api/2/get-wiki-page-list/print("# list wikis")wikis=api.wiki.list("SampleProject")print(json.dumps(wikis[0],indent=2))# get attachment# https://developer.nulab-inc.com/ja/docs/backlog/api/2/get-issue-attachment/print("# get attachment")wiki=[wforwinapi.wiki.list("SampleProject")iflen(w["attachments"])>0][0]attachment=api.wiki.get_attachment(wikiId=wiki["id"],attachmentId=wiki["attachments"][0]["id"])attachment["data"]=base64.b64encode(attachment["data"]).decode()print(json.dumps(attachment,indent=2))if__name__=="__main__":main()See alsoQiitahttps://qiita.com/hassaku_63/items/b9eb2a1c7ecd3c19507dContactTwitter:hassaku_63
Package: python-backpack
Python-BackpackA collection of personal scripts for JSON, File/Folder Operations, String Validation, Custom Errors, Cache and stuff.Jsonjson_load()json_save()jsonMetaFile()jsonUserSettings()Files & Foldersbrowse_folder()create_folders()create_folder()remove_files_in_dir()recursive_dir_copy()replace_strings_in_file()remove_line_from_file()file_is_writeable()String Validationreformat_input_string()begin_or_end_with_numbers()begin_with_number()has_numbers()camelcase_to_snakecase()Custom ErrorsEnvironmentVariableNotFound()ApplicationNotFound()Cachetimed_lru_cacheTest Utilstime_function_decorator()random_string()Others / PatternsSingleton()pip installpip install python-backpack
Package: python-backtesting-engine
BacktestingEngineMATLAB and Python scripts to fetch data from Coinbase and backtest an algorithm on the data. Start by runningmain.mormain.pythen choose what you would like to do. You can test your own algorithm quickly by changing StratFile.m or StratFile.py to anything you'd like.This is Not Financial Advice=======================================================================================================Backtester.m / Backtester.py output these charts/data (More analysis as well as an option to backtest on Brownian Motion will soon be added)Python:MATLAB:
Package: python-backup
python-backupConfiguration file based file backupInstallationpip install python-backupUsagebackup [config-path]Configurationpython-backup assumes the following folder structure:/etc/
  backup.d/
    backup.yml
    sources.d/
      *.ymlFor examples see theetcfolder.Featuresrdiff-backup back endBackup dependency chainsMultithreadedYAML config filespre/post hooks for each backup jobKnown deficienciesInfinity loops from bad dependency chains
Package: python-bada-push
python-bada-push================Python module for push messaging service for Samsung Bada.Usage-----import bada_pushmessage = bada_push.send(url='https://apnortheast.push.samsungosp.com:8088/spp/pns/api/push',app_id='your-app-id',app_secret='your-app-secret',reg_id='registration-id',action='ALERT',alert_message='any-alert-message',app_data='any-data')See doc comments for details.Useful links------------Push Messaging Guide: http://developer.bada.com/article/push-messaging-guideError codes: http://developer.bada.com/article/push-messaging-guide#status_codes_messages
Package: python-bale-bot
python-bale-bot LibraryAn API wrapper for Bale written in Python.IntroductionWhat is Bale?The “Bale” is a messenger-platform for send and receive messages.it’s provides services for developers, and they can send or receive
messages throughbotslike normal users and These services are
provided byweb services(API).What is python-bale-bot?The “python-bale-bot” is a Python language package optimized for
developers to use web services provided by “Bale”.InstallingYou can install or update ``python-bale-bot`` via:PyPi:$ pip install python-bale-bot -UGit:$ git clone https://github.com/python-bale-bot/python-bale-bot
$ cd python-bale-bot
$ python setup.py installQuick StartTo get started, learn how the library works through the library. In
addition, there are examples in the
“Examples”
section of the library.DocumentationThepackage
documentationis the
technical reference for python-bale-bot. It contains descriptions of all
available classes, modules, methods and arguments as well as the
changelog.Contact to Developers
Package: python-ballchasing
Python BallchasingPython wrapper for the ballchasing.com API.Note that project is still early in development and is subject to change.Installationpip install python-ballchasingAPIThe API is exposed via theballchasing.Apiclass.Simple example:importballchasingapi=ballchasing.Api("Your token here")# Get a specific replayreplay=api.get_replay("2627e02a-aa46-4e13-b66b-b76a32069a07")
Package: python-barcode
python-barcodeprovides a simple way to create barcodes in Python.There are no external dependencies when generating SVG files.
Pillow is required for generating images (e.g.: PNGs).Support Python 3.7 to 3.11.DocumentationFull documentation is published athttp://python-barcode.rtfd.io/Licencepython-barcode is licensed under the MIT licence. See LICENCE for details.
Package: python-barcode-spreadSheet
A simple Python tool to generate bar-codes and programmatically insert them into Google Spreadsheets for printing.Pre-requisitesgspread   <https://github.com/burnash/gspread/>pyBarcode  <https://pypi.python.org/pypi/pyBarcode/>Download and get the two plugins up and running before proceeding.UsageImport the script:import BarcodePythonScript as bpsLogging into the spreadsheet client:client=bps.spreadsheet_login(your_google_email, your_google_password)Generating bar-code:bps.BarcodeGen(barcode_type, barcode_gen_value, image_name)> where ‘barcode_type’ is the type of bar-code desired, ‘barcode_gen_value’ is the value to be used with the bar-code and ‘image_name’ is the desired name of the bar-code image PNG file.Types of bar-codes:
Code 39, PZN, EAN-13, EAN-8, JAN, ISBN-13, ISBN-10, ISSN, UPC-AWriting bar-code image to spreadsheet:bps.BarcodeWrite(client, spreadsheet_key, image_url, cell_id, sheet_id)> where ‘client’ is the spreadseet client, ‘spreadsheet_key’ is the key of the spreadsheet found in its URL. For example, in
>       ‘docs.google.com/spreadsheet/ccc?key=0AslEqHKkTxw1dGFSQmpyQnBKWXhYelRRQ3hldjFWS0E&amp;usp=sharing#gid=14’,
>       the key is ‘0AslEqHKkTxw1dGFSQmpyQnBKWXhYelRRQ3hldjFWS0E’.
>       image_url is the absolute url of the image saved above, cell_id is the address of the spreadsheet cell where the bar-code is to be inserted (A21, F34, C6 etc) and sheet_id is the index of the sheet (0 being the first).
Package: python-barn
barnbarn is a Python-based command-line interface (CLI) tool that simplifies package management by providing an intuitive set of commands.
It was inspired by theyarncounterpart from Javascript.
Hence the interface was kept as similar as possible, so that if you are familiar with yarn you should pickup barn relatively fast.NoteBarn is just a pip wrapper, so package resolution is still completely
up to pip and your installed pip versionFeaturesInstall packagesAdd new packagesInitialize new projects with interactive promptsAbility to define script scoped to your project, like you would do with a package.json⚠️ A small invite to cautionBarn is still in development and can be unstable.
More over:It currently only supports python 3.9 and it is only officially tested on 3.9.13It still lacks core feature that hopefully will be added soonHow to useYou can install barn directly with the following pip command:NoteYou are encouraged to install barn globally on your systempip install python-barnYou can initialise an empty directory to be a barn project by running:barn initThis will launch an interactive prompt asking for details such as project name, description, author, etc.In case your project already exists and it's not an empty folder, you can create theproject.yamlfile with the following content:name: my-project
description: Some description
version: 0.1.0
author: your-name or your team name
scripts:
  - start: python ./main.py
  - test: echo "Not implemented"
license: your-licenseInstall project dependenciesbarnorbarn installAdd a new package:barn add <package-name>Remove a package:barn remove <package-name>To setup custom scriptsIn the project.yaml, you can specify bash scripts by adding to the scripts section:scripts:
  - start: python ./main.pyOnce you have your script defined you can run:barn <script-name>In this case:barn startThis will run your script in the context of the project, with the correct python version and pointing to the correct virtual environmentContributingContributions are welcome! Please feel free to submit a Pull Request.
Package: pythonbase
pythonbase provides a skeleton for creating Python projects, complete with Sphinx docs, PyPI integration, etc.Basic setupCopy the directory structure and files of Pythonbase to your project.Make changes to all these files as necessary (e.g., by grep’ing for “pythonbase” and replacing with your project).Runpython setup.py developin your new project to install it on your systemRunpython setup.py releaseto release your project to PyPI. Congratulations, your project can now be installed!(The last step probably requires PyPI registration; fill in details once I get a good test case for a new user).Docs setupNavigate to thepythonbase/docsdirectoryRunsphinx-apidoc-o.-f../pythonbase;make htmlGo up one directory (cd..).Release docs:python setup.py upload_docs--upload-dir=docs/_build/htmlCircleCI setupLog into CircleCI, and build your project.The Pythonbase docs are located ashere
Package: python-base-app
Python Application Frameworkpython_base_appOverviewpython_base_appis a simple framework for Python applications with a web frontend usingFlask. It is used byLittleBrother,LittleBrotherTaskbar, andProxyPing.Change HistorySeehereGitHub StatusContinuous Integration Status OverviewStatusMasterReleaseCircleCITest CoverageSnyk Vulnerabilitynot availableSnyk Package Healthnot availableCodacy Code Qualitynot availableNote: The vulnerability status is derived from the Python PIP packages found inrequirements.txt.Featurespython_base_apphas the following features:(Base) classes for handlingconfiguration,HTTP server (Flask with optional authentication (simple configured admin password and LDAP)),helper classes for Flask WTF,actuator providing a health endpoint,helpers for notification using popups or audio messages,REST access,logging,daemon processeswrapper for pinging other servers with integration ofProxyPingTemplates and generator (Jinja2) for creatingDebian packages for Python applications,PIP packages (build, test, publish),control files for continuous integration platforms CircleCI and GitLab,control file analyzing test coverage using Python modulecoverageCaveatsThe framework is far from perfect. Some major caveats are listed here and/or in the
issue list on GitHub (seehere).
Package: python-base-app-ldap-extension
Python Application Framework Extensionpython_base_app_ldap_extensionOverviewpython_base_app_ldap_extensionis an extension topython_base_appto provide LDAP login functionality.
It is used byLittleBrother.The LDAP functionality used to be included inpython_base_appbut was later extracted since the dependencies of
this module contain PIP packages which need to be compiled.Change HistorySeehereGitHub StatusContinuous Integration Status OverviewStatusMasterReleaseCircleCITest CoverageSnyk Vulnerabilitynot availableSnyk Package Healthnot availableCodacy Code Qualitynot availableNote: The vulnerability status is derived from the Python PIP packages found inrequirements.txt.CaveatsThe extension is far from perfect. Some major caveats are listed here and/or in the
issue list on GitHub (seehere).
Package: python-baseconv
Copyright (c) 2010, 2011, 2012, 2015, 2017 Guilherme Gondim.
All rights reserved.Copyright (c) 2009 Simon Willison.
All rights reserved.Copyright (c) 2002 Drew Perttula.
All rights reserved.Description:Python module to convert numbers from base 10 integers to base X strings and back again.Author(s):Drew Perttula, Simon Willison, Guilherme GondimLicense:Python Software Foundation License version 2Project website:https://github.com/semente/python-baseconvReferences:http://www.djangosnippets.org/snippets/1431/;http://code.activestate.com/recipes/111286/Install and Usage InstructionsYou can usepipto installbaseconvmodule:$ pip install python-baseconvExample usage:>>> from baseconv import base2, base16, base36, base56, base58, base62, base64
>>> base2.encode(1234)
'10011010010'
>>> base2.decode('10011010010')
'1234'
>>> base64.encode(100000000000000000000000000000000000L)
'4q9XSiTDWYk7Z-W00000'
>>> base64.decode('4q9XSiTDWYk7Z-W00000')
'100000000000000000000000000000000000'

>>> from baseconv import BaseConverter
>>> myconv = BaseConverter('MyOwnAlphabet0123456')
>>> repr(myconv)
"BaseConverter('MyOwnAlphabet0123456', sign='-')"
>>> myconv.encode('1234')
'wy1'
>>> myconv.decode('wy1')
'1234'
>>> myconv.encode(-1234)
'-wy1'
>>> myconv.decode('-wy1')
'-1234'
>>> altsign = BaseConverter('abcd-', sign='$')
>>> repr(altsign)
"BaseConverter('abcd-', sign='$')"
>>> altsign.encode(-1000000)
'$cc-aaaaaa'
>>> altsign.decode('$cc-aaaaaa')
'-1000000'License informationSee the file “LICENSE” for terms & conditions for usage, and a
DISCLAIMER OF ALL WARRANTIES.This baseconv distribution contains no GNU General Public Licensed (GPLed)
code, just like prior baseconv distributions.All trademarks referenced herein are property of their respective
holders.DjangoThe Django Project includes a copy of this module ondjango.utils.baseconv.
Package: python-baserow-simple
python-baserow-simpleThis is a simple baserow API wrapper, that mainly does two things:return rows with column names and selections with their labelseasier batch-updates accepting both existing and new rowsInstall it from PyPIpipinstallpython_baserow_simpleUsageImport the library and provide anBaserow API
tokenwith sufficient privileges.frompython_baserow_simpleimportBaserowApiapi=BaserowApi(database_url="URL TO BASEROW DB",token="BASEROW TOKEN")# getting datatable_data=api.get_data(table_id="<TABLE ID>")forentry_id,entry_dataintable_data.items():...# updating entries for a table with a column named 'Name' accepting textdata={"Name":"Hello World",}api.add_data("<TABLE ID>",data,row_id=<ROWID>)# multiple entries can be updated at the same timeentries=[{"id":None,# this will create a new row"Name":"AAA",},{"id":2,# this will update row with baserow id 2"Name":"BBB",},]api.add_data_batch("<TABLE_ID>",entries)DevelopmentRead theCONTRIBUTING.mdfile.
Package: python-bashcomplete
# Overview`python-bashcomplete` takes:* Lists of strings and dictionaries, or* Nested dictionariesand compiles simple, yet functional bashcomplete code for any program thatinvokes bashcomplete.BashComplete() with a list or dictionary.# Setuppip install python-bashcomplete# Example structuresAutocompletes one level:test = ['level1a', 'level1b']Autocompletes two possibilities, both of which have sublevels:test = {'level1a': ['1', '2', '3'],'level1b': ['4', '5', '6']}Autocompletes three possibilities, only two of which have sublevels:test = [{'level1a': ['1', '2', '3']},{'level1b': ['4', '5', '6']},'level1c']Autocompletes only one level. Final string values are ignored:test = {'level1a':{'a'},'level1b':{'b'}}Autocomplete with autogenerated words:test = {'files': ['`ls -1`'],'devices': ['`ls -1 /dev`']}# GenerationAdd the following lines to your command-line program:import bashcompletebashcomplete.BashComplete(test)where `test` is your data structure. This will generate`<filename>.bash_complete` in your current folder using the filename of theexecuting program.If you wish to constrain the autocomplete words to only what has been defined,use:bashcomplete.BashComplete(test, constrain=True)If you wish to create a .bash_complete file with another name use:bashcomplete.BashComplete(test, filename='myprogram.py', output_filename='myprogram_py_cloudversion')# UsageUse the generated `<filename>.bash_complete` by adding:. /path/to/<filename>.bash_completeto your `.profile`. From this point on, any run of `<filename>` will use thegenerated bash completion.
Package: python-bash-utils
Python Bash UtilsAuthor: Tim Santortsantor@xstudios.comOverviewBash color management and log system for Python users.RequirementsPython 3.8.xInstallationYou can install directly via pip:pip install python-bash-utilsUsagelogmsgImport:from bashutils import logmsgFunctions:logmsg.divline()             # ----------
logmsg.header('header')      # ==> header
logmsg.success('success')    # [OK] success
logmsg.error('error')        # [ERROR] error
logmsg.warning('warning')    # [WARNING] warning
logmsg.info('info')          # [INFO] info
logmsg.note('note')          # note

logmsg.prompt('What is your name?)  # [?] What is your name?
lomgsg.confirm('Confirm this')  # [?] Confirm this? (y/n)bashutilsImport:from bashutils import bashutilsFunctions:bashutils.get_os() # OSX, 'Fedora', 'CentOS', 'Debian', 'Ubuntu'

status, stdout, stderr = bashutils.exec_cmd('git -h')

bashutils.cmd_exists('git') # True or FalseIssuesIf you experience any issues, please create anissueon Bitbucket.Version History0.1.0- Initial release0.1.1- Added some new methods0.1.2- Refactor0.1.3- Added Python 3.4.x support0.1.4- Added ability to pass logger instance to log message as well0.1.5- Added Windows output workaround0.1.6- Removed needlessdeclinedmethod, was being overly verbose in output0.2.0- Updated for Python 30.3.0- Simplified code base and now rely oncoloramafor cross-platform terminal color support0.3.1- Added cooler icons for success/error for Linux/Mac0.3.2- Remove unicode chars that cause issues when writing to file0.3.3- Updated packaging method, updated setup.py
Package: python-bayeux
python-bayeuxA bayeux client for python.  Built on gevent and requests.As of version 1.0.0, code using this library must do`python from gevent import monkey monkey.patch_all() `or some other choice of patch_* functions to prepare gevent before importing this library.Python 3 is officially supported.TestsTo run tests, install py.test and pytest-cov in your virtualenv and$ py.test -rw -rs –cov=src/python_bayeux/ –cov-report html:coverageView test coverage results at./coverage.Credits[modern-package-template](http://pypi.python.org/pypi/modern-package-template)[requests](https://pypi.python.org/pypi/requests)[gevent](http://www.gevent.org/)[py.test](http://doc.pytest.org/en/latest/index.html)[pytest-cov](https://pypi.python.org/pypi/pytest-cov)News1.0.0
—Release date: 2021-01-08Breaking change: No more official support for python 2:If you need to run on python 2, stay on the 0.1.x series.Breaking change: This library no longer calls gevent’s monkey patch internally.  Code using this library must do` from gevent import monkey monkey.patch_all() `or some other choice of patch_* functions to prepare gevent before importing this library.  Seehttps://github.com/gevent/gevent/issues/1231#issuecomment-393945383for some context.0.1.7
—Release date: 2018-10-07Raise exceptions in main greenlet0.1.6
—Release date: 2018-10-03Improved error handling0.1.5
—Release date: 2018-09-03Callbacks now wait for resubscribe to finish0.1.4
—Release date: 2018-08-29If connect tells us to handshake again, resubscribe after handshake0.1.3
—Release date: 2018-07-24Fix unknown client error code - thanks for the report @ivanpricewaycom!0.1.2
—Release date: 2018-01-04Fix logging problem with unicode - thanks @christophe-gabard!0.1Release date: 2016-08-26Initial release.