Saravanan666/pypi-org huggingface dataset:
Package: inclusive
inclusiveProvidesrangeandslicewith inclusive right boundary.Examples forrange:from inclusive import range

list(range(5)) == [0, 1, 2, 3, 4]
list(range[5]) == [1, 2, 3, 4, 5]

list(range(2, 7)) == [2, 3, 4, 5, 6]
list(range[2, 7]) == [2, 3, 4, 5, 6, 7]

list(range(2, 11, 3)) == [2, 5, 8]
list(range[2, 11, 3]) == [2, 5, 8, 11]Examples forslice:from inclusive import slice

list(range(100)[slice(5)]) == [0, 1, 2, 3, 4]
list(range(100)[slice[5]]) == [1, 2, 3, 4, 5]

list(range(100)[slice(2, 7)]) == [2, 3, 4, 5, 6]
list(range(100)[slice[2, 7]]) == [2, 3, 4, 5, 6, 7]

list(range(100)[slice(2, 11, 3)]) == [2, 5, 8]
list(range(100)[slice[2, 11, 3]]) == [2, 5, 8, 11]
Package: inclusive-django-range-fields
Inclusive Django Range FieldsThe default bound of Django range fields is[). This package follows default bounds as[].How to use?pipinstallinclusive-django-range-fieldsDjango# models.pyfromdjango.dbimportmodelsfrominclusive_django_range_fieldsimportInclusiveIntegerRangeFieldclassAdCampaign(models.Model):age_target=InclusiveIntegerRangeField()>> AdCampaign.objects.first().age_target
NumericRange(18, 30, '[]')Django Rest Framework# serializers.pyfromrest_frameworkimportserializersfrominclusive_django_range_fields.drfimportInclusiveIntegerRangeFieldclassAdCampaignSerializer(serializers.ModelSerializer):age_target=InclusiveIntegerRangeField()classMeta:model=AdCampaignfields=("id","age_target",){"id":1993,"age_target":{"lower":18,"upper":30}}ReferenceModel Fieldsinclusive_django_range_fields.InclusiveIntegerRangeFieldinclusive_django_range_fields.InclusiveBigIntegerRangeFieldinclusive_django_range_fields.InclusiveDateRangeFieldRangesinclusive_django_range_fields.InclusiveNumericRangeinclusive_django_range_fields.InclusiveDateRangeinclusive_django_range_fields.InclusiveDateTimeTZRangeDjango Rest Framework Serializersinclusive_django_range_fields.drf.InclusiveIntegerRangeFieldinclusive_django_range_fields.drf.InclusiveDateRangeFieldForm Fieldsinclusive_django_range_fields.InclusiveIntegerRangeFormFieldinclusive_django_range_fields.InclusiveDateRangeFormFieldPyPIhttps://pypi.org/project/inclusive-django-range-fields/
Package: inclusivewriting
inclusivewritinginclusivewritingis amultilingual applicationforinclusive writing. Languages evolve. Developed in Python, this application helps to write texts in an inclusive way. The application detects possibly problematic phrases and suggests some replacements.The application is configurable and it permits the users to addsupport for new languagesadd new suggestions to existing languagesupdate suggestionsUsageTo useinclusivewriting, specify the language and enter a textpython -m inclusive.main enHere,encorresponds to the English language.It is also possible to specify a file.python3 -m inclusivewriting.main en --filepath filepathInstallationpip install inclusivewritingResourcesResources: Resources and references to sources in different languagesContributeThere are three ways to contribute:Add a missing language inresourcesfolder and add it toconfiguration.json.Update existing lists of already existing languages. For example, inEnglish.Translateinclusivewriting. Check existing or add newlocales.A detailed desciption is presenthere.Test cases and coverageAll the test cases can be run in  the following manner$ python3 -m tests.testsCode coverage report can also be generated by running the unit tests using the coverage tool.$ coverage run --source=inclusivewriting -m unittest tests.tests
$ coverage report -mAuthorJohn SamuelLicenceAll code are released under GPLv3+ licence. The associated documentation and other content are released underCC-BY-SA.
Package: inco-32
inco_32 Python BindingThis is a Python 2 and 3 binding for libinco_32 (inco_32.dll/libinco_32.so), the library used for INCO communication toIndelindustrial automation systems.To use it, you need to haveIndel Toolsinstalled, which provides the library.UsageThe Python API is for the most part a direct translation of the C API, with the exception that errors are reported using exceptions rather than return values, and output is provided as return values rather than through pointer arguments. Therefore, refer to theC API documentationfor details.Exampleimportinco_32target='MyTarget'try:cpuname=inco_32.GetVariable(target,'Target.Cpu',256)exceptinco_32.INCOErrorase:ife.m_uError==inco_32.ER_INCO_VAR_NOT_FOUND:print('where?')For more usage examples, see the tests intests/test_inco_32.py.InstallationThe binding is already installed in the Python installations included with Indel Tools (Indel Tools Setupon Windows, packagepython-inco32on Linux). These installations are intended for internal use by Indel Tools.For larger customer applications that require more packages to be installed, it is recommended that you use your own Python installation. For those, the package is available from PyPI:pip install inco_32To build from source,pip install buildand userm -rf build src/inco_32.egg-info && python3 -m build .
Package: incognitus-client
Incognitus Feature FlagIntegrating IncognitusInitializing the serviceBefore you're able to use the service you'll need to initialize with your tenant and application IDs.main.pyInitialize Incognitus servicefromincognitus_clientimportIncognitus,IncognitusConfigIncognitus.initialize(IncognitusConfig("{your tenant key}","{your app id}"))KeyDescriptiontenant_idYour tenant idapplication_idThe id of the applicationChecking featuresfromincognitus_clientimportIncognitussvc=Incognitus.instanceresponse="old feature text"if(svc.is_enabled("{feature name}")):response="new feature text"MethodsMethodDescriptionIncognitus.initialize(config)Initializes the service (must be called first)Incognitus.instance()The shared instance of the servicesvc.is_enabled(featureName)Checks if the flag is enabledsvc.is_disabled(featureName)Check if the flag is disabledsvc.get_feature(featureName)Fetches the feature from the server and returns it's statussvc.get_all_features()Fetches all features and stores them in the cacheCachingCurrently all known feature flags are cached when the app initializes. New features that are not found
in the cache are retrieved on-demand. The cache stays in place until the app is reloaded or by calling theget_all_features()method on the service.Future Caching StoriesSave verified cache to local storageProvide hard cache refresh (wipe cache if fails)Provide soft cache refresh (keep cache if fails)Customizable cache refresh timesOption to disable cacheChangelogPlease check the github release notes for changes.
Package: incolor
incolorDescriptionVery simple package that aims at adding some color to Your life.QuickstartAdd color codes to text (uses color numbers)>>>fromincolorimportincolor>>>incolor(4,'I\'m blue da ba dee')"\x1b[34mI'm blue da ba dee\x1b[0m"Add color codes to text (uses color names)>>>fromincolorimportincolor,Color>>>incolor(Color.blue,'I\'m blue da ba dee')"\x1b[34mI'm blue da ba dee\x1b[0m"Join multiple arguments in colorful manner>>>incolor(Color.brwhite,'First',2,'third',list())'\x1b[315mFirst 2 third []\x1b[0m'Color print function (behaves exactly likeprint(incolor(...))) (the is yellow here)>>>cprint(3,'Yellow: 🚢',123,'yay')Yellow:🚢123yayBoth functions acceptsepargument>>>incolor(0,'a',1,2,sep='\t')'\x1b[30ma\t1\t2\x1b[0m'>>>cprint(0,'a',1,2,sep='\t')a12TestsTo run tests executetest.shscript./test.shPrerequisites:dockerInternet connection 😃#TODOadd colors only if output is a TTYverify Windows support (probably not working?)add more ways to specify colors (f.e. from string:'red')add support for256 colorsadd support forTruecolor
Package: incolume.py.changelog
Python Incolume UtilsProjeto desenvolvido e administrado incolume.com.brEste gera o Changelog a partir dos registros encontrados emgit tag -n.Instalar o pacoteInstalação com pippipinstallincolume.py.changelogInstalação com pipenvpipenvinstallincolume.py.changelogInstalação com poetrypoetryaddincolume.py.changelogpoetryaddgit+https://gitlab.com/development-incolume/incolumepy.utils.git#mainAtualizar o pacoteAtualização com pippipinstall-Uincolume.py.changelogAtualização com pipenvpipenvupdateincolume.py.changelogAtualização com poetrypoetryupdateincolume.py.changelogpoetryupdategit+https://gitlab.com/development-incolume/incolumepy.utils.git#mainGerar pacote a partir dos fontes para instalaçãopoetrybuildDocumentação detalhadaExemplos da API disponíveis emdocs/apiIncolume Python ChangelogObjetivosEsta API automatiza a criação de um arquivo changelog utilizando os resgistros do git, para gerenciar melhor seus projetos, seguindo a metodologia do Keep a Changelog.DescriçãoO funcionamento é através da captura dos registros do comandogit tag -n,
obtendo assim data, etiquetas e modificações, gerando então um arquivo de
gerenciamento de mudanças relevantes para cada versão.No pacote há ferramentas para Quality Assurance (QA) como ruff, mypy, pylint,
isort, pydocstyle; além de ferramentas de segurança como bandit, pipaudit e safety.Exemplos e UsoDisponível emdocs/api.Registro de MudançasDisponível emdocs/about/CHANGELOG.md.ContribuidoresDisponível emdocs/about/CONTRIBUTORS.md.Tecnologias aplicadasDeseja aprender mais sobre alguns dos requisitos
não funcionais utilizados no projeto?
Consulte a sessãoPadrões Aplicados em Guia de Contribuíção.
Package: incolumepy.clinica
# UsageRun general rotines from clinic# InstallationTo install the latest stable version from PyPi:$ pip install -U incolumepy.inventario-clinicaTo install the latest development version directly from GitHub:$ pip install -U git+https://gitlab.com/development-incolume/incolumepy.inventario_clinica.git'@develop$ pip install -U git+https://gitlab.com/development-incolume/incolumepy.inventario_clinica.git'@master# Testing> bash runtests.shor> $ tox# Guia de contribuição## Repositório de desenvolvimento LocalConfigure o repositório de desenvolvimento local conforme o tutorial: https://brito.blog.incolume.com.br/2018/11/repositorio-pypi-local-com-devpi-server.html.### Ativar o servidor pypi local```devpi-server --stop && devpi-server --start && devpi use http://localhost:3141/root/```## Regras para codigicação1. Criar um novo **branch** para cada etapa de codificação.1. Crie o branch sempre a partir do master1. As **branches** terão finalidades específicas:* Introduzir novas funcionalidades (**feature**)* Corrigir comportamento inesperado (**bug**)* Corrigir comportamento inesperado que compromete o funcionamento (**critical**)* Alterar a forma, mantendo o comportamento (**refactor**)1. O nome da **branch deve ser prefixado com o tipo de alteração que será realizada** : (feature, bug, critical ou refactor)* exemplos via terminal:- bug/issue#21:```git co -b bug/issue#21 origin/master```- critical/issue#13:```git co -b critical/issue#13 origin/master```- feature/issue#23:```git co -b feature/issue#23 origin/master```- refactor/issue#30:```git co -b refactor/issue#30 origin/master```* Detalhes sobre git via terminal:- [Guia Rápido de comandos git (lado usuário)](http://brito.blog.incolume.com.br/2013/03/guia-rapido-de-comandos-git-lado-usuario.html)## Outros Detalhes- [wiki do projeto](https://gitlab.com/clinicaesteticabrito/inventario_clinica/wikis/home)
Package: incolumepy.makefilelicense
Makefile License Incolume PythonThis software take a License (https://choosealicense.com/licenses/) and agregate into the project.pip Installpipinstallincolumepy.makefilelicensepoetry Installpoetryaddincolumepy.makefilelicenseCommand makeLicenses avaliables:make[license-agpllicense-apachelicense-bsllicense-cc0license-gpl\license-lgpllicense-mitlicense-mpl]Options for make command:$make
cleanhelplicense-boost-v1
license-gnu-gpl-v3license-mozilla-v2release
toxclean-allinstall
license-cc0license-gnu-lgpl-v3lint
setupunlicenseformat
license-apache-v2license-gnu-agpl-v3license-mit
prereleasetest
Package: incolumepy.saj-projects
Pacote de utilidades==========Este pacote foi criado para atender as necessidadesespecíficas com propósito de aquisição dos textos nos atoslegislativos do Governo Brasileiro.* Presidência da República* Camara Federal* Senado FederalHistory============Examples=============Contributors=============@britodfbr## CHANGES3.2.1           logger centralizado3.2.0           Acrescentado o modulo atos_web_senado_federal3.1.1.dev20181006 testes para test_clean unitários implementados3.1.0.dev20180928 metodos check_parent e governo_ano acrescentados3.0.1.dev20180926 fix de dependências, README, CONTRIBUTORS3.0.1.dev20180925 configuração para distribuição pypi
Package: incolumepy.spreadsheet
# README## Check out do projetogit clonegit@gitlab.com:development-incolume/incolumepy.spreadsheet.git## Ambiente virtualcd incolumepy.spreadsheet
python -m venv /tmp/venv## Ativar ambiente virtualsource venv/bin/activate## Dependências requeridaspip install -rrequirements.txt## Gerar pacote pypipython setup.py bdist_egg bdist_wheel sdist –formats=gztar,zip## Upload pacote pypitwine upload dist/*
Package: incomevis
Paper|Step-by-step Notebook|Documentation|PyPI package|External ResourcesAre you apolicy-makerwho wants to see the dynamics of national income inequality? Are you aresearcherwho wants to visualize economic growth puzzles such as convergence? Or are you simply acurious individualwho wants to see your position in the national income distribution? Wonder no more because we presentincomevis, a library for income visualization (and more)!Comparing incomes is complicated. We offer three default deflators (consumer price index, household size, and regional price parities) to adjust nominal household income. The income adjustment process is automatically handled for you. You can further adjust our deflated incomes if you have additional variables that you want to incorporate. Also, if you likeinteractivevisualization, our graph can be displayed using JavaScript's amChart library. If you prefer ananimatedvisualization, we offer a dynamically controlled animation of our graph based on Python Matplotlib library.Happy visualizing economic complexity!Installationincomevis can be installed via pip:$pipinstallincomevisGalleryInteractive graph (top) and dynamic graph (bottom) is implement in JavaScript AmChart and Python Matplotlib, respectively. More instant examples of interactive graphs can be found atresearch.depauw.edu/econ/incomevis. Animated graphs with better control can be generated in a (preferably local) Python environment (for example, seethis notebook).4 levels of deflating income.Bellow are bootstrap resampling of 50p of DC in 1977 10000 times (bottom right) and 1 million times (bottom left). We also show the relative growth of CA and DC overtime.A completed and separated page for gallery will be available soon!ContactAny question, feedback, or comment can be directed tosttruong@stanford.eduorhbarreto@depauw.edu.
Package: incomfort-client
incomfort-clientPython client library forIntergas boilersaccesible via aLan2RF gatewayby abstracting its HTTP API. It includes a basic CLI to demonstrate how to use the library.This library was previously calledintouch-client, as it is known in the UK asInTouch, but in mainland Europe (especially the Netherlands, where is it popular) it is known asIncomfort.It is written for Python v3.6.7. It is available as aPyPi package.Porting from syncio librariesThis library is based uponhttps://github.com/bwesterb/incomfort, but usesaiohttprather than synchronous I/O (such asrequestsorhttplib).Where possible, it uses uses the same methods and properties asbwesterb/incomfort, but with the following differences:Gatewayclassadded kwargs:username,password(used for newer versions of firmware)Heaterclassrenamed:is_burning,is_failed,is_pumping,is_tappingmoved:room_temp,setpoint,setpoint_override,settoRoomclassnew/added:update,status,roomsRoomclass has been added, and some methods moved in fromHeatersame name:room_temp,setpointrenamed:override,set_overridenew/added:statusBasic CLI includedThere is a very basic CLI (this output has been formatted for readability):(venv)root@hostname:~/$pythoninclient.py${HOSTNAME}{'display_code':126,'display_text':'standby','fault_code':0,'is_burning':False,'is_failed':False,'is_pumping':False,'is_tapping':False,'heater_temp':31.22,'tap_temp':27.91,'pressure':1.23,'serial_no':'175t23072','nodenr':200,'rf_message_rssi':38,'rfstatus_cntr':0,'room_1':{'room_temp':26.4,'setpoint':19.5,'override':19.5},'room_2':{'room_temp':None,'setpoint':None,'override':19.0}}QA/CI via CircleCIQA includes comparing JSON fromcURLwith output from this app usingdiff(note the--rawswitch):(venv)root@hostname:~/$curl-XGEThttp://${HOSTNAME}/data.json?heater=0|\python-c"import sys, json; print(json.load(sys.stdin))">a.out(venv)root@hostname:~/$pythoninclient.py${HOSTNAME}--raw>b.out(venv)root@hostname:~/$diffa.outb.outNewer versions of the gateway require authentication:(venv)root@hostname:~/$pythoninclient.py${HOSTNAME}-u${USER}-p${PASS}(venv)root@hostname:~/$curl--user${USER}:${PASS}-XGEThttp://${HOSTNAME}/protect/data.json?heater=0
Package: incor
INstant COde Runner
runs the programs present in the mentioned directory instantaneously as and when changes are saved.VersionQualityDocumentationRequirementspython>=2.7watchdog>=0.8.2psutil>=4.3.0Getting StartedInstall it using pipsudopipinstallincorOrClone this repository to get started.gitclonehttps://github.com/lakshmanaram/Incor.gitAnd install it.pythonsetup.pyinstallYou can also install it for development.pythonsetup.pydevelopHow to UseNagigate to the folder where you want the files to be compiled and executed instantly and type this in the terminalincorOr else you can run it directly with the path of the directory.incor/path/to/the/directoryGeneral template for running incor.incor/optional/path/to/the/directory[<option><value>...]Using TemplatesYou can also add some template files in the directory where incor runs. The template files should be of the form ‘template.(some_extension)’ for example ‘template.c’ or ‘template.py’.
Whenever a new empty file is created inside the working directory with a particular extension, Incor searches for a template file with the same extension and writes the template into the newly created file.Example:All the empty files created in the present directory with .cpp extansion will have the contents of a.cpp, .c extansion will have the contents of a.c and .py extansion will have the contents of a.pyincor-taAll the empty files created in the present directory with extansion in [cpp,c,py] will have the contents of template.extension if available anywhere in the path/to/the/directoryincorpath/to/the/directory-tUsing Input filesYou can also add some input files in the directory where incor runs. The default input file is ‘input.txt’.
Whenever a program is executed and run, Incor provides the contents of the specified input file as input to the program.Example:All the successfully compiled and executed programs will use input.txt present in path/to/the/directory or in any of it’s sub-directories as inputincorpath/to/the/directory-iAll the successfully compiled and executed programs will use a.txt present in the current working directory or in any of it’s sub-directories as inputincor-ia.txtDemoYoutube linkConfiguring INCORincor can be configured for a run using these options --iTo specify the input file name for the to be compiled program(with extension).-tTo specify the name of template file(without extension).-cTo specify the C compiler to be used.-cppTo specify the C++ compiler to be used.-pyTo specify the python interpreter to be used.ContributorsSrivatsan RAdarsh BIf you have an idea for a new feature that could be added, Go ahead! I will be happy to see a pull request from you!
Package: incqueryserver-api-python-client
incqueryserver-api-python-clientThis package offers an easy way to connect to a running IncQuery Server instance.Connect to a running IncQuery Serverfromiqs_apiimportconnectNo authenticationiqs=connect("https://incqueryserver.url.com")OpenID Connect (OIDC)token="token"iqs=connect(address="https://incqueryserver.url.com",auth_header_name="Authorization",auth_header_value=f"Bearer{token}",use_auth_header=True)Basic Authenticationiqs=connect(address="https://incqueryserver.url.com",username="username",password="password")Issue API callsGETrequest example:response=iqs.server_management.get_server_info()POSTrequest example:fromiqs_clientimportmodelsresponse=iqs.demo.update_model_compartment_index(index_compartment=models.IndexCompartment(model_compartment="model_compartment_uri",indexes=["index1","index2"]))IMPORTANT:  It is recommended to provide parameters as keyword arguments (opposed to positional)Other optionsConfigure self-signed certificatefromiqs_clientimportConfigurationcustom_config=Configuration()custom_config.ssl_ca_cert="path/to/cert.cer"iqs=connect(address="https://incqueryserver.url.com",configuration=custom_config)Disable SSL verificationfromiqs_clientimportConfigurationcustom_config=Configuration()custom_config.verify_ssl=Falseiqs=connect(address="https://incqueryserver.url.com",configuration=custom_config)
Package: increaseviews
IncreaseViewsA python package that can be used to increase the views of any youtube channel.This python package cab be used to increase youtube views of any channel by automating the web browser.All the functions in the module are:-use_chrome(path,link,repetition,sleeptime_1,sleeptime_2)use_edge(path,link,repetition,sleeptime_1,sleeptime_2)chr_morethanone(path,number_of_videos,link_list,repetition,sleeptime_1,sleeptime_2)edge_morethanone(path,number_of_videos,link_list,repetition,sleeptime_1,sleeptime_2)parameters:path -> path where your webdriver is inlink -> link of the video that you need to increase the views ofrepetition -> number of views you need to increasesleeptime_1 and sleeptime_2 -> your video will repeat after random secondnumber_of_videos -> number of videos that you need to increase views oflink_list -> the links of all the videos that you need to increase the views of. Remember to put the link inside python listCode Example:from increaseviews import *

use_chrome("D:\system\chromedriver_win32\chromedriver","https://www.youtube.com/watch?v=R-PO2xeyNI8",1000,10,20) 

use_edge("D:\system\edgedriver_win64\msedgedriver","https://www.youtube.com/watch?v=R-PO2xeyNI8",1000,10,20) 

chr_morethanone("D:\system\chromedriver_win32\chromedriver", 2, ['https://www.youtube.com/watch?v=8iqL7yVU2Y4','https://www.youtube.com       /watch?v=pHh8ef2bdEI'], 3, 5, 10)

edge_morethanone("D:\system\edgedriver_win64\msedgedriver", 2, ['https://www.youtube.com/watch?v=8iqL7yVU2Y4','https://www.youtube.com/watch?v=pHh8ef2bdEI'], 3, 5, 10)