Saravanan666/pypi-org huggingface dataset:
Package: pydoit
pydoit: An API Wrapper around the i-doit APIGetting startedInstallationInstall pydoit using pip:pip install pydoitExample CodefrompydoitimportIdoitCurrently supported methods- idoit.login
- idoit.logout
- idoit.search
- idoit.version
- idoit.constants

- cmdb.object.create
- cmdb.object.read
- cmbd.object.update
- cmdb.object.delete
- cmdb.object.recycle
- cmdb.object.archive
- cmdb.object.purge
- cmdb.object.markAsTemplate
Package: pydoit-nb
pydoit-nbLibrary to support combining jupyter notebooks and pydoit.PyPI :Other info :Full documentation can be found at:pydoit-nb.readthedocs.io.
We recommend reading the docs there because the internal documentation links
don't render correctly on GitHub's viewer.Installationpydoit-nb can be installed with conda or pip:pipinstallpydoit-nb
condainstall-cconda-forgepydoit-nbAdditional dependencies can be installed using# To add notebook dependenciespipinstallpydoit-nb[notebooks]# If you are installing with conda, we recommend# installing the extras by hand because there is no stable# solution yet (issue here: https://github.com/conda/conda/issues/7502)For developersFor development, we rely onpoetryfor all our
dependency management. To get started, you will need to make sure that poetry
is installed
(instructions here,
we found that pipx and pip worked better to install on a Mac).For all of work, we use ourMakefile.
You can read the instructions out and run the commands by hand if you wish,
but we generally discourage this because it can be error prone.
In order to create your environment, runmake virtual-environment.If there are any issues, the messages from theMakefileshould guide you
through. If not, please raise an issue in theissue tracker.For the rest of our developer docs, please see.
Package: pydoit-project-builder
**pydoit-project-builder** is an open source python library that provides command line interface to accelerate python development. The library is build on top of [doit](http://pydoit.org/).Inside a new project and assuming the presence of a `setup.py` file, pydoit-project-builder provides a series of command lines to manage a python project:* Create a virtual environment for the project.* Install dependencies.* Create documentation.* Check code style with pylint and flake8.* Create a distribution and package the project.* Remove auxialiary files such as the virtual environment, the auxialiary files, ects.* Launch tests.## InstallationTo install the current release:```shellpip install pydoit-project-builder```**Dependencies**In order to be use, the [doit](http://pydoit.org/) tool must be installed.## First stepsLets start a new project called `my-py-project` with the following structure:```my-py-projectâ”œâ”€â”€ docsâ”‚   â”œâ”€â”€ conf.pyâ”‚   â”œâ”€â”€ index.rstâ”‚   â”œâ”€â”€ staticâ”‚   â””â”€â”€ templatesâ”œâ”€â”€ my_py_projectâ”‚   â”œâ”€â”€ __init__.pyâ”‚   â”œâ”€â”€ src_file_1.pyâ”‚   â”œâ”€â”€ src_file_2.pyâ”‚   â””â”€â”€ ...â”œâ”€â”€ README.mdâ”œâ”€â”€ LICENSEâ”œâ”€â”€ setup.cfgâ”œâ”€â”€ setup.pyâ”œâ”€â”€ dodo.pyâ””â”€â”€ testâ”œâ”€â”€ __init__.pyâ”œâ”€â”€ test_src_file_1.pyâ””â”€â”€ test_src_file_2.py```The `setup.py` should define on which library the project relies upon. The `dodo.py` file is the file used by the automation tool `doit` to generate command line to be used in a terminal. Its content must be:```python"""Define tasks to be used by the library pydoit."""from pydoit_project_builder import TaskCreator# Define project parameters.project_name = "pydoit_project_builder"python_version = "3.6"# Instantiate tasks for pydoit library.task_creator = TaskCreator(project_name=project_name, python_version=python_version)list_callbacks = task_creator.get_all_tasks()for callback in list_callbacks:fn_name = callback.__name__globals()["task_" + fn_name] = callback```In the shell, in the folder containing the `dodo.py` file, enter the command `doit list` to see the list of available tasks.## License[Apache License 2.0](LICENSE)
Package: pydokus
# pydokuspydokus is Python module for interacting with the Dokus REST API. Dokus is a
Norwegian web app for invoicing and timetracking, seehttps://dokus.nofor
more information.## InstallationInstallpydokus:pip install pydokusAlternatively, download the source code and manually add it to yourPYTHONPATH.## UsageSee thesample.pyfile for usage examples. For further documentation, please
refer to the [GitHub Wiki](https://github.com/funkbit/dokus-api/wiki).
Package: pydol
pydol provides a pythonic interface to theU.S. Department of Labor API.
It can be used to fetch official unemployment numbers and other interesting
data.from pydol import DOLAPI

# Create an instance of the API
DOL = DOLAPI("d9c6c290-da4c-424e-a378-fb4bd027b58b",
             "mysecret11111111111")

# Get dataset metadata as a dictionary structure
# Multi-part dataset names are separated by a /
BLS = DOL.metadata("statistics/BLS_Numbers")

# Get table data as a list of dictionaries
UNEMPLOYMENT = DOL.table("statistics/BLS_Numbers", "unemploymentRate")

# Detailed examples at docs/examples.rstIt is well documented, easy-to-use,PEP 8compliant, and unit tested.DependenciesPython>= 2.6requestsxmltodictObtaining API credentialsValid API credentials are required to request data from tables. To obtain credentials:Create a DOL developer accountand log inCreate a new token/keyYou must provide:A random shared secret:>>> import os
>>> import binascii
>>> binascii.hexlify(os.urandom(32))
'daae7948824525c1b8b59f9d5a75e9c0404e46259c7b1e17a4654a7e73c91b87'An application nameAn application descriptionThe token/key will be generated after the submission of the formNote: The words token and key are used interchangeablyThis project is not affiliated with or endorsed by theU.S. Department of Labor.
Package: pyDolarVenezuela
pyDolarVenezuela es una librería de Python que te brinda la posibilidad de obtener los valores del dólar en distintos monitores en Venezuela, así como las tasas de cambio proporcionadas por el Banco Central de Venezuela. Esta librería consulta diversas páginas web que ofrecen información actualizada sobre el valor del dólar:Página WebURLEstadoExchange Monitorhttps://exchangemonitor.net/dolar-venezuelaCriptoDolarhttps://criptodolar.net/BCV (Banco Central de Venezuela)http://www.bcv.org.ve/iVenezuelahttps://www.ivenezuela.travel/Dpedidoshttps://dpedidos.com/pyDolarVenezuela tiene como objetivo principal brindar una solución eficiente y confiable para acceder a información relevante sobre el valor del dólar en Venezuela, ofreciendo así una herramienta valiosa para desarrolladores interesados en trabajar en este ámbito.InstalaciónpipinstallpyDolarVenezuelaUsoDebes importar el módulopages, donde encontrarás una variedad de atributos que contienen información sobre una página específica de la que deseas obtener los datos. Adicionalmente deberás importar la claseMonitor, cuyos parámetros será la página que deseas utilizar y la moneda en la que se expresarán los precios (USD,EUR).frompyDolarVenezuela.pagesimportBCV,CriptoDolar,ExchangeMonitorfrompyDolarVenezuelaimportMonitormonitor=Monitor(ExchangeMonitor,'USD')El parámetrocurrencyde la claseMonitorpor defecto tiene el valor:USD, verifique que la página de la que desea obtener los datos pueda expresar precios enEUR.print(ExchangeMonitor.currencies)>>['usd','eur']El métodoget_value_monitorsse utiliza después de crear una instancia del objeto Monitor y permite el acceso a los datos almacenados en el diccionario. Los siguientes parámetros serían los siguientes:monitor_code: El código del monitor del cual se desea obtener información. Por defecto esNone.name_property: El nombre de la propiedad específica del diccionario de la información del monitor extraído que se desea obtener. Por defecto esNone.prettify: Muestra los precios en formato de moneda con el símbolo de Bolívares. Por defecto esFalse.frompyDolarVenezuela.pagesimportBCV,CriptoDolar,ExchangeMonitorfrompyDolarVenezuelaimportMonitormonitor=Monitor(ExchangeMonitor,'USD')# Obtener los valores de todos los monitoresvalores_dolar=monitor.get_value_monitors()# Obtener el valor del dólar en EnParaleloVzlavalor_dolar=monitor.get_value_monitors("enparalelovzla","price",prettify=True)print(valor_dolar)La funcióncurrency_converterconvierte una cantidad de dinero de una moneda a otra utilizando los datos de un monitor específico.frompyDolarVenezuela.pagesimportBCV,CriptoDolar,ExchangeMonitorfrompyDolarVenezuelaimportMonitorfrompyDolarVenezuelaimportcurrency_convertermonitor=Monitor(ExchangeMonitor,'USD')information_dolar=monitor.get_value_monitors("enparalelovzla")price_in_dolares=currency_converter(type='VES',# VES | USD | EURvalue=1000,# Bs. 1000monitor=information_dolar# Datos del dolar)print(price_in_dolares)# Imprime algo como 28.22466836014677
Package: pydoli
pydoliA simple todo list cliInstallationwith pip:pip install pydolior arch btw:in comming...Terminal Usagein comming...Module UsageAdding tasks:frompydoliimportaddadd("New task")add("Second task","Excersice","Code")Remove and done tasks:frompydoliimportremove,doneremove(1,"3")done(2,"4")remove("all")Edit task:frompydoliimporteditedit(1,"Other task")edit("3","Other other task")List tasks:frompydoliimportlist_taskslist_tasks()The format of tasks:<ID> [ ✓ ] <TASK> - <CREATED DATE>
<ID> [ ✗ ] <TASK> - <CREATED DATE>Help and version (this is more for terminal usage):frompydoliimportpydoli_help,versionpydoli_help()version()Usage: pydoli [PARAMETTER] [ARGS]
add [MULTIPLE TASKS]
remove [MULTIPLE IDS] or [all]
edit [ID] [NEW TASK]
done [MULTIPLE IDS]
list
help
version
Package: pydollar
ContentsAbout pydollarMotivationInstallationExamplesLicenseContributingAuthorAbout pydollarpydollaris aPythonmodule
which enables a non-native syntax for the dollar sign$in Python code. It allows you to
follow the DRY-principle (don’t repeat yourself) more stricly when writing python code:Take for example a file calledmymodule.py:fromsympyimportSymboldefmy_func():alpha,beta,gamma,delta,epsilon=symbs=map(Symbol,$)returnsymbswe could then import from it by first intalling an import hook:>>>importpydollar>>>pydollar.install_import_hook()>>>frommymoduleimportmy_func>>>fromsympyimportinit_printing>>>init_printing()>>>my_func()(α,β,γ,δ,ε)Motivationf-strings were a great additon to Python 3.6, the$syntax follows it in spirit,
it simply allows you to write succinct code.If$syntax (or more importantly, the functionality it provides) becomes official syntax
there would be a real-world benefit to widely used codebases, e.g. SymPy:https://github.com/sympy/sympy/blob/sympy-1.0/sympy/core/symbol.py#L587InstallationSimplest way to install pydollar is to usepip:$ python3 -m pip install --user pydollaryou can skip the--userflag if you have got root permissions.ExamplesSee the test files undertests/.LicenseThe source code is Open Source and is released under the very permissive“simplified (2-clause) BSD license”.
SeeLICENSEfor further details.ContributingContributors are welcome to suggest improvements athttps://github.com/bjodah/pydollarAuthorBjörn I. Dahlgren, contact:gmail address: bjodahkth.se address: bda
Package: pydollar-vzla
PyDollar_VZLA: Obtención de Precios del Dólar en VenezuelaDescripciónEsta es una librería en Python diseñada para obtener de manera eficiente y confiable el precio del dólar en Venezuela desde múltiples fuentes. Desarrollada con el propósito de ofrecer una herramienta versátil y fácil de usar, la librería cuenta con la capacidad de extraer información de diversas páginas web utilizando técnicas de web scraping, combinando las potentes capacidades de BeautifulSoup y Requests para garantizar la precisión de los datos obtenidos.Características PrincipalesObtención de Datos desde Múltiples Fuentes:Actualmente, la librería ofrece la capacidad de obtener el precio del dólar en Venezuela desde tres fuentes diferentes, lo que asegura una mayor robustez y fiabilidad en los datos recolectados.Modularidad y Escalabilidad:Diseñada con un enfoque modular, esta librería está preparada para la incorporación de nuevas fuentes de información en el futuro, lo que garantiza su escalabilidad y adaptabilidad a medida que evolucionan las necesidades del usuario.Fácil Integración:Gracias a su interfaz intuitiva y sencilla, la librería puede ser fácilmente integrada en proyectos existentes con un mínimo esfuerzo de desarrollo, lo que la convierte en una solución atractiva y práctica para desarrolladores de todos los niveles de experiencia.Tasas soportadasMonitorDolarDolarTodayBCVInstalaciónPara instalar la librería abra una shell interactiva y ejecute:pipinstallpydollar-vzlaUsofrompydollar_vzla.dolar_priceimportDolarPrice# Crear una instancia de PyDollarpydollar=DolarPrice()# Obtener el precio del dólar de una fuente específicadollar_prices=pydollar.get_all_dolar_prices()print("Dollar prices:",dollar_prices)Contribución¡Las contribuciones son bienvenidas! Si deseas contribuir a PyDollar, por favor sigue estos pasos:Haz un fork del repositorio.Crea una nueva rama (git checkout -b feature/feature_name).Realiza tus cambios y documenta tus adiciones.Haz commit de tus cambios (git commit -am 'Añadir nueva característica').Haz push a la rama (git push origin feature/feature_name).Abre un Pull Request.ContactoSi tienes alguna pregunta o sugerencia, no dudes en ponerte en contacto conmigo a través devila.antoniojose@gmail.com.¡Gracias por tu interés en mi trabajo
Package: pydolphin
pydolphina convenient solution to heroku web apps / APIs.installation.pip3 install pydolphin

or 

pip3 install --no-cache git+https://github.com/dolphinorg/pydolphin.gitbasic example.importosfromflaskimportFlaskfrompydolphinimportdolphinPORT=int(os.environ.get("PORT",6969))app=Flask(__name__)@app.before_first_requestdefdolphin_start():dolphin.swim()@app.route('/')defindex():return'hello'app.run(host='0.0.0.0',port=PORT)note.=> i am currently learning js and node-js but
if you want to contribute to make dolphin
packages for them,
you can contact me t.me/midnightmadwalk.
=> use it in any python web framework and
report bug or contribute.
Package: pydomain
Pydomain=======Pydomain is a tools for get the url's host or subdomian.1.1e.g.>>from pydomain import  get_host, get_subdomain>>host = get_host("http://www.piadu.com")>>print host>>piadu.com>>subdomain = get_subdomain("http://www.piadu.com/news.html")>>print subdomain>>www.piadu.com
Package: pydomainextractor
A blazingly fast domain extraction library written in RustTable of ContentsTable of ContentsAbout The ProjectBuilt WithPerformanceExtract From DomainExtract From URLInstallationUsageExtractionURL ExtractionValidationTLDs ListLicenseContactAbout The ProjectPyDomainExtractor is a Python library designed to parse domain names quickly.
In order to achieve the highest performance possible, the library was written in Rust.Built WithAHashidnamemchronce_cellPublic Suffix ListPerformanceExtract From DomainTests were run on a file containing 10 million random domains from various top-level domains (Mar. 13rd 2022)LibraryFunctionTimePyDomainExtractorpydomainextractor.extract1.50spublicsuffix2publicsuffix2.get_sld9.92stldextract__call__29.23stldtld.parse_tld34.48sExtract From URLThe test was conducted on a file containing 1 million random urls (Mar. 13rd 2022)LibraryFunctionTimePyDomainExtractorpydomainextractor.extract_from_url2.24spublicsuffix2publicsuffix2.get_sld10.84stldextract__call__36.04stldtld.parse_tld57.87sInstallationpip3installPyDomainExtractorUsageExtractionimportpydomainextractor# Loads the current supplied version of PublicSuffixList from the repository. Does not download any data.domain_extractor=pydomainextractor.DomainExtractor()domain_extractor.extract('google.com')>>>{>>>'subdomain':'',>>>'domain':'google',>>>'suffix':'com'>>>}# Loads a custom SuffixList data. Should follow PublicSuffixList's format.domain_extractor=pydomainextractor.DomainExtractor('tld\n''custom.tld\n')domain_extractor.extract('google.com')>>>{>>>'subdomain':'google',>>>'domain':'com',>>>'suffix':''>>>}domain_extractor.extract('google.custom.tld')>>>{>>>'subdomain':'',>>>'domain':'google',>>>'suffix':'custom.tld'>>>}URL Extractionimportpydomainextractor# Loads the current supplied version of PublicSuffixList from the repository. Does not download any data.domain_extractor=pydomainextractor.DomainExtractor()domain_extractor.extract_from_url('http://google.com/')>>>{>>>'subdomain':'',>>>'domain':'google',>>>'suffix':'com'>>>}Validationimportpydomainextractor# Loads the current supplied version of PublicSuffixList from the repository. Does not download any data.domain_extractor=pydomainextractor.DomainExtractor()domain_extractor.is_valid_domain('google.com')>>>Truedomain_extractor.is_valid_domain('domain.اتصالات')>>>Truedomain_extractor.is_valid_domain('xn--mgbaakc7dvf.xn--mgbaakc7dvf')>>>Truedomain_extractor.is_valid_domain('domain-.com')>>>Falsedomain_extractor.is_valid_domain('-sub.domain.com')>>>Falsedomain_extractor.is_valid_domain('\xF0\x9F\x98\x81nonalphanum.com')>>>FalseTLDs Listimportpydomainextractor# Loads the current supplied version of PublicSuffixList from the repository. Does not download any data.domain_extractor=pydomainextractor.DomainExtractor()domain_extractor.get_tld_list()>>>[>>>'bostik',>>>'backyards.banzaicloud.io',>>>'biz.bb',>>>...>>>]LicenseDistributed under the MIT License. SeeLICENSEfor more information.ContactGal Ben David -gal@intsights.comProject Link:https://github.com/Intsights/PyDomainExtractor
Package: pydomaingibfeature
Overview========A sample python lib generate the gibberish featureUsage=====```import pydomaingibfeatureif __name__ == '__main__':#f = pydomaingibfeature.PyDomainGibFeature({'npart': 3,#        'mfiles': ['ch2.pki','ch3.pki','ch4.pki','en2.pki','en3.pki','en4.pki',]})f = pydomaingibfeature.PyDomainGibFeature({})while True:iput = raw_input().strip()print f.range()print f.feature(iput)```
Package: pydomainr
PyDomainr is a python wrapper around the domai.nr JSON API.Installation:pipinstallpydomainrUsage:1. Check For Availability Of Domain:The URL of the domain is passed in the constructfrompydomainrimportPyDomainrdom=PyDomainr(CLIENTID,"naumanahm.ad")printdom.is_available2. Get Whois URL:This will return the Whois URL of the domainfrompydomainrimportPyDomainrdom=PyDomainr(CLIENT_ID,"naumanahm.ad")printdom.whois_url3. Get A List Of Available DomainsThis method will return the list of domains availablefrompydomainrimportPyDomainrdom=PyDomainr(CLIENTID,"naumanahm.ad")foreach_domainindom.available_domains():printeach_domain4. Get A list Of Domains That Are TakenA List of taken lists are returnedfrompydomainrimportPyDomainrdom=PyDomainr(CLIENTID,"naumanahm.ad")foreach_domainindom.taken_domains():printeach_domain
Package: pydomdisco
A fast async domain discovery tool written in RustTable of ContentsTable of ContentsAbout The ProjectBuilt WithInstallationUsageLicenseContactAbout The ProjectThis library is intended to be used to discover registered domains according to the given TLD list by performing a fast and accurate resolving process. It was written in Rust in order to meet the performance requirements.Built Withpyo3tokiotrust-dnsInstallationpip3installpydomdiscoUsageimportpydomdisco# Get a list of tlds to their corresponding nameservers IP addressed# Only root tldsroot=pydomdisco.Discoverer.get_root_tld_to_nameservers_ips()# Full list of the PSL tldspsl=pydomdisco.Discoverer.get_psl_tld_to_nameservers_ips()# Initialize the discovery engine loaded with the given tldsdiscoverer=pydomdisco.Discoverer(root|psl)# Perform the discovery process and return the list of discovered registered domainsregistered_domains=discoverer.discover(['google','microsoft','tesla',],)LicenseDistributed under the MIT License. SeeLICENSEfor more information.ContactGal Ben David -gal@intsights.comProject Link:https://github.com/intsights/pydomdisco
Package: pydominion
PyDominionPlay the popular medieval card game in python!PremisePyDominion allows you play Dominion in Python.
You can play as a Human using input prompts in the terminal or a web version.
But more interestingly, you can simulate bots playing Dominion.
Wanted to try out a new strategy but don't have the time to play hundreds of games?
You're in luck!InstallationInstall PyDominion from PyPI usingpip.pipinstallpydominionUsage
Package: pydomotic
pydomoticA Python library for home automation execution, enabling seamless control and
management of your IoT devices."Domotics": The automatic control of home appliances by electronic systems.
Contraction of domestic robotics, from the Latin domus ("home"), and robotics.Getting StartedInstallpydomoticin your environment.$pipinstallpydomoticCreate yourpydomotic.ymlconfiguration file where you will define your
devices and automations.# pydomotic.ymldevices:fan:description:fan switchprovider:noopid:'012'thermometer:description:temperature sensorprovider:noopid:'345'automations:fan:enabled:truecomponents:-if:thermometer:temp:'>75'then:turn-on:fanelse:turn-off:fanRunning the following will check each trigger and execute any actions.$python-mpydomoticNote that each configured provider will require separate installation of its specific dependencies. For installing these dependencies and full configuration documentation, seeCONFIGURATION.mdFor more details on deployment options, seeDEPLOYING.mdGlossarytrigger:A small piece of code which evaluates to either true or false.
Usually it calls on devices or 3rd party APIs to make this determination.action:A small piece of code which is run when a trigger fires. Usually
this is managing device state like turning a lightbulb on or off. When
configured, it can be designated as a "then" action or an "else" action.provider:The third party which owns the API for a set of devices. The
manufacturer of a device will usually provide this API.device:Any IoT device which can be controled with a 3rd party API managed
by a provider.sensor:A device or 3rd party API which senses information about the
physical world around it. For example, a smart lightbulb or REST based current
weather API.component:A grouping of triggers and actions. When all triggers evaluate
to true, its "then" actions will be run. When any trigger evaluates to false,
its "else" actions will be run.handler:The code used to run a set of components. This is the main
entrypoint to thepydomoticsystem.parser:The code used to read the configuration yaml and transform it into
a list of components.
Package: py-dom-xpath-six
py-dom-xpath is a pure Python implementation of XPath 1.0. Itsupports almost all XPath 1.0, with the main exception being thenamespace axis. It operates on DOM 2.0 nodes, and works well withxml.dom.minidom, but also with other xml.dom implementations.py-dom-xpath-six is a version of py-dom-xpath that is compatible with Python3.6 and later. It is a fork of py-dom-xpath-redux, which in turn is a fork ofthe original py-dom-xpath.Changes in 0.2.4:- Fix compatibility issue with Python 3- Got rid of Python 2 support- Minor changes to update to newer standards for pypi, etc.Changes in 0.2.3:- Optimized sorting of nodesets in document order: do only at end of expression.Here is the original README file:py-dom-xpath is a pure Python implementation of XPath 1.0. Itsupports almost all XPath 1.0, with the main exception being thenamespace axis. It operates on DOM 2.0 nodes, and works well withxml.dom.minidom.py-dom-xpath requires Python 2.5 or greater.py-dom-xpath uses the Yapps 2 parser generator by Amit J. Patel.Portions of of Yapps 2 are included in this distribution, to avoidintroducing external dependencies.py-dom-xpath was developed at Nominum. Nominum has graciouslypermitted the author to release it under the MIT license.For further details, visit the project home page at:http://code.google.com/p/py-dom-xpath/