Saravanan666/pypi-org huggingface dataset:
Package: pybotman
PyBotmanPython Botman API WrapperWritten by FlowelcatIntroductionThis library provides a pure Python interface for the Botman API. It works with Python 3+.Botman API provides bot control features along with providing some methods for fetching data from bot's database.InstallingYou can install pybotman using:$pipinstallpybotmanUsingfrompybotmanimportBotmanApibotman=BotmanApi("https://example.com/v1/","some_token")print(botman.get_api_status())
Package: pyboto
pybotoWrapper for commonly used boto3 when working with data stored in AWS S3.InstallSetupBe sure to set up your AWS authentication credentials. You can do so by using the aws cli and runningpip install awscli
aws configure
More help on configuring the aws cli herehttps://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.htmlSimple Usageimport pyboto

boto_obj = pyboto.Boto('us-east-1')
result = boto_obj.get_keys('myBucket', 'myKeyPrefix')
print(result)

df = boto_obj.get_csv_as_df('myBucket', 'myKey', sep=',')Full Usageboto_obj.get_keys('myBucket', 'myKeyPrefix')

boto_obj.get_csv_as_df('myBucket', 'myKey', sep=',', skiprows: int, encoding: str, dtype, column_name)

boto_obj.get_file('myBucket', 'myKey')

boto_obj.get_excel('myBucket', 'myKey', engine: str)

boto_obj.put_df('myBucket', 'myKey', pandas_dataframe, header: bool, index: bool, sep=',')

boto_obj.put_file(bucket='myBucket', key='myKey', file_or_buffer=contents)

boto_obj.put_excel('myBucket', 'myKey', pandas_dataframe, header: bool, index: bool):Note
Package: pybots
PyBotsCreate your robot clients with Python.This library aims to quickly write client bots for communicating with remote hosts in a standardized way using context managers. It implements a few bots for some common protocols (HTTP, JSON, IRC, ...) and for communicating with specific applications (Shodan, Censys, HaveIBeenPwned?, RootMe, RingZer0, ...).pipinstallpybotsUsageEach bot class is implemented as a context manager and has a logger attached. It can thus be instantiated in a clear and straightforward way. Here is an example:frompybotsimportTCPBotwithTCPBot("remote_host",1234)asbot:data=bot.send_receive("Hello!")# do something with dataNote that, if a bot is used behind a proxy, it will use system's proxy settings. This can be bypassed by usingno_proxy=Truewhile instantiating the bot.withTCPBot("LAN_host",1234,no_proxy=True)asbot:# ...Supported BotsGeneric PurposeAll the following bots use the same interface providing uniformized logging.NameDescriptionHTTPFor browsing and parsing a Web page with BeautifulSoupIRCFor connecting to an IRC server on a given channel with a given nicknameJSONFor dealing with a JSON APITCPFor opening a TCP socketCTF PlatformsEach of these bots is aimed to parse inputs from a challenge and to send the answer computed in the context of the bot to the target website for retrieving the flag.NameDescriptionRingZer0Web bot for all kinds of challengesRootMeIRC bot for programming challengesZSISWeb bot for progrmming challengesSecurity ServicesThese bots are built upon an API layer that defines corresponding interfaces to the online services' functionalities as described in their documentation. The bots implement common operations that may involve multiple calls to the online services' API.NameDescriptionCensysJSON bot that checks for IP's and domainsGhost ProjectWeb bot that checks for emailsHaveIBeenPwned?JSON bot that checks for emails and passwordsHaveIBeenSold?JSON bot that checks for emailsNuclear LeaksWeb bot that checks for emails and domainsShodanJSON bot that checks for IP'sUtility ServicesNameDescriptionGitWeb bot that can retrieve a Git repositoryPostBinWeb bot that can perform Bin operationsExamplesReal-Life ProjectsBots Scheduler(usesShodanBot,HaveIBeenPwnedBot,GhostProjectBotand a few others)CTFHacky Easter 2017 (22 & 24)Hackvent 2017 (Day 06 & 10)RingZer0 / Coding (13 & 17)Root-Me / Programming
Package: pybotsentinel
PyBotSentinelPyBotSentinel is an API wrapper forBotSentinel. It's simple in functionality as at this point,
it only provides you a rating, and the description of what that rating means to
BotSentinel.RequirementsThis requires Python 3.6 and above, and was built on Python 3.8. It requires
requests, ScraPyInstallationI recommend you install this via pip3 (PyPi)$pip3installpybotsentinelGetting Started and Finishedimportpybotsentinelquery=pybotsentinel.PyBotSentinel()rating=query.get_bot_rating('realdonaldtrump')>>>rating[True,30,'Moderate','Our analysis has concluded realdonaldtrump exhibits moderate tweet activity and is not a trollbot account.']TroubleshootingIf you end up getting an occasional 403 while querying, it's most likely due to a race condition
as a result of making the GET request to the page to get the one-time-key
for BotSentinel's backend API, the next key generates before the POST call is made,
the POST call to the API is made, and the API returns a JSON object of {'success': False,
'bot_rating': 'INCORRECT_DATA'} with a HTTP status code code of 403. If a
subsequent query is made for the same user, it will succeed and return the user's bot
rating.
Package: py-bot-starter
py-bot-starterA Telegram bot framework to implement and deploy a bot in minutesInstallationInstall the latest version ofpy-bot-starterwith Pip:pipinstallpy-bot-starterGetting started with sample projectsYou can find a collection of sample projects you can use to learn more aboutpy-bot-starter's features or as a
template for your own bot project. Check outSample Projects hereContributors ✨Thanks goes to these wonderful people:Diogo KuiaskiAndrea CeccatoLicenseMIT License
Package: pybotter
Pybotter: Program Automation Python LibraryUsing Python
Currently under developmentInstallationRun the following command to install:pipinstallpybotterUsageA template provided in the package for simplification.frompybotterimportPyBot# Change path of the system#os.chdir(os.path.dirname(os.path.abspath(__file__)))# (**) Type the exact name of the windowwindow_name="Title of the target window"# Show list of windows#PyBot.list_windows()# Debug mode: show screen shot of the target windowdebug=None#debug = 'debug'# (**) Initialise the botbot=PyBot(window_name,debug)# (**) Add needle images first@bot.variablesdefadd_variables():#bot.add_image("IMAGE_NAME", "IMAGE_PATH")pass# (**) Add bot actions that run during the main loop@bot.mainloopdefbot_run():pass# Resize the target window#bot.resize(640,380)# (**) Initiate adding variables, MUST RUN THIS BEFORE THE MAIN LOOPadd_variables()# (**) Run the botbot_run()Sound effects obtained fromhttps://www.zapsplat.com
Package: pybotterfly
DescriptionBuild multi-messenger chatbots with ease using our scalable Python framework, designed to simplify listener integration for various platformsInstallationViaGitHubpipinstallgit+https://github.com/Ninzalo/PyBotterfly.gitViaPyPIpipinstallpybotterflyExample usageExampleConfiguration documentationConfigurationReply creation documentationReply creation
Package: pybov
Aboutb3is a Python library that allows extracting data provided by B3.
The library was designed to be part of a software for analysis of public
companies, although it can be used on its own for other purposes.What is B3?B3 is the Brazilian stock exchange. Among its responsibilities is buying
and selling securities, such as stocks and stock options.Note that, as B3 is concerned with market data, it is beyond its scope to
store or provide financial data from publicly-held companies, such as the
balance sheet and the income statement. Such financial data is the responsibility
of CVM, and its automated handling is possible with the librarycvm.UsageTo retrieve online information of companies:>>>importb3>>>co=b3.company_detail('1023')>>>co.company_name'BCO BRASIL S.A.'>>>co.cnpj'00000000000191'>>>co.company_code'BBAS'To extract historical quotes:importb3withb3.historical_quotes_reader('path/to/COTAHIST.txt')asreader:forbulletininreader:print(bulletin)Disclaimerb3is an open-source library that has no connection or affiliation with
B3. The library uses the public API from B3's website and was created solely
for educational purposes. Read B3'sTerms of Usefor
details about your rights to use their information.
Package: pybovespa
pybovespaThe BM&FBOVESPA (in full, Bolsa de Valores, Mercadorias & Futuros de São Paulo) is a stock exchange located at São Paulo, Brazil.pybovespa is a basic and simple library to get official BM&FBOVESPA stock values.Installing or updatingJust run:# pip install -U pybovespaShow-me an example, I need code!15-minute delayed infoWhen you make a request, 15-minute-old information is retrieved. You can check the date and time withstock.time. Example:#!/usr/bin/env python3

from pybovespa.bovespa import *
from pybovespa.stock import *

bovespa = Bovespa()
stock = bovespa.query("PETR3")
print(stock.cod, stock.name, stock.last)The output should be something like this:PETR3 PETROBRAS ON 24,24It is possible to make only one request for many stocks:stocks = bovespa.query("PETR4", "VALE5", "OGXP3")
for stock in stocks.values():
    print(stock.cod, stock.last)

stock_vale = stocks["VALE5"]Historical stock dataUnfortunately, BM&FBovespa does not allow the distribution of their data. However, it is very simple to download them using this library:bovespa = Bovespa()
bovespa.download(dst="/tmp/hist", year="2012", overwrite=True)To download data of all available years:bovespa.download_all(dst="/tmp/hist", overwrite=True)
Package: pybow
pybowpybow is a Python library collecting calculation methods related to archery.Purposepybow aims to (eventually) be a comprehensive collection of tools for archaeologists, data scientists, and maths-headed archery and bowyery enthusiasts.To this end, pybow provides thepb.Bowobject as a convenient way to describe bows by their measurements and bundled metadata, as well as implementations of analysis methods from scientific literature for easy reuse.Eventually, the collection of methods shall be expanded, and complemented by tools helping in bow construction.Implemented Methods and ToolsAnalysis method of Beckhoff, from Beckhoff, K 1964, ‘Der Eibenbogen von Vrees’, Die Kunde N.F. 15 pp. 113–125Analysis method of Junkmanns, from Junkmanns, J 2013,Pfeil und Bogen, Verlag Angelike Hörnig, Ludwigshafen.Code & Installationpybow’s source code is hosted at this Gitlab repo:https://gitlab.com/gekitsu/pybowInstallation from PyPi via pip:$pipinstallpybowDependenciespybow has the following dependencies:numpypandasruamel.yamlDocumentationpybow documentation is hosted on readthedocs:https://pybow.readthedocs.io/Changelog0.1.0: Initial release.thepb.Bowobject for describing bows in Pythonanalysis methods:beckhoff1964()&junkmanns2013()
Package: pyboxes
Pybox💪 AimsSimple: A simple and easy to use Python library for many annoy task.Easy to use: Easy to use, you can use it in your project.Extendable: Extendable, you can add your own function easily.🤩 FeaturesA simple and easy to download files by sharing linkA simple and easy to send message to Slack ChannelDownload multiple files asynchronouslyDownload Books from Zlib in terms of Title Will come!🧐 InstallationYou can installPyboxviapipfromPyPI:$pipinstallpyboxes📖 Usage$pybox-hPlease see the Command-line ReferenceUsagefor details.🚌 Take a tourA simple and easy to download files by sharing linkDownload single file by sharing link of Google Driver.$pyboxgfile<url><name><size>Download files in a folder by client id and folder id.$pyboxgfolder<client_id><folder_id>Detailed usage please seeUsage DocumentationA simple and easy to send message to Slack Channel$pyboxslack[options]<webhook-url>Detailed usage please seeUsage DocumentationDownload multiple files asynchronouslyDownload single file.$pyboxasyncdown-u<url>-o<output>Download multiple files.$pyboxasyncdown-f<url-file>Detailed usage please seeUsage Documentation🤗 ContributingContributions are very welcome. To learn more, see theContributor Guide.🤖 LicenseDistributed under the terms of theMIT license,Pyboxis free and open source software.🤔 IssuesIf you encounter any problems, pleasefile an issuealong with a detailed description.🥳 CreditsThis project was generated from@cjolowicz'sHypermodern Python Cookiecuttertemplate.
Package: pyboy
If you have any questions, or just want to chat,join us on Discord.It is highly recommended to read thereportto get a light introduction to Game Boy emulation.But do be aware, that the Python implementation has changed a lot. The report is relevant, eventhough you want to contribute to another emulator, or create your own.If you've read the report and want more explicit details, have a look at thePan Docs.If you are looking to make a bot or AI, you can find all the external components in thePyBoy Documentation. There is also a short example on our Wiki pageScripts, AI and Botsas well as in theexamples directory. If more features are needed, or if you find a bug, don't hesitate to make an issue here on GitHub, or post on ourDiscord channel.Rewind any gameBeat world recordsTrain with Reinforcement LearningInstallationThe instructions are simple if you already have a functioning Python environment on your machine.Install PyBoy usingpip install pyboy(add--userif your system asks)If your system isn't supported bypysdl2-dll, you'll need to install SDL2 from your package manager.If you need more details, or if you need to compile from source, check out the detailedinstallation instructions. We support: macOS, Raspberry Pi (Raspbian), Linux (Ubuntu), and Windows 10.Now you're ready! Either use PyBoy directly from the terminal$ pyboy file.romor use it in your Python scripts:frompyboyimportPyBoypyboy=PyBoy('ROMs/gamerom.gb')whilenotpyboy.tick():passpyboy.stop()Or using the context manager:frompyboyimportPyBoywithPyBoy('ROMs/gamerom.gb')aspyboy:whilenotpyboy.tick():passWhen the emulator is running, you can easily accessPyBoy's API:frompyboyimportWindowEventpyboy.send_input(WindowEvent.PRESS_ARROW_DOWN)pyboy.tick()# Process one frame to let the game register the inputpyboy.send_input(WindowEvent.RELEASE_ARROW_DOWN)pil_image=pyboy.screen_image()pil_image.save('screenshot.png')The Wiki shows how to interface with PyBoy from your own project:Wiki.ContributorsThanks to all the people who have contributed to the project!Original DevelopersAsger Anders Lund Hansen -AsgerLundHansenMads Ynddal -baekalfenTroels Ynddal -troelsyGitHub CollaboratorsKristian Sims -krs013Student ProjectsRewind Time:Jacob Olsen -JacobO1Link Cable:Jonas Flach-Jensen -thejomasGame Boy Color:Christian Marslev and Jonas Grønborg -CKukeandkaff3ContributeAny contribution is appreciated. The currently known problems are tracked in the Issues tab. Feel free to take a swing at any one of them.For the more major features, there are the following that you can give a try. They are also described in more detail in theproject list in the Wiki:Link Cable(Experimental)AI - use thebotsupportor game wrappers to train a neural network(Experimental)Game Wrappers - make wrappers for popular gamesIf you want to implement something which is not on the list, feel free to do so anyway. If you want to merge it into our repo, then just send a pull request and we will have a look at it.
Package: pybozocrack
PyBozoCrack 3 is a depressingly effective MD5 password hash cracker with almost zero CPU/GPU load written in Python 3. Instead of rainbow tables, dictionaries, or brute force, PyBozoCrack simplyfindsthe plaintext password. Specifically, it googles the MD5 hash and hopes the plaintext appears somewhere on the first page of results.Free software: BSD licenseIt works way better than it ever should. Go ahead and try.How?Basic usage:$ pybozocrack -f my_md5_hashes.txtOr:$ pybozocrack -s fcf1eed8596699624167416a1e7e122eThe input file has no specified format. BozoCrack automatically picks up strings that look like MD5 hashes. A single line shouldn’t contain more than one hash.Example with output:$ pybozocrack -f example.txtLoaded 5 unique hashesfcf1eed8596699624167416a1e7e122e:octopusbed128365216c019988915ed3add75fb:passw0rdd0763edaa9d9bd2a9516280e9044d885:monkeydfd8c10c1b9b58c8bf102225ae3be9eb:12081977ede6b50e7b5826fe48fc1f0fe772c48f:1q2w3e4r5t6y$ pybozocrack -s fcf1eed8596699624167416a1e7e122efcf1eed8596699624167416a1e7e122e:octopusWhy?To show just how bad an idea it is to use plain MD5 as a password hashing mechanism. Honestly, if the passwords can be cracked withthis software, there are no excuses.Who?BozoCrack was originally written by Juuso Salonen (http://twitter.com/juusosalonen).PyBozoCrack was rewritten in Python by Henrique Pereira (http://ikke.top).History3.0.2 (2021-01-16)Standalone script should work now3.0.1 (2021-01-16)Removed universal wheel3.0 (2021-01-16)Now supports exclusively Python 31.2.2.3 (2014-05-21)Docs now should show 100% on PyPi.Skipped the broken test on PyPy.1.2.2.2 (2014-05-08)Fixed typo.1.2.2.1 (2014-05-08)Fixed typo.1.2.2 (2014-05-08)Cracked hashes are now storedError message if no cracked hashes are found1.2.1 (2014-05-07)Bugfix1.2.0 (2014-05-05)Stand-alone file. Works on windows.1.0.2 (2014-05-02)Increased test coverage1.0.1 (2014-05-01)Trying to fix problems with Travis1.0 (2014-05-01)First release on PyPI.
Package: pybpg400-tspspi
pybpg400: Unofficial Python library to control and access the INFICON BPG400 pressure gauge (via RS232C)This is an unofficial Python library (and a mini CLI utility)
to control and access the INFICON BPG400 pressure gauge via
it's RS232C serial port.InstallationThis library (and the CLI utility) is provided via PyPi:pip install pybpg400-tspspiUsageMore elaborate examples can be found in theexamplesfolder.The device can be simply opened via context management routines (in
addition to imperativeconnect()anddisconnect()routines):from bpg400.bpg400 import RPG400_RS232
from labdevices.pressuregauge import PressureGaugeUnit

with BPG400_RS232("/dev/ttyUSB0") as pg:
	# Perform your operationsThe library starts an background thread that continuously
parses the datastream received by the BPG400 pressure gauge.
To query the latest pressure reading one can simply use
theget_pressuremethod. This method also allows one to
supply the unit - it defaults tombar:print(pg.get_pressure())orprint(pg.get_pressure(PressureGaugeUnit.TORR))One can simply change the display unit using theset_unitmethod:pg.set_unit(PressureGaugeUnit.MBAR)
pg.set_unit(PressureGaugeUnit.TORR)
pg.set_unit(PressureGaugeUnit.PASCAL)The CLI utilityThe package also comes with a simple command line utility
calledbpg400.One can for example simply query the current pressure
using a single shell command:bpg400 --port /dev/ttyU0``` queryUsage: bpg400 [OPTIONS] command

Controls or queries the BPG400 pressure gauge via a RS232C
serial interface.

Options:

	--port PORTNAME
		Specifies the serial port device to use
	--json
		Sets output format to JSON for further processing
	--debug
		Run in debug mode (dump RX and TX packets)

Supported commands:

	query
		Query the current pressure in the set unit
	setmbar
		Set display unit to millibar
	settorr
		Set display unit to torr
	setpa
		Set display unit to pascal
	degas
		Enable degas mode
	nodegas
		Stop degas mode
	sleep N
		Sleep N seconds before performing next command
Package: pybpjs
pybpjsAplikasi Python yang digunakan untuk menangani proses dekripsi respon data dari bridging BPJS VClaim v2.0 (Encrypted Version). Support VClaim v1 / v1.1 dan Antrean RS.KebutuhanUtamaPythonPackagelzstringrequestspycryptodomeVirtual EnvironmentBagian ini opsional tetapi sangat disarankan untuk membuat virtual environment supaya ketika ada update package yang tidak support / bermasalah tidak akan mengganggu aplikasi lain.Membuat Virtual Environmentpython-mvenvvirtualenvataupython3-mvenvvirtualenvAktivasi Virtual EnvironmentWindowsvirtualenv\Scripts\activateBashsourcevirtualenv/bin/activateInstalasipipinstallpybpjsSumber Dayahttps://dvlp.bpjs-kesehatan.go.id:8888/trust-mark/portal.htmlLisensiAplikasi ini open source dengan lisensiMIT.
Package: pybpod-gui-plugin-emulator
Emulator for PyBpod to work with the Bpod’s State Machine ports.At the moment, the Emulator for PyBpod module works by overriding inputs and outputs on a running task protocol.
This will interact directly with a running State Machine in Bpod. As such, any event or state change that
would occur naturally from any of those input or output changes, will occur.Free software: MIT licenseCurrent FeaturesAllows to override the Port components (i.e., LED, Poke and Valve)BNC In and Out value overrideWire inputs and outputs override for Bpod 0.7Override Serial message for the connected modules (sends a bytes message)Messages are sent while the State Machine is running, triggering the events
and/or state changes as if the values were coming from the real inputs/outputs.InstallationPlease see Installation page.Documentationhttps://pybpod-gui-plugin-emulator.readthedocs.io/DevelopmentTo run the all tests run:toxNote, to combine the coverage data from all the tox environments run:Windowsset PYTEST_ADDOPTS=--cov-append
toxOtherPYTEST_ADDOPTS=--cov-append toxChangelog0.1.5 (2020-02-10)Renamed ‘Skip all trials’ button to ‘Stop’Renamed ‘Stop trial’ button to ‘Skip trial’0.1.4 (2019-11-07)Add task kill button to UIReordered the “Test Protocol IO” button in the UI0.1.3 (2019-05-14)Fixed override messages not being sent properly on WindowsFix for pause not working0.1.2 (2019-05-13)Fix for README to comply with PyPI support for reStructuredText0.1.1 (2019-05-13)Fix for disappearing board on Setup window0.1.0 (2019-05-03)First release on PyPI.Added support for Bpod version detection and automatic UI adaptation
to the different input/output ports and connected modulesPorts components can be overriden (i.e., LED, Poke and Valve)BNC In and Out value overrideWire inputs and outputs override for Bpod 0.7Override Serial message for the connected modules (bytes message)
Package: pybpsapi
pybpsapi - Python bindings for the BPS Circular APIWhat ispybpsapi?pybpsapiis a Python library that allows you to interact with the BPS Circular API. It is written in Python using the requests library.
This package also features a well maintained and tried and tested circular-checking system to check for new circulars.Installationpybpsapican be installed using pip:pipinstallpybpsapiBuildingTo build the package, you can use the following command:py-mbuildAnd to upload,py-mtwineuploaddist/*ContributingContributions are welcome! Please feel free to open an issue or a pull request on theGitHub repositoryDocumentationThe full documentation for the package can be foundhere.LicenseThis project is licensed under the MIT License - see theLICENSEfile for detailsCurrently maintained byRaj Dave
Package: pybracket
pybracketAdd brackets and good semicolons to PythonInstallationFrom PyPIOn Linuxsudopip3installpybracketOn Windowspip install pybracketFrom GitHubOn Linuxsudopip3installgit+https://github.com/donno2048/pybracketOn Windowspip install git+https://github.com/donno2048/pybracketUsageSeeexample.py(no need for anything except just runningpython3 example.py)Or if you don't want the# coding: bracketsat the beginning you could just runpybracket file.pyorpython3 -m pybracket file.pyP.S version 1.0.0 is more reliable and won't allow using# coding: bracketswithoutpybracket file.pyorpython3 -m pybracket file.py, you should use it.
Package: pybraidz-chunked-iter
pybraidz-chunked-iter - Chunked iteration over tables in.braidzfiles.Example usageSee example usage in the "Chunked iteration ofkalman_estimates" section of
thedocs.DevelopThis will iterate over chunks of the file20201104_174158.braidz, which can be
downloadedhere:maturin develop && python examples/simple.py 20201104_174158.braidzBuild a Python wheelmaturin build
Package: pybraille
PyBrailleA simple library in Python to convert text to 6-dots pattern braille (Grade 1)InstallationRun the following to install the packagepipinstallpybrailleUsagefrompybrailleimportconvertTextprint(convertText("hello"))>>>⠓⠑⠇⠇⠕print(convertText("filename.txt"))#eg: tests/sample.txt>>>⠠⠞⠓⠊⠎⠙⠊⠗⠑⠉⠞⠕⠗⠽⠉⠕⠝⠞⠁⠊⠝⠎⠞⠑⠎⠞⠋⠊⠇⠑⠎⠲TestingThis library needs is tested against python 3.6 and 3.7. Both interpreters need to be available to toxRunning tests:toxorpytestSupportAny python 3.x version should work.