Saravanan666/pypi-org huggingface dataset:
Package: bye-wiki
bye_wiki (bw)Say goodbye to your wikis!
Python command-line wrapper to convert MediaWiki pages to other formats withpandocAboutbye_wiki (bw) is a Python command-line script to convert MediaWiki pages into other formats like AsciiDoc and Markdown.This makes it easier to migrate documentation and wiki pages from a MediaWiki server to somewhere else.
Regardless of whatever "somewhere else" means for you, this tool provides a basic conversion for you to work with the information from a new format.
bye_wiki is more or less a fancy wrapper forrequestsandpandoc.How to useNOTE:
You must already havepandocinstalled on your system for this script to work!Once you havepandoc, the easiest way to get started with bye_wiki is to install from PyPI:pipinstall--userbye-wikiThe CLI--helpmenu provides more detailed information about how to use bye_wiki.
Some examples are below:Example 1ConvertEl Ten ElevenWikipedia page to a Markdown document.bw--title"El Ten Eleven"--out~/ete.mdExample 2ConvertFedora_Linux_38_Release_Party_Schedulefrom theFedora ProjectMediaWiki to an AsciiDoc document.bw--urlfedoraproject.org/w--formatasciidoc--title"Fedora_Linux_38_Release_Party_Schedule"--outlicensing.adocExample 3ConvertMusicBrainz Principlesfrom theMusicBrainzMediaWiki to a Markdown document, with the--markdown-headings=atxflag excluded from thepandoccommand:bw--urlwiki.musicbrainz.org--titleMusicBrainz_Principles--outmb-principles.md--atx-offHint:
If you are not sure whether you want--atx-offor not, you do not.
ATX is the more popular format for Markdown documents, but some writers may prefer to not have ATX-style headers.How to contributeSeeCONTRIBUTING.md.LegalLicensed underBSD 3-Clause License.
Package: bygeon
bygeonA simple tool for syncing messages between multiple IMs.InstallationIt is recommended to use pipx to install bygeon.pipx install bygeonPython 3.10 or higher is required.ConfigurationConfiguration fileThe configuration file should be named bygeon.toml and placed in the working directory.Anexampleis provided in the project.SlackNOTE: Slack support is kind of broken now, use with caution.Because bygeon is using WebSocket to receive events, app-level token is required alongside the normal bot token.For more information, refer toSlack's documentation.CQHttpA runninggo-cqhttpinstance is needed to enable CQHttp. Make sure to enable WebSocket and HTTP in go-cqhttp's configuration and configure bygeon accordingly.For how to setup go-cqhttp, refer totheir documentation.
Package: by_get
by_get downloads all image files of a given text file of URLs and places them in
the working directory.Good URLs and the resulting image file names are written to STDOUT. Bad
URLs and their error codes are written to STDERR. Images are saved to the
working directory and named with the SHA256 hash of the (clean) source URL
to avoid overwriting homonymous files from other URLs.Redirects are handled transparently and non-image responses (e.g. HTML from
domain parking servers) are filtered out. Existing connections are re-used
where possible to reduce the overhead of connection negotiation when
repeatedly requesting images from the same server.Quick StartInstalling by_getDownload and install the current by_get package on your system by executing
the following command as administrator:pip3 install by_getPrevious versions will be uninstalled automatically. The installation can be
tested withby_get -hIf everything went fine you should see the program’s help text.First StepsA typical download is started by issuing the following command:by_get my_urls.txtwhereUninstalling by_getTo get rid of by_get simply execute the following command as administrator:pip3 uninstall by_getThe Python utilitypip3will list all currently installed
available versions for selective removal. Proceed similarly with any required
packages (e.g.pytest) if you don’t need them anymore.
Package: bygfiles
pyfilesA Big file collection manager.InstallIn a virtual env:python3-mvenv.venvsource.venv/bin/activatepipinstall-Upipwheelpipinstallgit+git://github.com/jrmi/pyfiles@master# Or any last commit
# Then create your setup.py file before using CLICLICreate asettings.pyfiles where you want to execute the cli with
this configuration for file storage:BACKEND="pyfiles.storages.diskstorage.DiskStorage"BACKEND_OPTIONS={"basepath":"/tmp/tmpdir","base_url":"http://localhost:8000"}And for S3:BACKEND="pyfiles.storages.s3storage.S3Storage"BACKEND_OPTIONS={"access_key":"<you-S3-access-key>","secret_key":"<you-S3-secret-key>","endpoint_url":"<S3-api-endpoint>","region_name":"<region>","bucket_name":"<bucket name>",}Then to store a file:$pyfilesstore<filepath><file.namespace><file.name><version>versionshould respect the format: YYYY.MM.DD-Rev
or anysemverlike X.Y.ZTo list all version of a file:$pyfilesversions<file.namespace><file.name>To search for a file:$pyfilessearch<file.namespace><file.name>[<version-prefix>]version-prefixcan be YYYY or X or YYYY.MM or X.Y or YYYY.MM.DD or X.Y.Z or Latest. Latest by default if missing.Finnaly to delete a file:$pyfilesdelete<file.namespace><file.name><version>To start the web api server:$pyfilesserveWeb APIGETon/search/<namespace>/<filename>[?version=<version>]To get file version download link.Namespaceis a namespace to organise data andfilenameis the file name.
You can optionnaly add a version likelatestor<year>or<year.month>or<major>or<major>.<minor>, …
You get the latest for the specified version.GETon/versions/<namespace>/<filename>To show all avaible file versions.Python APISee pyfiles.storage classes for more informations.You can usepyfiles.storage.get_storage(<backend path>, <options>)to initialize
your storage.FeaturesAn API to download files with rich version selectionList all version of a fileCan be used for CSV or Geojson filesFile can have version like 2018.01.10-01Find file by a part of the version.2018or2018.01RoadmapAllow authentification with private dataHandle file diff between versionsGet the update date of a file to ease cachingAdd a client library and CLILicenseFree software: MIT licenseDocumentation:https://pyfiles.readthedocs.io.CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.1 (2020-12-17)First release on PyPI.
Package: bygone
A python package and command-line tools toLife-logging.InstallationThe easiest way to install bygone is to usepip:bash pip install bygoneOr you can clone this repo and install from a local version of the code:bash git clone git@github.com:thespacedoctor/bygone.git cd bygone python setup.py installDevelopmentIf you want to tinker with the code, then install in development mode.
This means you can modify the code from your cloned repo:bash git clone git@github.com:thespacedoctor/bygone.git cd bygone python setup.py developPull
requestsare welcomed!IssuesPlease report any issueshere.LicenseCopyright (c) 2016 David YoungPermission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
“Software”), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Package: bykml
Introductionbykml is a library to easily read, write and update KML files. 
It's built around using dictionaries to easily replace values and add kml elements.DocumentationCurrently in progess...InstallYou can install the package with ```pip install bykml```DependenciesxmltodictLimitationsDue to the nature of dictionaries of only being able to have one key per value.
This subsequently means that lists have to be used to have multiple items within the same kml tag.
For example if we have a 'Folder' tag which will contain a number of placemarks, 
we cannot have a nested folder with multiple placemarks inside.
This is currently being reviewed for a solution.Changelog1.3.0 (22/01/2024)Updated README1.2.0 (22/01/2024)Updated maintainers1.1.0 (21/01/2024)Initial release
Package: byml
Simple bymlv2 parser + writer + convertersFeatures:Supports v2, v3 and v4 files.These versions are respectively used byThe Legend of Zelda: Breath of the WildandSuper Mario Odyssey.Supports 64-bit node typeswhich are used inSuper Mario Odyssey.Supports both endianness. The little-endian format is used on the Switch.Cross platform.Easy to edit and readable output. No ugly XML. Unobtrusive type information.Quick usageInstall Python 3.6+, then runpip install byml.The C module for PyYAML is currently ahard dependency. If you are on Windows, you don't have to do anything special. If you are on Linux or on macOS, you will need to install libyaml.BYML to YAMLbyml_to_ymlPATH_TO_BYMLPATH_TO_YAMLIf the byml is compressed, this tool will automatically decompress them.To reuse the input file name and only change the extension, use!!.NEW_EXTENSIONas the second argument.Example: to convert to YAML in the same directory as the BYML, usebyml_to_yml path_to_botw/Actor/ActorInfo.product.sbyml !!.ymlYAML to BYMLyml_to_bymlPATH_TO_YAMLPATH_TO_BYMLAdd-bat the end if big endian should be used. For the Wii U version of Breath of the Wild,
you must pass that flag.To reuse the input file name and only change the extension, use!!.NEW_EXTENSIONas the second argument.If the target file extension starts with.s, the tool willautomatically compressthe BYML using yaz0.Note about YAML integers/floats!ubefore an integer indicates that the value is unsigned.In general, you should keep
the signedness unchanged.!lis for signed 64 bit values. (Not used in BotW.)!ulis for unsigned 64 bit values. (Not used in BotW.)!f64is for binary64 floating point values. (Not used in BotW.)Advanced usageBy default, if the destination argument is not specified, output will be sent to stdout,
which is handy for looking at bymls without creating temporary files.Library usageimportbymlparser=byml.Byml(raw_bytes)document=parser.parse()writer=byml.Writer(document,be=big_endian_mode,version=byml_version)writer.write(writable_seekable_stream)LicenseThis software is licensed under the terms of the GNU General Public License, version 2 or later.
Package: bynamodb
High-Level DynamoDB Interface for Python wrapping Low-Level Interface of botoInstallationFrom PyPi:$ pip install bynamodbFrom GitHub:$ pip install git+https://github.com/teddychoi/BynamoDB#egg=bynamodbPatch DynamoDBConnectionSet DynamoDBConnection default host and port.frombynamodb.patcherimportpatch_dynamodb_connectionpatch_dynamodb_connection(host='localhost',port=8000)Model Definitionimportdatetimefrombynamodb.attributesimportStringAttribute,StringSetAttributefrombynamodb.indexesimportGlobalAllIndexfrombynamodb.modelimportModelclassArticle(Model):published_at=StringAttribute(hash_key=True)id=StringAttribute(range_key=True)title=StringAttribute()content=StringAttribute()author=StringAttribute()write_time=StringAttribute(default=lambda:str(datetime.datetime.now()))tags=StringSetAttribute(default=set())thumbnail=StringAttribute(null=True)classAuthorIndex(GlobalAllIndex):read_throughput=5write_throughput=5hash_key='author'range_key='published_at'Put Item & Get ItemArticle.put_item(published_at='2014-12-09',id='1',title='This is the title',content='This is the content',author='Bochul Choi')article=Article.get_item(hash_key='2014-12-09',range_key='1')Get Item from Raw DataYou can get items from raw data retrieved fromboto’s low level APIfromboto.dynamodb2.layer1importDynamoDBConnectionconn=DynamoDBConnection()raw_data=conn.get_item('Article',{'published_at':{'S':'2014-12-09'},'id':{'S':'1'}})article=Article.from_raw_data(raw_data['Item'])Simple Scan & Query# Scan all articles that the title starts with "Title"articles=Article.scan(title__startswith='Title')# Get the total count of matching itemscount=articles.count()# Get the iterator of matching itemsitems=iter(articles)# Query articles that author is "Bochul Choi"articles=Article.query(author__eq='Bochul Choi',index_name='AuthorIndex')# The query result also provide the count method and iteratorcount=articles.count()items=iter(articles)Complex lookups in Scan & Queryfrombynamodb.filterexpsimportContains,GTkeyword='bynamodb'filter_exp=GT('published_at','2014-12-01')&(Contains('title',keyword)|Contains('content',keyword.upper()))# Scan all articles that match the filter expressionarticles=Article.scan(filter_exp)# Query articles that match the filter expression and the author conditionauthor='Bochul Choi'articles=Atricle.query(author__eq=author,filter_builder=filter_exp,index_name='AuthorIndex')Batch Writing & Batch ReadingwithArticle.batch_write()asbatch:batch.put_item({'published_at':'2015-02-23','id':'1','title':'Article 1','content':'This is the content','author':'Bochul Choi'})batch.put_item({'published_at':'2015-02-23','id':'2','title':'Article 2','content':'This is the content','author':'Bochul Choi'})articles=Article.batch_get(('2015-02-23','1'),('2015-02-23','2'),)Changelog0.1.7Skip decoding non-existent attribute.0.1.6FixResultSetto stop fetching items regardless of the limit param.0.1.5Add supportscan_index_forwardandlimitpamareter for Query API.0.1.4SetExclusiveStartKeyas the untransformedLastEvaluatedKey.0.1.3Model.deleteneeds to use encoded key.0.1.2Model.put_itemreturns created item.0.1.1NumberAttributeis only saved as number in db.
Package: byoa
byoabyoa is a command-line utility to Build Your Own Analytic based on metrics and imagery data following your business logic.Createyour own processor from a templateUsethe processor in Docker containers or as a simple Python libraryDeployprocessor in an analytics clusterGetting startedInstallationInstall via from PyPIpip install byoaCreate the processor projectOnce byoa is installed, create a new processor with:byoa initSeveral input values will be asked:nameis the display name of the processorslugis the identifier of the processorrepositoryis the name of the folder the project will be created inAnd voila ! The new project is located in therepositoryfolder. You should be able to:cd repositoryBuilding the processorAs a Python libraryThen build the processor.
As a Python library (wheel):byoa build wheelThe wheel file is located in the dist folder. You can then install the library with:pip install path_to_wheel_file.whlAs a Docker imageIf you would rather build a Docker image:byoa build imageThen run the image with:byoa run image --mode--modedetermines the entrypoint used to run the image. For example,--apiruns the processor as aFastAPIapplication.Deploy the processorDeploying a processor does several things :Registers the processor in an Analytics Cluster (if it is the first deployment)Registers the processor's version to deploy in an Analytics ClusterBuilds and push the processor image in a container registryThe version is set in theVERSIONfile.
You may have to set your Python path (PYTHONPATHenvironment variable) tosrc.Deploy your processor with the following command:byoa deployYou undo the deployment with the command:byoa delete --version VERSIONContactReport a bug or request a feature:IssueFor any additional information, pleaseemail usSocials :LinkedIn,XLicenseDistributed under theMIT License.
Package: byond-topic
byond.topicA python module for sending packets to BYOND servers, for calling/world/Topic()and receiving a response. In the same vein asBYOND.TopicSender,
but in python!InstallationOpen the directory, andpip install .!Exportssend(address, port, query)Sends a Topic() packet to the specified server, and (ideally) returns
the response from the server.address: The address (IP, or DNS) of the target DreamDaemon
instance to send the Topic() packet to.port: Port that the DreamDaemon instance is serving the world onquery: Query string to be sent. This is an urlencoded series of
keys (and, where required, values.)
(...Yeah. it really is just an url query string.)Returns: A tuple containing the response-type, and the response from
the server.If the response-type isTOPIC_RESPONSE_STRING, the response will be
a dict of key-value pairs, parsed out from the URL query-format string
returned from the server.The actual data returned from the server depends on the codebase that
the server is running, and the query that was sent.If the response-type isTOPIC_RESPONSE_FLOAT, the response will be a
floating point numeric value.(sendautomatically opens a socket, transmits the packet, receives
the reply, and then closes the socket again.)queryStatus(address, port)Sends a Topic() packet to the specified server, querying the?statusendpoint. This returns a string of JSON, orNonefor an invalid
response.queryPlayerCount(address, port)Sends a Topic() packet to the specified server, querying the?playingendpoint. This should return the number of
currently-connected players, orNonefor an invalid response.ConstantsTOPIC_PACKET_ID: The signature that identifies a Topic() packet.TOPIC_RESPONSE_STRING: Response-type: stringTOPIC_RESPONSE_FLOAT: Response-type: float/numericExamplesRequesting World Statusimportbyond.topicasTopicresponseType,responseData=Topic.send("localhost",26200,'?status')if(responseType==Topic.TOPIC_RESPONSE_STRING):print(f"We're currently playing a{responseData['mode'][0]}round on{responseData['map_name'][0]}, with{responseData['players'][0]}players!")(The values available in your status response data depend on the
codebase you're querying. Try it and see, first!)
Package: byov
byov: Build Your Own Virtual machineThere are a lot of ways to describe test servers as virtual machines, the
aim of the project is to make it as simple and concise as possible to keep a
complete description under version control.This projects helps maintain throw-away virtual machines (vm) in a simple
and consistent way so they can be re-created from scratch easily and used
for tests.It collects various recipes used to build virtual machines for different
virtualization tools (kvm, nova, scaleway, lxd, docker, ec2) and relies on
cloud-init and ssh access (except for docker).Virtual machines are described in a configuration file capturing their
definition in a few lines and allowing image-based workflows to be defined
by chaining vms definitions.Lacking documentation accessible inline or from the command line, the next
best thing is to look at byov/options.py where all options are documented
individually, grouped by topic (backend (nova, lxd), command (apt, ssh) or
ditribution (debian, ubuntu, amazon)).
Package: byozdemir-sendmessage
byozdemir-sendmessageThis is the library that you can send messages via telegram,discord and email.InstallationUse the package managerpipto install byozdemir-sendmessage.pipinstallbyozdemir-sendmessageUsageimportbyozdemir_sendmessage# Returns 'provider which is you selected'# You can select telegram,discord,mail,skypemessager=byozdemir_sendmessage.getProvider('discord',key="discord key here")#Send Messagemessager.sendMessage('receiver_id','This is a test message')#Help. This method returns how to use the selected provider.messager.help()#TODO```bashsignallinenetgsm
Package: bypassAV
urllib3
Build status on Travis Build status on AppVeyor Documentation Status Coverage Status PyPI version Bountysource Gitter
urllib3 is a powerful, sanity-friendly HTTP client for Python. Much of the Python ecosystem already uses urllib3 and you should too. urllib3 brings many critical features that are missing from the Python standard libraries:Thread safety.
Connection pooling.
Client-side SSL/TLS verification.
File uploads with multipart encoding.
Helpers for retrying requests and dealing with HTTP redirects.
Support for gzip and deflate encoding.
Proxy support for HTTP and SOCKS.
100% test coverage.
urllib3 is powerful and easy to use:import urllib3
http = urllib3.PoolManager()
r = http.request('GET', 'http://httpbin.org/robots.txt')
r.status
200
r.data
'User-agent: *\nDisallow: /deny\n'
Installing
urllib3 can be installed with pip:$ pip install urllib3
Alternatively, you can grab the latest source code from GitHub:$ git clone git://github.com/urllib3/urllib3.git
$ python setup.py install
Documentation
urllib3 has usage and reference documentation at urllib3.readthedocs.io.Contributing
urllib3 happily accepts contributions. Please see our contributing documentation for some tips on getting started.Maintainers
@theacodes (Thea Flowers)
@SethMichaelLarson (Seth M. Larson)
@haikuginger (Jesse Shapiro)
@lukasa (Cory Benfield)
@sigmavirus24 (Ian Cordasco)
@shazow (Andrey Petrov)
👋Sponsorship
If your company benefits from this library, please consider sponsoring its development.Sponsors include:Google Cloud Platform (2018-present), sponsors @theacodes’s work on an ongoing basis
Abbott (2018-present), sponsors @SethMichaelLarson’s work on an ongoing basis
Akamai (2017-present), sponsors @haikuginger’s work on an ongoing basis
Hewlett Packard Enterprise (2016-2017), sponsored @Lukasa’s work on urllib3
Package: bypassmappingproxy
Modifyingsometype.__dict__You can't directly set an attribute of a builtin typeint.real=69TypeError: cannot set 'real' attribute of immutable type 'int'You also can't modify__dict__int.__dict__["real"]=69TypeError: 'mappingproxy' object does not support item assignmentMappingproxy provides a read-only proxy for mapping, which prevents modification. However, you can now bypass that using thebypassmappingproxymodule(it is written inpure python)frombypassmappingproxyasbmpassert(1).real==1bmp.type_set(int,"real",69)assert(1).real==69reference
Package: bypass-ouo
bypass_ouobypass_ouois a Python package that provides a method to bypass the ouo.io URL shortener. It is designed to handle reCAPTCHA challenges automatically and retrieve the original URL.InstallationTo installbypass_ouo, simply use pip:pipinstallbypass_ouoUsageHere's a simple example of how to usebypass_ouo:frombypass_ouoimportbypass_ouooriginal_url=bypass_ouo("http://example.ouo.io")print(original_url)Replace"http://example.ouo.io"with the ouo.io URL you want to bypass.FeaturesAutomatic handling of reCAPTCHA challenges.Simple and intuitive interface.Returns the original URL hidden behind the ouo.io link.Requirementsbypass_ouorequires the following packages:beautifulsoup4curl_cffirequestsContributingContributions tobypass_ouoare welcome! Please read our Contributing Guidelines for details on how to submit pull requests.TestingThe package comes with a series of tests to ensure functionality. To run these tests, navigate to the project directory and run:python-munittestLicensebypass_ouois released under the MIT License.Authorbypass_ouowas created by @killcod3. You can find more about me and my work onGitHub.DisclaimerThis package is for educational purposes only. The author is not responsible for any misuse or for any damage that you may cause using this tool.
Package: bypasssafe
ByPassSafeByPassSafe é uma ferramente para gerenciamento de senhas, contruida em Python, durante a disciplina de Programação Orientada a Objetos 2InstallationpipinstallbypassafeUsagePara executar, siga os seguintes passos:Copycode
Python3-mByPassSafe
Thiswilllaunchthepasswordmanagementtoolandallowyoutoperformvariousoperations.Getting StartedInstale a ferramenta executando o comando pip install bypasssafeExecute a ferramente no CLI com python -m bypasssafe ou use de nossas funcionalidades importando a lib.Siga as instruções para usar a lib de forma correta: Crie uma conta mestre, Acesse-a e cadastre sua conta das principais plataformas pra ter suas senhas sempre a mão, sem precisar decora-las, usando assim senhas muito mais complexas e seguras.ContributingQualquer contribuição é bem-vinda e muito apreciada!!!LicenseLicensa MIT padrão.