Saravanan666/pypi-org huggingface dataset:
Package: pixiefairy
Pixie Fairy - a Pixiecore API companionPixiefairyis a companion forpixiecorea tool to manage network booting of machines.PixiecoreinAPI modesend a request to an external service for each pxe booting event;pixiefairyis that service, answering to api calls and serving the configured info, like the kernel, the initrd and the command line to boot.Pixiefairyis higly configurable, you can decide which mac-address and which set of parameters to serve to each client.InstallationPixiefairy requirespython >= 3.9It's as easy aspip3installpixiefairyThen you will have available thepixiefairybinaryUsagePixiefairy can be started using thestartcommand. It requires a config.yaml file with a bunch of defaults in order to know how to serve the requests.pixiefairystart-cconfig.yamlConfigurationAn example configuration can be found intoexamples/config.yamllikedefaults:boot:# the kernel to boot intokernel:"file:///root/vmlinuz-amd64"initrd:# the list of initrd files to load at boot-"file:///root/initramfs-amd64.xz"message:""# optional, a boot messagecmdline:""# optional, the command line to bootnet:dhcp:true# use dhcp or send n ip=.... kernel parameters to configure the networkgateway:"192.168.1.0"# the default gateway to send to the requestornetmask:"255.255.255.0"# the netmask to send to requestordns:"8.8.8.8"# default dns serverntp:"192.168.1.0"# default ntp serverdeny_unknown_clients:false# either boot unknown clients or boot only the mac address listed in mapping belowmapping:# optionalaa:bb:cc:dd:ee:ff:# the matching mac addressnet:null# net block, optional, identical to the net block in defaults, overrideboot:null# boot block, optional, identical to the boot block in defaults, overrideDev RequirementsIn order to partecipate to the development you need the following requirementsTaskfilePython >=3.9And bootstrap the local dev environment with:tasksetupThis will setup locally a python virtualenv with all the dependencies, ready to start coding
Package: pixies
PixiesA front-end monkey testing suite based on Python webdriver.Watch out for the flying pixies!UsageQuick startpipinstallpixiesDownloadChrome Webdriver binariy, and add it to the System PATH.importpixiesfrompixies.speciesimportClicker,Scroller,Toucher,Typer,Resizercage=pixies.Cage('https://news.baidu.com',pixieList=[Clicker,Scroller,Toucher,Typer,Resizer])cage.release()Paramsclasspixies.Cage(url,# necessarypixieList=[Clicker,Scroller,Toucher,Typer,Resizer],# optional, all pixie species by defaultweightList=[],# optional, equal weight by defaultbrowser='chrome',# optional, 'safari'|'chrome'|'firefox'stopAtError=True,# optional)methodpixies.Cage.release(length=100# optional, times to run pixies)SpeciesDifferent pixie species do different things to the page.ClickerRandomly click on the page visible areaPrevent navigation automaticallySwitch back immediately when new pages are opennedIdentify clickable objects and focus on themScrollerRandomly scroll to different places of the main pageResizerResize the page randomlyIdentify the max and min size of the page automaticallyTyperGenerates random UTF-8 BMP characters and control keys (such as shift, enter, ESC stc.) and send them to the currently active elementPrevent the page from navigating awayIdentify input objects and send keys to themToucherImitate touch events, supporting path touchingDragger[TODO]
Package: pixilate
pixilateconvert images to true color format using python :bulb:ContentsInstallationRunningTroubleshootLikeContributingAuthorLicenseInstall :sparkles:pip install pixilateRunning :running:pixilate [filepath] [savetofile]ParamTypeDescriptionfilepathpathThe path to the file you want to convertsavetofilebool: 1 or 0if you want to save your output to a file (defaults to 0)Troubleshoot :scream:If the output seems to be some text or the image doesnt seemed to be colored properly you may have a terminal app that does not supportTrue Color, you can find a list of terminal apps that do support it right nowhereand many others working on them.Like :+1:If you found this interesting, leave a star :star:Contributing :books:Contributions welcome; Please submit all pull requests the against master branch.Author :monkey:c00kie17License :page_with_curl:MIT
Package: pixit
pixitLabel and annotate images using matplotlib widgets.Installationpip install pixitUsageImageSetTheImageSetdata structure is derivative of theBunchfrom scikit-learn. It is a dictionary-like object whose keys can be accessed as attributes. Theimageentry of the ImageSet should be a numpy array with images to be displayed using matplotlib.label_imagesThelabel_imagesmethod ofImageSetbrings up a matplotlib GUI for labeling images as one of thelabel_names.frompixitimportdatasetsanimals=datasets.load_animals()print(animals.label_names)# ['elephant', 'giraffe', 'tiger', 'zebra']animals.label_images()annotate_imagesIn development.
Package: pixitsvini
Pix QRCode - PythonVersao:1.0Biblioteca para a geração de codigos QR (BRCode como chamados na documentação do BACEN) a fins de facilitar a exibição para pagamentos ao consumidor.O que é pixPix é o meio de pagamento eletrônico instantâneo, gratuito e com segurança, do Brasil. A iniciação de um Pix para uma pessoa física é gratuita.WikipediaIsenção de responsabilidadeOs QR codes não foram testados aos bancos, sempre antes de transferir verifique se as informações estão corretas. O autor e contribuidores se isenta de qualquer responsabilidade pela exatidão e integridade das informações divulgada.Documentação de implementação BACEN - Banco Central do BrasilManual BRCodeEspecificações técnicas e de negócio do ecossistema de pagamentos instantâneos brasileiroGithub BacenNÃO EXISTE NENHUMA INTEGRAÇÃO COM BANCOSExemplo basicoImporte a biblioteca do pippip install pixqrcodeImporte a classefrom pixqrcode import PixQrCodee defina os parametros como abaixoObrigatorioname = Nome do destinatariomobile (Chave PIX) = Telefone do destinatarioEm Breve mais chavescity = Cidade de remetenteOpcionalamount = Valor a ser enviadoValores serão sempre contados com 3 casas decimais e tem todos os digitos não numericos removidos, exemplos abaixoR$ 1,00 = 100R$ 10,00 = 1000reference_label = Código da transferência. Codigo não obrigatorio mais pode auxiliar em casos como ecommerce e vendas diretas por Pixpix = PixQrCode("Fulano De Tal", "(70) 97070-7070", "Brasilia", "100")Retorno do QRCode e codigo BRCodeseguimos com o objeto de cima definido iremos chamar os metodos e suas funçõesMetodosis_valid()Verifica se todos os campos inseridos são validos e pode seguir com a geração do QRCode. Retorna um valor booleanexport_base64()Retorna direto em formato base64 tipo imagem PNG (Portable Network Grapich) para ser renderizado dentro de uma tag img HTML ou ser transportado por uma API e demais usos.pix.export_base64()

<img src='{pix_image}' alt='qrcode pagamento'/>save_qrcode(folder, filename, **kwargs)pix.save_qrcode("/pixs","pix-fulano")Caso queira você pode salvar o codigo gerado em uma pasta com um nome especifico para ter o codigo.Não precisa especificar o formato do arquivo sempre será PNGPode retornar o valor dentro BufferIO para ser novamente processado.A geração do QRCode é feita com a bibliotecaPillowentão você pode utilizar para deixar seu QRCode ainda mais personalizado passando os parametros por **kwargsgenerate_code()Irá retornar a string com a qual foi gerado o QRCode contendo os valores todos em suas posições como descrito na documentação do BACENExemplosContem mais exemplos para facilitar a sua implementaçãoAPIDockerfile - port 8000ConsoleEm breve mais...Toda contribuição é bem vinda!
Package: pixiv
python-pixiv: Pixiv API client for moe girls.Free software: LGPLv3Documentation:https://pixiv.readthedocs.org.Contribute:https://github.com/kragniz/python-pixivQuickstartInstall python-pixiv:$pipinstallpixivLogin to pixiv:frompixivimportloginpixiv=login('username','password')Save the work from a particular user:user=pixiv.user(7631951)forartinuser.works():art.save()See thefull documentationfor more!History0.1.0 (2015-01-20)First release on PyPI.Basic things like logging in and viewing a list of works a user has created
work.
Package: pixiv-api
A documented, idiomatic, and tested wrapper library around Pixiv’s App API.Supports Python versions 3.6+.Install with:$pipinstallpixiv-apiQuickstartTo start making requests to the Pixiv API, instantiate a client object.frompixivapiimportClientclient=Client()The client can be authenticated to Pixiv’s API in multiple ways. One is by
logging in with a username and password:client.login("username","password")And another is with a refresh token.client.authenticate("refresh_token")Once authenticated, a refresh token can be saved for future authorizations.refresh_token=client.refresh_tokenAfter authenticating, the client can begin making requests to all of the
Pixiv endpoints. For example, the following code block downloads an
image from Pixiv.frompathlibimportPathfrompixivapiimportSizeillustration=client.fetch_illustration(75523989)illustration.download(directory=Path.home()/"my_pixiv_images",size=Size.ORIGINAL,)And the next code block downloads all illustrations of an artist.frompathlibimportPathfrompixivapiimportSizeartist_id=2188232directory=Path.home()/"wlop"response=client.fetch_user_illustrations(artist_id)whileTrue:forillustinresponse["illustrations"]:illust.download(directory=directory,size=Size.ORIGINAL)ifnotresponse["next"]:breakresponse=client.fetch_user_illustrations(artist_id,offset=response["next"],)Read the full documentation athttps://pixiv-api.readthedocs.io.
Package: pixiv-bulk-downloader
pixiv-bulk-downloaderPixiv Bulk DownloaderFeatureDownloadworks of following usersSAVE:$HOME/pbd/followingbookmarked worksSAVE:$HOME/pbd/bookmarksTryFrom Docker (recommended)$ docker run -it -v ~/pbd:/root/pbd ghcr.io/eggplants/pixiv-bulk-downloader
[?]: ID:
[?]: PW:
[+]: Login...OK!
[?]: Download all works of following? (766 artists) (n/y):
[?]: Download all bookmarked? (1909 works) (n/y):From PyPINote:In advance, please setup google-chrome-stable + selenium + webdriverUbuntu# google-chrome-stablewgethttps://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudoaptinstall./google-chrome-stable_current_amd64.deb-y
google-chrome--version# check# seleniumpipinstallselenium
python-c'import selenium;print("selenium", selenium.__version__)'# check# webdriverpipinstallchromedriver-binary-auto# add this to rc or env: export PATH="$PATH:`chromedriver-path`"chromedriver-v# check# Python>=3.9
$ pip install pixiv-bulk-downloader

$ pbd
[+]: ID is mail address, userid, account name.
[?]: ID:
...CaptureLicenseMIT
Package: pixivcat
pixivcatan async pixiv toolboxFeatureuse asynchigh performanceconcurrency downloadraw pixiv apiUseageinstall pixivcatpipinstallpixivcatLogin to pixiv using refresh token, if you don't have a pixiv refresh token, You can find the access method at@upbitfrompixivcat.AppApiimportAppClientrefresh_token="xxxxxxxxxxxxxxx"# your refresh tokenasyncdeflogin():app=AppClient(refresh_token=refresh_token)asyncwithapp:image=app.illust_detail(99057163)print(image)#download image to pathawaitimage.download_origin("setu")# bookmark the imageawaitapp.illust_bookmark_add(image.id)proxyif you want use your proxy, you can add the proxy link to the parameterapp=AppClient(refresh_token=refresh_token,proxy="http://host:port")exmapleseeexmaple.py
Package: pixivd
PixivDA simple tool to download illustrations from Pixiv.Download illustrations byuers_id,daily rankingorhistory ranking.FeaturesKeep login sessionsLocal storageSecure storage (not memory safe)Update downloaded artistsRefresh downloaded artistsMutil-LanguageCommand-line interfaceInstallationpip install pixivdUsage:
    pixivd
    pixivd <id>...
    pixivd -r [-d | --date=<date>]
    pixivd -u

Arguments:
    <id>                                       user_ids

Options:
    -r                                         Download by ranking
    -d <date> --date <date>                    Target date
    -u                                         Update exist folder
    -h --help                                  Show this screen
    -v --version                               Show version

Examples:
    pixivd 7210261 1980643
    pixivd -r -d 2016-09-24ScreenshotCreditsPixiv-APIPixivPypixiv apiPixiv OAuth Flow
Package: pixiv-dl
A simple tool to automatically download stuff from pixiv.Usageusage: pixiv-dl [-h] [-u USERNAME] [-p PASSWORD] [-o OUTPUT] [--allow-r18]
                [--min-lewd-level MIN_LEWD_LEVEL]
                [--max-lewd-level MAX_LEWD_LEVEL] [--filter-tag FILTER_TAG]
                [--require-tag REQUIRE_TAG] [--min-bookmarks MIN_BOOKMARKS]
                [--max-bookmarks MAX_BOOKMARKS] [--max-pages MAX_PAGES]
                {bookmarks,following,mirror,tag} ...

A pixiv downloader tool. This can download your bookmarks, your following
feed, whole user accounts, etc.

positional arguments:
  {bookmarks,following,mirror,tag}
    bookmarks           Download bookmarks
    following           Download all following
    mirror              Mirror a user
    tag                 Download works with a tag

optional arguments:
  -h, --help            show this help message and exit
  -u USERNAME, --username USERNAME
                        Your pixiv username
  -p PASSWORD, --password PASSWORD
                        Your pixiv password
  -o OUTPUT, --output OUTPUT
                        The output directory for the command to run
  --allow-r18           If R-18 works should also be downloaded
  --min-lewd-level MIN_LEWD_LEVEL
                        The minimum 'lewd level'
  --max-lewd-level MAX_LEWD_LEVEL
                        The maximum 'lewd level'
  --filter-tag FILTER_TAG
                        Ignore any illustrations with this tag
  --require-tag REQUIRE_TAG
                        Require illustrations to have this tag
  --min-bookmarks MIN_BOOKMARKS
                        Minimum number of bookmarks
  --max-bookmarks MAX_BOOKMARKS
                        Maximum number of bookmarks
  --max-pages MAX_PAGES
                        Maximum number of pages
Package: pixiv-down
Pixiv DownloaderA command line pixiv illust downloader.Installpipinstallpixiv-downUsageusage:pixd[-h][-bMIN_BOOKMARKS][-cMAX_PAGE_COUNT][-nILLUST_NUM][-k][-pPATH][-rRESOLUTION][-sSTART][-eEND][-l{debug,info,warn,error}]{iid,aid,tag,rcmd,related,ranking}...Download illusts in diffrent waysiiddownload illusts by illust id list.e.g.,pixd iid 92578547 93005923 87052390 91681788aiddownload illusts by artist id list.e.g.,pixd aid 671593 8062849 10475690 14496985tagdownload illusts by tag name.e.g.,pixd tag 甘雨 刻晴 八重樱rcmddownload illusts from recomments.e.g.,pixd rcmdrelateddownload related illusts of the specified illust id.e.g.,pixd related 70937229 87749466rankingdownload daily ranking of the specified day.e.g.,pixd ranking 2021-01-01 2021-02-01,2021-03-31Optional Arguments-h, --helpshow this help message and exit-b MIN_BOOKMARKSthe min bookmarks of illust (default: 3000)-c MAX_PAGE_COUNTthe max page count of illust (default: 10)-q MIN_QUALITYthe min quality of illust, the quality eauals the num of bookmarks
per 100 views (default: None)-l {1,2,3}the max sex level of illust (default: 2)-n ILLUST_NUMtotal number of illusts to download (default: 300)-p PATHthe storage path of illusts (default: ./)-r RESOLUTIONthe resolution of illusts:s/m/l/o,i.e., square / middle / large / origin, can set multiple-kkeep the json result to files--show SHOW_JSONprint the json result on stdout-s STARTthe start date of illust for tag searching (default:2016-01-01)-e ENDthe end date of illust for tag searching (default: today)--only_newonly download the newest illusts from ranking--without_illustdon't download illusts when download ranking-l {debug,info,warn,error}the log level (default:warn)
Package: pixivdownloader
PixivDownloader enables you to download artworks, mangas and videos frompixiv.netvia CLI, CLI UI and programmatically.Table of ContentsUsageIs my pixiv password saved?InstallationLinksCopyrightChangelog0.1.1 (2020-02-17)0.1.0 (2019-11-15)UsageTo start CLI UI:pixivTo start downloads directly:pixiv"XXXXXXXX""https://www.pixiv.net/en/artworks/XXXXXXXX"If the user is not logged in yet the CLU UI starts and asks for login credentials.
This can be disabled with using –username and –password to log in. If only one
of those is given then the Login CLI UI will be started asking for the missing value. So
eg. in this case the UI will start and ask for a password:pixiv"XXXXXXXX"-umy_userIf you want to disable the CLI UI completely and just exit if no username and
passwords are given then use -q.pixiv"XXXXXXXX"-qFinally, you can also use this downloader via its python interface like this:frompixiv.downloaderimportPixivDownloaderpd=PixivDownloader(username='xxx',password='pwd')downloader=pd.download_by_url('https://www.pixiv.net/en/artworks/74607898','~/Downloads/pixiv-downloads')# Or just by the iddownloader=pd.download_by_id(74607898,'~/Downloads/pixiv-downloads')forpathindownloader:print(f'Downloaded{path}')Is my pixiv password saved?TLDR: No, it is not.For the communication between the program and PixivPixivPyis used. This enables us to use a so-called “refresh token” with which we can
re-authenticate without saving the password anywhere.This token, as well as other settings, are saved in~/.pixivrc.InstallationWith pip:pipinstallpixivdownloaderpixivFrom source:gitclonehttps://github.com/Nachtalb/PixivDownloader.gitcdPixivDownloaderpythonsetup.pyinstallpixivLinksGithub:https://github.com/Nachtalb/PixivDownloaderIssues:https://github.com/Nachtalb/PixivDownloader/issuesThirdparty packages used:Pixiv API:https://github.com/upbit/pixivpyCLI UI library:https://github.com/CITGuru/PyInquirerVideo library:https://github.com/skvark/opencv-pythonCopyrightThis package is copyrighted byNachtalb.PixivDownloaderis licensed under GNU General Public License, version 3.
TermsChangelog0.1.1 (2020-02-17)Fix slash in filename resulting in additional folders [Nachtalb]0.1.0 (2019-11-15)Initial implementation
Package: pixiv-tag-analyzer
pixiv-tag-analyzer任意のpixivユーザの投稿,ブックマークの情報を収集しタグからその人の性癖を暴く分析データはdata/以下に保存DEMORunNote:In advance, please setup google-chrome-stable + selenium + webdriverFrom PyPIpipinstallpixiv-tag-analyzer
ptaFrom Dockerdockerrun-iteggplanter/pta
Package: piXnotify
piXnotifyThis project is an attempt to build a cross-platform notification library in python.It heavily relies on platform-dependant notification libraries, namelypyncnotify2You could also useplyerproject which aims to provide a whole set of cross platform features such as notifications, camera manipulation ...SetupRunpip install .orpython setup.py sdist
python setup.py installThis will install platform-specific python packages, specified in python.py .UsageTypical package usage will be:from piXnotify import notifier

notifier.setTitle("Title").setMessage("message").notify()Code of conductSalesforce open-source projects are committed to providing a friendly, safe, and welcoming environment for all.You may read more in theCode of Conduct.The goal of this code of conduct is to specify a baseline standard of behavior so that people with different social values and communication styles can work together effectively, productively, and respectfully in our open source community. It also establishes a mechanism for reporting issues and resolving conflicts.All questions and reports of abusive, harassing, or otherwise unacceptable behavior in a Salesforce open-source project may be reported by contacting the Salesforce Open Source Conduct Committee atossconduct@salesforce.com.
Package: pixoo1664
PIXOO1664Unofficial Divoom pixoo REST library, beer not included.To installpipinstallpixoo1664To use:frompixoo1664importPixoopixoo=Pixoo("192.168.16.64")TextTo send text:pixoo.send_text("Hello there !")To clear text:pixoo.clear_text()ImageTo create and send an image:fromPILimportImage,ImageDrawimg=Image.new("RGB",size=(64,64))draw=ImageDraw.Draw(img)draw.text(text="Who's the",xy=(3,10),fill=(255,43,43,255))draw.text(text="BOSS NOW ??",xy=(3,20),fill=(43,255,43,255))draw.line(xy=((0,20),(64,20)))pixoo.send_image(img)Send gif frames in one call (60ms btw frames)# list of Imagepixoo.send_images(images,speed=60)BrightnessGet brightness 0~100pixoo.get_brightness()# -> 80Set brightness 0~100pixoo.set_brightness(90)Set screen on/offpixoo.set_screen(True)pixoo.set_screen(False)TimeSet system timepixoo.set_system_time(1672416000)Get system timepixoo.get_system_time()# -> 1672416000Set 24 hour mode (reset when the device power off)pixoo.set_24_hour_mode(True)Set 12 hour mode (reset when the device power off)pixoo.set_24_hour_mode(False)Temperature modeSet temperature in Celsiuspixoo.set_temperature_in_celsius(True)Set temperature in Fahrenheitpixoo.set_temperature_in_celsius(False)Screen rotationSet rotation angle in degree 0, 90, 180 and 270pixoo.set_rotation_angle(90)ConfigurationGet all settings (https://doc.divoom-gz.com/web/#/12?page_id=243)pixoo.get_all_conf()#   {#     "Brightness":100,#     "RotationFlag":1,#     "ClockTime":60,#     "GalleryTime":60,#     "SingleGalleyTime":5,#     "PowerOnChannelId":1,#     "GalleryShowTimeFlag":1,#     "CurClockId":1,#     "Time24Flag":1,#     "TemperatureMode":1,#     "GyrateAngle":1,#     "MirrorFlag":1,#     "LightSwitch":1#   }PageSet a timerpixoo.set_timer(minute=1,second=3,start=True)
Package: pix-plus
Welcome to UDINI-Packages, the pix-plus package.PyPi deploymentIn order to push changes to thepix-pluspackage, be sure that:Theproto_pixplus.protofile contains the changes, which were compiledsuccessfully.New .py file is compiled and overwrittenproto_pixplus_pb2.pymodule with current inprotosfolder package.You've put into thesetup.cfgrequiredpackages for the shared utilities with its version.Please, import needed types with anptypealiasimportprotos.proto_pixplus_pb2asptypeDeploy new versionTo deploy new version, be sure you have the latest version of PyPa’s build installed:python3-mpipinstall--upgradebuildGo to the/pix_plusfolder and run next command:python3-mbuildThis command should output a lot of text and once completed should generate two folder in the directory:distandpix_plus.egg-infoTo upload new version of the package, also be sure to update theversionof the package. See the semantics of the versioning athttps://semver.org/Installtwine, to upload all the archives under dist:python3-mpipinstall--upgradetwineAfter, you can push new version of the package withpython3 -m twine upload --skip-existing dist/* --verbose. You will be prompted forusernameandpassword.Once uploaded, you can check your new version athttps://pypi.org/project/pix-plus/If any issues are met, look at the completetutorial.