Saravanan666/pypi-org huggingface dataset:
Package: phoenix-wright-reverse
📦 setup.py (for humans)This repo exists to providean example setup.pyfile, that can be used
to bootstrap your next Python project. It includes some advanced
patterns and best practices forsetup.py, as well as some
commented–out nice–to–haves.For example, thissetup.pyprovides a$ python setup.py uploadcommand, which creates auniversal wheel(andsdist) and uploads
your package toPyPiusingTwine, without the need for an annoyingsetup.cfgfile. It also creates/uploads a new git tag, automatically.In short,setup.pyfiles can be daunting to approach, when first
starting out — even Guido has been heard saying, "everyone cargo cults
thems". It's true — so, I want this repo to be the best place to
copy–paste from :)Check out the example!Installationcdyour_project# Download the setup.py file:#  download with wgetwgethttps://raw.githubusercontent.com/navdeep-G/setup.py/master/setup.py-Osetup.py#  download with curlcurl-Ohttps://raw.githubusercontent.com/navdeep-G/setup.py/master/setup.pyTo DoTests via$ setup.py test(if it's concise).Pull requests are encouraged!More ResourcesWhat is setup.py?on Stack OverflowOfficial Python Packaging User GuideThe Hitchhiker's Guide to PackagingCookiecutter template for a Python packageLicenseThis is free and unencumbered software released into the public domain.Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any means.
Package: phoenix-ws
⚡ Phoenix ⚡Phoenix is a speedy lightweight web server with support for modules and extensions.📦 Installation 📦You can quickly and easily install from PyPi by running:pipinstallphoenix-wsThis provides you with the Phoenix server and PPM package manager.😀 How it works 😀Phoenix quickly reads all of the files used by the server and caches them. This reduces the amount of disk read-write operations. It then delivers the files using gzip and zlib to reduce packet size.Phoenix uses a very small amount of RAM, making it perfect for production environments.🏁 Getting Started 🏁You can quickly run Phoenix with:phoenixrun⚙ Configuration ⚙Command Line Configurationrun--host-h- Allow the server to be publicly accessible from other devices.--port <port>-p <port>- Specify the port to run the server on.install <package>Project File ConfigurationPhoenix can be configured per-project with aphoenix.config.jsonfile. Here are the options:host(bool,false) - Allow the server to be publicly accessible from other devices.port(int,8080) - Specify the port to run the server on.zlib(bool,true) - Use zlib compression.gzip(bool,true) - Use gzip compression.verbose(bool,false) - Print extra debug messages to the console.indexDirectories(bool,false) - Display the directory's contents if no file is specified.indexPhoenix(bool,false) - Index the/phoenix/directory.encoding(str,utf-8) - Set the text encoding.nocompress(list,[]) - Disable compression on specific files. Each item of the list is the resource's URL.minify(bool,true) - Make HTML, CSS, and JS files smaller.proxy(dict,{}) - Reverse-proxy websites.fixProxy(bool,true) - Replace all instances of the proxied URL with the requested URL.thisURL(str) - A nice name for the website hosted by the server. Used forfixProxy.
Package: phoganizer
PhoganizerOrganize photos by exifUsagebrewinstallexiftool# MacOS, other OS refers to https://exiftool.org/pipinstall-ephoganizer
python-mphoganizerpath/to/photosIt will rename photos toYYYY-MM-DD_HH-MM-SS.N.jpgformat and move them topath/to/photos/YYYY-MM-DDfolder.
Package: pholcidae
pholcidae - Tiny python web crawler library=========Pholcidae------------Pholcidae, commonly known as cellar spiders, are a spider family in the suborder Araneomorphae.About------------Pholcidae is a tiny Python module allows you to write your own crawl spider fast and easy.Dependencies------------* python >= 2.6.xBasic example------------from pholcidae import Pholcidaeclass MySpider(Pholcidae):settings = {'domain': 'www.test.com', 'start_page': '/sitemap/'}def crawl(self, data):print(data.url)spider = MySpider()spider.start()
Package: phomber
An open source infomation grathering & reconnaissance framework!What is PH0MBER?PH0MBERis anosint framework, which is one-stop tool for your information gathering and reconnaissance needsIt can help you gather information (such as phone numbers, ip address, domain name info, etc.) from various publicly available sources about the targetQuick GuideInstall, Update, UsageInstallation:git clonegit clone https://github.com/s41r4j/phomber
cd phomber
pip3 install -r pyproject.tomlpippip install phomberdockerdocker pull sinawic/phomber:latest
docker run --rm -it sinawic/phomber:latestUpdate:git clone(assuming you are in thephomberdirectory)git pullpippip install --upgrade phomberdockerdocker pull sinawic/phomber:latestUsage:git clone(assuming you are in thephomberdirectory)python3 phomber.pypipphomberdockerphomberHelp menu┌────────────────────────────────────────────────────┐
    | COMMANDS      | DESCRIPTION                        |
    |----------------------------------------------------|
    |                 <(Basic Commands)>                 |
    |----------------------------------------------------|
    | help          | Display this help menu             | 
    | exit/quit     | Exit the framework                 |
    | dork          | Show a random google dork query *  |  
    | exp           | Show info about all available      |   
    |               | expressions                        |
    | check         | Check internet connection          |
    | clear         | Clear screen                       |
    | save          | Save output of previous scanner    |
    |               | command in a file                  |
    | shell <cmd>   | Execute native shell/cmd commands  |
    | info          | Show info about framework & system |
    | change        | Change user command input color    |
    |----------------------------------------------------|
    |                <(Scanner Commands)>                |
    |----------------------------------------------------|
    | number        | Reverse phone number lookup *      |
    | ip            | Reverse ip address lookup *        |
    | mac           | Reverse mac address lookup         |
    | whois         | Reverse whois lookup *             |
    | dns           | Reverse or normal DNS lookup *     |
    └────────────────────────────────────────────────────┘Pro tips:Typehelpto get a list of commandsTypehelp <command>to see more info about a commandUseTabkey to auto-complete commandsTry silent mode by using-s/--silentflagYou can also useCtrl+Cto exitDescriptions ending with*needs internet connectionUse-e/--verbose-errorsflag to see more descriptive errorsNOTES:- `PH0MBER` is back with all new features and user interface
- `v3` has osint tools with no _api key_ requirement
- Release windows (exe) & linux (lsb) direct executables, no python req.
- `v4` will have web-interface + automated scans features + (custom-scanner feature; create, distribute and deploy your own scanner)
Package: phomemo-p12-tools
phomemo_p12Python script to print text on a Phomemo P12 label printerAcknowledgementsBased onphomemo_d30by polskafan,phomemo-toolsby Laurent Vivier andphomemo_m02sby theacodes.Checkout and installpip3installphomemo-p12-toolsSetupConnect to printer with rfcommsudorfcommconnect1XX:XX:XX:XX:XX:XXOr windows, connect to P12 by 'Bluetooth & device' menu.Usagephomemo_render_label"Hello world!"|phomemo_print_p12--port=[device]Or windows,phomemo_render_label "Hello world!" > label.pbm
phomemo_print_p12 --port=[device] label.pbm
Package: phomemo-printer
Phomemo printer - python utilities to allow printing text from the Phomemo printerI have not been able to print text to the Phomemo printer using standard ESC/POS print commands (if your printer does work with these commands, you should use the libraryhere). To work around this, this library allows printing of text as a raster bit image.Various methods to connect to the Phomemo printer and print images are excellently describedhere. This package currently only allows connection to the printer via bluetooth.Tools were tested on a Phomemo M02 Pro printer.Requirementspython3bluetooth interrogation tools (e.g. via thebluezpackage)Installationsudo python3 setup.py installThis will create a CLI calledphomemo_printeron your PATH.Alternatively, install via pip:python3 -m pip install phomemo_printerUsageThe printer is connected to over bluetooth. To connect, the bluetooth address and channel must be determined.Finding the printer's bluetooth address and channelThe Debian packagebluezprovides the utilities needed to scan for and connect to the printer via bluetooth.Find the printer's bluetooth addressThe printer should be powered on and not connected to any computer or app.$ hcitool scan

Scanning ...
	00:AA:13:41:11:A5	M02 ProThe bluetooth address should be in the format xx:xx:xx:xx:xx:xx. If more than one bluetooth device is discovered, look for one with the name of your printer.Determine which channel to connect to the device onFormat:sdptool browse bluetooth_address$ sdptool browse 00:AA:13:41:11:A5

Browsing  ...
Service Name: SerialPort
Service RecHandle: 0x1000f
Service Class ID List:
  "Serial Port" (0x1101)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 6
Profile Descriptor List:
  "Serial Port" (0x1101)
    Version: 0x0102Sending text to the printerVia CLIFormat:phomemo_printer -a bluetooth_address -c bluetooth_channel -t "text to print"phomemo_printer -a 00:AA:13:41:11:A5 -c 6 -t "Hello world"Via module importfromphomemo_printer.ESCPOS_printerimportPrinterprinter=Printer(bluetooth_address="00:AA:13:41:11:A5",channel=6)printer.print_text("Hello world")printer.close()
Package: phomo
Python package and CLI utility to create photo mosaics.phomolets you createphotographic mosaics.
It arranges the tile images to best recreate a master image. To achieve this,phomocomputes a distance matrix between all the tiles and the master image regions, looking not just at the average colour but the norm of the colour distributions differences.
Once this distance matrix is computed, each tile is assigned to the optimal master image region by solving the linear sum assignment problem.📦 InstallationRequires python 3In a terminal:pipinstallphomoAs always, it is usually a good idea to use avirtual environment.If you're just interested in command line usage, consider usingpipx.📋 UsagePython packageSee theexamplesfolder for usage as a python package.CLIOnce it is installed, you can use thephomocommand.It would go something like:phomomaster.pngtile_directory-S2020-omosaic.pngIf in doubt see the help:$phomo-husage: phomo [-h] [-o OUTPUT] [-c MASTER_CROP_RATIO][-s MASTER_SIZE [MASTER_SIZE ...]] [-C TILE_CROP_RATIO][-S TILE_SIZE [TILE_SIZE ...]] [-n N_APPEARANCES] [-v] [-b] [-g][-d SUBDIVISIONS [SUBDIVISIONS ...]][-m {greyscale,norm,luv_approx}] [-j WORKERS]master tile_dirpositional arguments:master                Master image path.tile_dir              Directory containing the tile images.options:-h, --help            show this help message and exit-o OUTPUT, --output OUTPUTMosiac output path.-c MASTER_CROP_RATIO, --master-crop-ratio MASTER_CROP_RATIOCrop the master image to width/height ratio.-s MASTER_SIZE [MASTER_SIZE ...], --master-size MASTER_SIZE [MASTER_SIZE ...]Resize master image to width, height.-C TILE_CROP_RATIO, --tile-crop-ratio TILE_CROP_RATIOCrop the tile images to width/height ratio.-S TILE_SIZE [TILE_SIZE ...], --tile-size TILE_SIZE [TILE_SIZE ...]Resize tile images to width, height.-n N_APPEARANCES, --n-appearances N_APPEARANCESThe number of times a tile can appear in the mosaic.-v, --verbose         Verbosity.-b, --black-and-whiteConvert master and tile images to black and white.-g, --show-grid       Show the tile grid, don't build the mosiac.-d SUBDIVISIONS [SUBDIVISIONS ...], --subdivisions SUBDIVISIONS [SUBDIVISIONS ...]Grid subdivision thresholds.-m {greyscale,norm,luv_approx}, --metric {greyscale,norm,luv_approx}Distance metric.-j WORKERS, --workers WORKERSNumber of workers use to run when computing thedistance matrix.🤩 Creditphotomosaicfor the grid subdivision feature.✔️ TODOlook into parallelizing/multithreadinglook into non greedy tile assignmentspalette matchingdocumentationshell completionhex grid
Package: phondler
phondlerAphonetic handlerfor Python. Makes phonetic representations (IPA, X-SAMPA, others) interoperable and creates a phoneme data dictionary to enable other packages to work on phonemes.phondler:phondler_tables.py - tables mapping phonetic representationsphondler.py - tools for converting strings between representationspronlex.py - tools for reading, writing, converting, and searching pronunciation lexicon files in several standard formats.test: test scripts and example files, showing how to use these tools.
Package: phonechars
phonecharsphonecharsis a Python library and command-line tool
for extracting phonological phylogenetic characters from aligned lexical data,
both for purposes of investigation into correspondence sets and phylogenetic
analyses.InstallationIn any standard Python environment,phonecharscan be installed with:pipinstallphonecharsHow to useThe library can be conveniently used by means of thephonecharscommand-line
tool. While different options are available, a simple call to the program
when provided the path to a wordlist of aligned data
will generate three files with related information:A.chars.tsvfile, extending the alignment information with correspondences
inferred by means of different methods (currently, only a method modified from
List (2019) and available via thelingrexlibrary is offered)A.corrs.tsvfile, informing the detected correspondencesA.nex(NEXUS) file, suitable for analysis with standard phylogenetic tools
including SplitsTree and BEAST2A demo file, with information from Ryukyuian dialects as presented in
Huisman (2022), is distributed with the standard installation and can be
used for testing the command-line tool:$phonecharsdemo/ryukyu.tsvCommunity guidelinesWhile the author can be contacted directly for support, it is recommended that
third parties use GitHub standard features, such as issues and pull requests, to
contribute, report problems, or seek support.Contributing guidelines, including a code of conduct, can be found in theCONTRIBUTING.mdfile.Author and citationThe library is developed by Tiago Tresoldi (tiago.tresoldi@lingfil.uu.se). The library is developed in the context of
theCultural Evolution of Textsproject, with funding from theRiksbankens Jubileumsfond(grant agreement ID:MXM19-1087:1).If you usephonechars, please cite it as:Tresoldi, Tiago, (2022). Phonechars: a Python library for extracting phonological phylogenetic characters. Version 0.1. Uppsala, University of Uppsala.https://github.com/tresoldi/phonecharsIn BibTeX:@misc{Tresoldi2022phonechars,
  url = {https://doi.org/10.21105/joss.03173},
  year = {2022},
  author = {Tiago Tresoldi},
  title = {Phonechars: a Python library for extracting phonological phylogenetic characters. Version 0.1},
  address = {Uppsala},
  publisher = {University of Uppsala}
}
Package: phone-db
phone-db手机号码归属地SQLite数据库安装pip install phone-db使用：查询数据库中手机号段总条数>>> from phone_db import Session, Phone, Region
>>> session = Session()
>>> session.query(Phone).count()
415284查询北京市联通手机号段总条数>>> city = session.query(Region).filter_by(zip_code='100000').first()
>>> if city:
...     city.phones.filter_by(type=2).count()
...
6355查询指定手机号段归属地信息>>> num = session.query(Phone).filter_by(number=1761166).first()
>>> if num:
...     num.detail()
...
(1761166, '联通', {'province': '北京', 'city': '北京', 'zip_code': '100000', 'area_code': '010'})数据表结构phones表id INTEGER NOT NULL,
number INTEGER,
type INTEGER,
region_id INTEGER,
PRIMARY KEY (id),
FOREIGN KEY(region_id) REFERENCES regions (id)regions表id INTEGER NOT NULL,
province VARCHAR,
city VARCHAR,
zip_code VARCHAR,
area_code VARCHAR,
PRIMARY KEY (id)phones表type字段卡类型定义* 1 移动
* 2 联通
* 3 电信
* 4 电信虚拟运营商
* 5 联通虚拟运营商
* 6 移动虚拟运营商数据可视化下载phone.db文件，使用sqlitebrowser查看记录条数415284 (updated:2019年2月)数据来源https://github.com/ls0f/phone
Package: phone-email-verifier
PHONE & EMAIL VerifierDescriptionValidation of the email and international or local telephone number.InstallIf you install withpip install phone_email_verifier1 : Download herehttps://github.com/Bogro/phone_email_verifier/blob/develop/phone_email_verifier/code.txtand drop it at the root of your project.2 : Add the phone code dictionary path in the .env of your project.#.env
DICT_CODE="dict_name.txt"Note: This file is important for checking phone numbersFor direct downloads on github you do not need to follow the process aboveUsageE-mailfrom phone_email_verifier.email_verifier import email_verifier as email_v


email = email_v()

email_list = ['test@mail.tx', 'demo@mail.test', 'e.mail@mailer.com']

>>> email.set_email_list(email_list) 

or

>>> email.set_email_in_file(file_name)

>>> email.exec()

{'OK': ['test@mail.tx', 'e.mail@mailer.com'], 'ERROR': ['demo@mail.test']}Remarque:It is possible to make a restriction on the country by making:>>> email.set_email_list(email, 'FR')

or

>>> email.set_email_in_file(file_name, 'FR')and this will make a filter on any email not ending.frif the file used is a CSV, indicate the column of email>>> email.set_email_in_file(file_name, colum=0)

or

>>> email.set_email_in_file(file_name, 'FR', 0)ReamarqueLes types de fichier utilisable sont:
CSV et TXTPhonefrom phone_email_verifier.phone_verifier import phone_verifier as phone_v

phone = phone_v()

phone_list = ['+22547000000', '+225-47-00-00-00', '+225 47 00 00 00 00', '+33 00 25 00 11', '47 02 00 00']simple use>>> filter.set_phone_list(phone_list)

or

>>> filter.set_phone_in_file(file_name)

>>> filter.exec()

{'OK': ['+22547000000', '+22547000000', '+2254700000000', '+3300250011'], 'ERROR': ['47020000']}Advance useIt is possible to make a precision with the name of the country and is identifying code>>> filter.set_phone_list(phone_list, 'FR', '+33')

or

>>> filter.set_phone_in_file(name_list, 'FR', '+33', colum=0) # colum is column of numbers

>>> filter.exec()

{'OK': ['+3300250011'], 'ERROR': ['47020000', '+22547000000', '+22547000000', '+2254700000000']}It is important to specify the number column when the file is a csv file.For code dictionary identify countriesYou can add or reduce the list according to your usage.
I advise you to reduce according to your use, to make fast executionHow to addTo add, go to the line and:The name of the country, abbreviation of the name, identify code (+33 | 33 | 0033), length of the number without the identified code and the local code, the local code if it exists,Example:Country nameFranceAbbreviation country nameFRIdentify code+33|33|0033Length phone number8Note:If the number can be several lengths, add it in ascending order with " | " as separator6|7|8|9Local codes'il existe0Note: if there are more than one, add with " | " as separator0|1|2if it does not exist the line ends with a','in the end we have this lineFrance,FR,+33|33|0033,8,0,Final note* The spaces between the values ​​are forbidden
* The finished line always with a ";
Package: phone-gen
Phone GenInternational phone number generationThis module was created exclusively for generating test dataInstallationInstall using pip withpipinstallphone-genExamplefromphone_genimportPhoneNumberphone_number=PhoneNumber("GB")# ISO 3166-2# orphone_number=PhoneNumber("GBR")# ISO 3166-3# orphone_number=PhoneNumber("Great Britain")# Country name# Get a phone numbernumber=phone_number.get_number()print(number)# +442908124840# Get a country codecountry_code=phone_number.get_code()print(country_code)# 44# Get a phone number without a country codenumber=phone_number.get_number(full=False)print(number)# 183782623# Get a mobile phone numbernumber=phone_number.get_mobile()print(number)# +447911899521# Get a national phone numbernumber=phone_number.get_national()print(number)# +442408055065pytest fixtureimportpytestfromphone_genimportPhoneNumber@pytest.fixturedefphone_number():defwrap(code):returnPhoneNumber(code).get_number()yieldwrapdeftest_one(phone_number):number=phone_number("DE")...Using the CLIusage:phone-gen[-h][-v][-n]country[country...]Internationalphonenumbergeneration

positionalarguments:countryCountrycodeorcountryname.Example:"GB"or"GBR"or"Great Britain"optionalarguments:-h,--helpshowthishelpmessageandexit-v,--versionshowprogram'sversionnumberandexit-f,--not-fullGetaphonenumberwithoutacountrycode-m,--mobileGetmobilephonenumber-n,--nationalGetnationalphonenumberExample# Get a phone number$phone-genDE
+49791774007056

$phone-genDEU
+499968635

$phone-genGermany
+49960335800# Get a phone number without a country code$phone-gen-fDE66999511$phone-gen-fGermany877595# Get mobile phone number$phone-gen-mDE
+491601376066# Get national phone number$phone-gen-nDE
+4940381ResourcesGoogle's libphonenumberModifiedstrgenlibraryChangelogReleasesContributingContributions are very welcome.You might want to:Fix spelling errorsImprove documentationAdd tests for untested codeAdd new featuresFix bugsGetting startedpython 3.11pipenv 2022.12.19+Clone the repositorygitclonehttps://github.com/tolstislon/phone-gen.gitcdphone-genInstall dev dependenciespipenvinstall--dev
pipenvshellRun the lintersblackphone_gen/flake8phone_gen/Run the testspytesttests/
Package: phone-homer
A sample Python project (original @ pypa/sampleproject)=======================This project is a appended sample, that phones home to a POST listener, todemonstrate the ability to run Python code from the package installationprocess.----A sample project that exists as an aid to the `Python Packaging User Guide<https://packaging.python.org>`_'s `Tutorial on Packaging and DistributingProjects <https://packaging.python.org/en/latest/distributing.html>`_.This projects does not aim to cover best practices for Python projectdevelopment as a whole. For example, it does not provide guidance or toolrecommendations for version control, documentation, or testing.----This is the README file for the project.The file should use UTF-8 encoding and be written using `reStructuredText<http://docutils.sourceforge.net/rst.html>`_. Itwill be used to generate the project webpage on PyPI and will be displayed asthe project homepage on common code-hosting services, and should be written forthat purpose.Typical contents for this file would include an overview of the project, basicusage examples, etc. Generally, including the project changelog in here is nota good idea, although a simple "What's New" section for the most recent versionmay be appropriate.
Package: phonehub
Django app for automatic generation of Aastra XML SIP Phones-------------------------------------Work with- All Aastra SIP Phones of 67xxi serie ( 6730i, 6731i, 6735i, 6737i, 6753i, 6755i, 6757i, 6739i )Support- All XML Root commands ( latest firmware release 3.2.2 )- Offer specific HTTP Response that format the code and the HTTP Header for correct phone push- Support ISO-8859-1 and UTF-8This version requires Python 2 or later;
Package: phoneinfoga
Installation :pip install phoneinfoga && phoneinfogaFeatures :phoneinfoga, ** OSINT framework for phone numbers **How to install :$ pkg install python -y
$ pip install phoneinfoga
$ phoneinfogaRun :$ phoneinfogaDisclaimer :We are not responsible for your loss by this tool.
this tool is made for Education/Learning Purpose.
Dont harm anyone using this tool.About Us :Created by Parixit Sutariya
Github : github.com/Bhai4You
Blogspot : https://bhai4you.blogspot.com