Saravanan666/pypi-org huggingface dataset:
Package: infonegara
Info NegaraLibrary Info Negara adalah modul Python yang dirancang untuk berinteraksi dengan REST Countries API. Modul ini menyediakan antarmuka sederhana melalui class libraryNegara untuk mendapatkan informasi penting tentang suatu negara. Dengan memanfaatkan modul requests, library ini mempermudah akses informasi seperti nama negara, ibu kota, mata uang, dan populasi, sehingga memudahkan pengembang untuk mengintegrasikannya ke dalam aplikasi mereka.APIPython Basic API wrapperhttps://restcountries.com/v2/InstallationInstall my-project with npmpipinstallinfonegaraUsageBasic Usage:frominfo_negaraimportlibraryNegaralibrary_negara=libraryNegara()nama_negara=input("Masukkan nama negara dengan bahasa inggris: ")info_negara=library_negara.get_info_negara(nama_negara)ifinfo_negara:print("\nInformasi Negara")print(f"Nama Negara: {info_negara.nama}")print(f"Ibu Kota: {info_negara.ibukota}")print(f"Mata Uang: {info_negara.matauang}")print(f"Jumlah Penduduk: {info_negara.populasi}")print("")else:print(f"Negara '{nama_negara}' tidak ditemukan.")
Package: infopkg
infoDo you want information about your packages?Authors@ArticOffInstallationInstall info with pip# Linux/macOSpython3-mpipinstall-Uinfopkg# Windowspy-3-mpipinstall-UinfopkgUsage/ExamplesOpen a terminalWrite thispython-minfo<YOURPACKAGENAME>That's all !FeedbackIf you have any feedback, please reach out to us onour discordLinksOfficial discord serverCodeSec CommunitySource
Package: inforcehub
Utilities for data science and customer managementFeaturescolorsmodule - to enable quick use of inforcehub branded colorsanonymizemodule - to encrypt customer identifiable data from a dataset and (optionally) create a keyInstallationTo install the module in your virtual environment using pip:pip install inforcehubTo upgrade your existing inforcehub module installation using pip:pip install -U inforcehubRequirementsPython 3.5 or laterDocumentationFull documentation can be found athttp://inforcehub.rtfd.orgGithub repositoryThe code can be found on GitHub athttps://github.com/Inforcehub/inforcehub.History0.2.2 (2018-11-07)Fixed document build on Read the Docs0.2.1 (2018-11-02)Fixed dependencies in PyPI0.2.0 (2018-10-19)Added Anonymize module to encrypt customer identifiable data in a datasetRemoved PyPy support due to PyPy and numpy incompatibility0.1.3 (2018-10-16)Minor bug fix0.1.2 (2018-10-16)Colors module refactored and additional tests writtenDocumentation updatedAdded support for Python 3.5+0.1.1 (2018-10-15)Documentation added0.1.0 (2018-10-15)First release on PyPI.Colors module providing inforcehub brand colors
Package: inford
inford 📬inford is a python library for sending dsicord webhooks.InstallationUse the package managerpipto install foobar.pipinstallinfordUsagefrominfordimportDiscordWebhookweb=DiscordWebhook(webhook_url="https://discord.com/api/webhooks/123***/abc***",username="inford",avatar_url="https://avatars.githubusercontent.com/u/55992548?v=4",content="Lorem ipsum dolor sit",title="Hey!",color="#0099ff",description="Lorem ipsum dolor sit amet, consectetur adipiscing elit.",author_name="INFORD",author_url="https://github.com/Prathamesh-B/inford",footer_text="thank you",footer_icon="https://user-images.githubusercontent.com/5679180/79618120-0daffb80-80be-11ea-819e-d2b0fa904d07.gif",image="https://avatars.githubusercontent.com/u/55992548?v=4",thumbnail="https://avatars.githubusercontent.com/u/55992548?v=4",)web.send()#or use send=True as a parameterPresetsfrominfordimportPresetsweb=Presets(webhook_url="https://discord.com/api/webhooks/123***/AbC***",)web.info("Python","Update available")web.error("Database","No data found")web.warn("System","Ram overload")web.success("Program","Executed successfully")ContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.LicenseMIT
Package: inforion
PiPy Version(https://img.shields.io/pypi/wheel/inforion)Current Build Statusinforion -uhttps://mingle-sso.eu1.inforcloudsuite.com:443/Fellow_DEV-f FellowKey.ionapi -m CRS610bulk -i newoutput.xlsx -o outF6F.xlsxMore inforFellow Consulting AG
Package: information-flow-analysis
Binary Information Flow Analysis tool using AngrAngr_information_flow_analysis is anangrIFC analysis tool for unix binaries.InstallInstall usingpip install information-flow-analysis.Usage ofanalyzeInformation Flow Analysis objectimportangrimportclaripyfrominformation_flow_analysisimportanalysisdefmain():proj=angr.Project('implicit3.out',load_options={'auto_load_libs':False})sym_arg_size=15arg0=claripy.BVS('arg0',8*sym_arg_size)state=proj.factory.entry_state(args=['./implicit3.out',arg0])high_addrs=[0x4011a6,0x4011a9]ifa=analysis.InformationFlowAnalysis(proj=proj,state=state,start="main",high_addrs=high_addrs)ifa.analyze()return0if__name__=="__main__":main()Usage offind_explicit_leaksInformation Flow Analysis objectimportangrimportclaripyfrominformation_flow_analysisimportanalysisdefmain():proj=angr.Project('implicit3.out',load_options={'auto_load_libs':False})sym_arg_size=15arg0=claripy.BVS('arg0',8*sym_arg_size)state=proj.factory.entry_state(args=['./implicit3.out',arg0])high_addrs=[0x4011a6,0x4011a9]ifa=analysis.InformationFlowAnalysis(proj=proj,state=state,start="main",high_addrs=high_addrs)ifa.find_explicit_leaks()return0if__name__=="__main__":main()Output relevant graphsOutput CFGSUseout.cfgs()in order to print all relevant control flow graphs in an seperate/outfolder.An example of this is could be:importangrimportclaripyfrominformation_flow_analysisimportoutdefmain():proj=angr.Project('implicit3.out',load_options={'auto_load_libs':False})sym_arg_size=15arg0=claripy.BVS('arg0',8*sym_arg_size)state=proj.factory.entry_state(args=['./implicit3.out',arg0])out.cfgs()return0if__name__=="__main__":main()Generally you want to look at thecfg_fast.pdfas it contains relevant information about instructions. This CFG is also very relevant in order to locate whichhigh_addrsyou will make confidential.Output all relevant graphs within theInformationFlowAnalysisobjectUseIFA.draw_everything()in order to print all relevant graphs contained in theIFA-object in an seperate/outfolder.An example of this is could be:importangrimportclaripyfrominformation_flow_analysisimportanalysisdefmain():proj=angr.Project('implicit3.out',load_options={'auto_load_libs':False})sym_arg_size=15arg0=claripy.BVS('arg0',8*sym_arg_size)state=proj.factory.entry_state(args=['./implicit3.out',arg0])high_addrs=[0x4011a6,0x4011a9]ifa=analysis.InformationFlowAnalysis(proj=proj,state=state,start="main",high_addrs=high_addrs)ifa.draw_everything()return0if__name__=="__main__":main()This is primarily used to debugging purposes or if you manually want to check for leaks. (NOTE: That you need to supplyhigh_addrsin order to do this)
Package: informative-iterator
What is this?I wanted a light, clean, configurable alternative to tqdm. So I made one, complete with animations.How do I use this?pip install informative_iteratorfrominformative_iteratorimportProgressBarimporttime## example 1#forprogress,each_elementinProgressBar([1,2,3,"any iterable thing"]):time.sleep(0.002)# example output:# [>..................................]  0.00% |    0/1000 | started: 13:18:32 | eta: ________ | remaining: ________ |# example output:# [==============>....................] 42.50% |  425/1000 | started: 13:18:32 | eta: 13:18:44 | remaining: 0:07sec |# example output:# [================================>..] 93.10% |  931/1000 | started: 13:18:32 | eta: 13:18:44 | remaining: 0:01sec |# example output:# Done in 0:12sec at 13:18:44## example 2#importrandomdefcustom_iterable():whileTrue:yieldrandom.random()forprogress,eachinProgressBar(custom_iterable(),iterations=10000):time.sleep(0.002)## example 3#forprogress,eachinProgressBar(10000):time.sleep(0.002)# index, just like using enumerate()print('progress.index   = ',progress.index)# percent with two decimal places. ex: 99.5print('progress.percent = ',progress.percent)# the output of time.time() for this iteration (seconds since unix epoch)print('progress.time    = ',progress.time)# boolean (updates dont always get printed every iteration)print('progress.updated = ',progress.updated)# int, doesn't change with each iteration: its the size of the iteratorprint('progress.total_iterations = ',progress.total_iterations)## example 4## update ~30 times a second for smooth looking progressforprogress,eachinProgressBar(10000,seconds_per_print=0.03):time.sleep(0.002)## example 5## have all progress bars default to trying to update update ~30 times a secondProgressBar.configure(seconds_per_print=0.03,)forprogress,eachinProgressBar(10000):time.sleep(0.002)## example 6#ProgressBar.configure(# all the options (these exist as arguments for ProgressBar as well)layout=['title','bar','percent','spacer','fraction','spacer','start_time','spacer','end_time','spacer','remaining_time','spacer',],spacer=" | ",minmal=False,# False => defaults to normal layoutminimal_layout=['title','bar','spacer','end_time','spacer',],inline=True,disable_logging=False,# turn off all the outputprogress_bar_size=35,# 35 charactersseconds_per_print=1,# print every secondpercent_per_print=10,# And print every 10% of progress)forprogress,eachinProgressBar(10000):time.sleep(0.002)
Package: informverify
# inform-verify
Verify InForm format assumptions## Install and run inform-verifyFrom a python3 environment$ pip install informverify$ informverify myinformfolder –panel_source mypanels.json –panel_name Disease1 –panel_version 1.0## Run inform-verify through Docker$ docker pull vacation/inform-verify:latest$ docker run –rm -v $(pwd):$(pwd) vacation/inform-verify:latest informverify $(pwd)/myinformfolder –panel_source $(pwd)/mypanels.json –panel_name Disease1 –panel_version 1.0
Package: info-serie-tv
Serie TV infoWorks with onlyPython 3and give all infos about serie TV info.Infos are taken from@SerieTvItaly_bot Telegram Botand availability depend on bot's users.For example if noone open Stranger Things to watch the 3x01 in streaming, bot will not compile all infos and our API will not be sensible to serie TV and/or episodes.Another example, if Stranger Things was opened but not the first episode of the third season, API give serie TV info but not about the third season.In general, if bot's user open an episode automaticalli API became sensible to that info.How it worksThere is only one dependecies:requestsThis module give you the JSON info complete (except cast, crew and guest star) about serie, episode and season.You can have visual simple infos if you execute from the command-line, you can have all infos if execute from python code.Cast, Crew, Guest Star, Season info and Episode info will not be shown with 'beauty print' due to info richness, so only essential info will be shown and have a beautiful appearance.How to installThis code can be installed withpip, if you have pip installed execute the pip command to install new packagepip install info_serie_tvExample of usageYou have 2 ways to use my package from command-line, simply writeinfo_serie_tvand creation start!You can also use with your python project, here an example:importinfo_serie_tvmy_username='example'my_password='example_pw'# For first create our API Object (very simple)api_account=Bot_API('terminal_api','terminal_api')# credential are irrilevant# Now get info from SerieTvItalt_botbot_accout=SerieTvItaly_bot(api_account)# This API command will retrive all infosbot_accout.terminal_api()# if everything is okay, JSON info is in attribute 'serie_json'Complete_Info=bot_accout.serie_json# If you wanna see the beauty printbot_accout.beauty_print()
Package: infostore
This is a very minimalistic database moduleGeneral useTo create a database:>>>frominfobase import infobase>>>data = infobase(name, [list, of, values])``>>>data.new_infobase()This will create a new database and store itYou can then add a row like so:>>>data.add_row([items,to, add])You can always print your data like so:>>>printdata| Num | list  | of | values ||---|-----|--|------||   1 | items | to | add    |Note: items will be closer togetherChangelog0.8.AlphaNotes for this release:Added a changelogIf you have any bugs or ideas, or anything else:email me atshadow889566@gmail.com
Package: infotags
infotags========* Project Home: https://github.com/SaintAttila/infotags* Python Package Index: https://pypi.python.org/pypi/infotagsInfotags extracts package or module meta information for use by setup.py andpackaging utilities. It scans your package or module's source code for tags ofthe form `__tag_name__ = literal_value`, removing the double underscores anddropping them into a dictionary for easy access. It also captures the package ormodule's name and docstring (if any) in the process. The key advantage to usinginfotags is that it doesn't import your package or module, which means it can beused even during installation when your package or module's dependencies haven'tbeen installed yet.Here's an example of how to use the infotags module in your setup.py script:import sysfrom distutils.core import setup# If you don't like this try/except block, feel free to include infotags.py# in your distribution next to your setup.py script. Then it will be# guaranteed to always be available.try:import infotagsexcept ImportError:print("The installer for this package requires the infotags module. ""Please install it first with 'pip install infotags'.")sys.exit(2)# Use the name you would actually use to import your package or module.PACKAGE_NAME = 'name_of_package_or_module'setup(**infotags.get_info(PACKAGE_NAME))For a more extended example, see the setup.py script for the infotags moduleitself.This package is released under the MIT license. Full copyright/licenseinformation for infotags:Copyright (c) 2015-2017 Aaron HosfordPermission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), todeal in the Software without restriction, including without limitation therights to use, copy, modify, merge, publish, distribute, sublicense, and/orsell copies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included inall copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISINGFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGSIN THE SOFTWARE.
Package: infotest
Test LibaWhat is this?The module allows you to work with files in just one line of code, without the need to manually open and close the file each timeQuick GuideThe module is based on the following structure:f = open('data.txt')
data = f.readlines()
f.close()Which Python provides by standard.UsingUsing the library is as simple and convenient as possible:Let's import it first:
First, import everything from the library (use thefrom...import *construct).Examples of all operations:Writing the contents of an entire file to a variable using theread()function:temp = File(path='test.txt').read()Writing the contents of an entire file to a variable line by line using thereadlines()function:temp = File(path='test.txt').readlines()Write only the first line from a file using thereadline()function:temp = File(path='test.txt').readline()Writing data from a variable to a file using write() (overwriting or creating a file):temp = "Test data"
File(path='test.txt', data=temp).write()Adding data from a variable to a file using write() (or creating a file):temp = "Test data"
File(path='test.txt', data=temp).add()DeveloperMy site:link
Package: info-tik
LegendsLIBIt's a Usefull Project for Developers ... It checkers Emails Found Or Not Found• DevVlopered The Lib BY ALAA7X- SHAFEY•Installing :pip install info_tikPY:-ALAA7X-ELSHAFEYhttps://t.me/ALAA7Xhttps://t.me/Elshafey_Team
Package: infotr
infotrA traceroute tool that also displays IP information.This tool has only been tested on Linux.Quick StartFirst, install this tool from PyPI.pipinstall--user-UinfotrSince Scapy needs to open raw sockets, this tool requires Python to have theCAP_NET_RAWcapability to run. You can also run this tool as root. Run the following commands to set/unset theCAP_NET_RAWcapability for the Python binary. Remember to unset the capability when you're done.# set the capabilitysudosetcapcap_net_raw=+eip/usr/bin/python3.9# remove the capabilitysudosetcapcap_net_raw=-eip/usr/bin/python3.9Finally, launch this tool via theinfotrcommand.infotr1.1.1.1Full UsagesYou can also see the help messages with the-h/--helpswitch.usage: infotr [-h] [-m MAX] [-t TIMEOUT] hostpositional arguments:host                  destination hostnameoptional arguments:-h, --help            show this help message and exit-m MAX, --max MAX     maximum number of hops (default: 30)-t TIMEOUT, --timeout TIMEOUTICMP timeout in seconds (default: 2)
Package: infoworkssdk
Infoworks Python SDKIntroductionThe Infoworks Python library provides convenient access to the Infoworks v3 APIs from
applications written in the Python language.It includes pre-defined set of functions performing various actions.Supports Infoworks version 5.3 onwardsTable of ContentsIntroductionDocumentationInstallationUsageExampleAuthorsDocumentationhttps://infoworks.github.io/infoworks-python-sdk/InstallationYou don't need this source code unless you want to modify the package. If you just want to use the package, just run:pipinstallinfoworkssdkRequirementsPython 3.4+ (PyPy supported)UsageThe library needs to be configured with your user's refresh token key which is available in your Infoworks UI. Set refresh_token to its value:frominfoworks.sdk.clientimportInfoworksClientSDK# Your refresh token hererefresh_token="zThziQ7MoJJPYAha+U/+PBSTZG944F+SHBDs+m/z2qn8+m/ax8Prpzla1MHzQ5EBLzB2Bw8a+Qs9r6En5BEN2DsmUVJ6sKFb2yI2"# Initialise the clientiwx_client=InfoworksClientSDK()iwx_client.initialize_client_with_defaults("http","10.18.1.28","3001",refresh_token)ExampleCreate Oracle Sourcesrc_create_response = iwx_client.create_source(source_config={
            "name": "iwx_sdk_srcname",
            "type": "rdbms",
            "sub_type": "oracle",
            "data_lake_path": "/iw/sources/iwx_sdk_srcname",
            "environment_id": "",
            "storage_id": "",
            "is_source_ingested": True
        })AuthorsNitin B.S (nitin.bs@infoworks.io)
Abhishek Raviprasad (abhishek.raviprasad@infoworks.io)
Package: infp
Infinite PrecisionAdding big big number!!UsagefrominfpimportBigNumbernum1=BigNumber("1648976548.65498")num2=BigNumber("-4564984945.654")sum=num1+num2# -2916008396.99902print(sum)num1=BigNumber("10")num2=BigNumber("10")sub=num1-num2print(sub)# 0ans=BigNumber("132")/BigNumber("132")print(ans)# 1Unit TestInstall pytest if haven'tpip install pytestRun test commandpytestRun the main program examplepython main.py
Package: infpy
Infpyis a python package I have put together that implements some of the algorithms I (John Reid)
have used in my research. In particular it has a Gaussian process package that is largely based on
the excellent book,Gaussian Processes for Machine Learningby Rasmussen and Williams.The Gaussian process package is the only infpy package that is extensively documented so far but you are
welcome to try out the others. The Gaussian process package has the following attributes:noisydata is easily modelledmany differentkernelsare supported out of the box allowing many models to be testedkernelcomposition(point-wise sum and product) is intuitive permitting rapid model evaluationmaximum likelihoodestimation of hyper-parameters facilitates model comparisonnumpyintegration allows easy interoperability with other python scientific toolkitshigh qualitymatplotlibplots are easy to createbest of both worlds : ease of using an interpreted language but all performance critical linear algebra performed incompiled code
Package: infraboxcli
InfraBox CLIWith the InfraBox CLI you can run your InfraBox jobs on your local machine and configure your project.InstallTo install infraboxcli you need to have these requirements already installed:gitdockerpython & pipThen simply run:pip install infraboxcliYou can validate your installation by running:infrabox versionList JobsIf you have a more complex project it may be helpful to list all available jobs in it. For this you may use:infrabox listIt outputs the names of all available jobs. An example output may look like this:tutorial-1
tutorial-1/step1
tutorial-1/step2
tutorial-1/step3
tutorial-1/step4
tutorial-1/step5
tutorial-1/tutorial-1/step1/tests
tutorial-1/tutorial-1/step2/tests
tutorial-1/tutorial-1/step3/tests
tutorial-1/tutorial-1/step4/tests
tutorial-1/tutorial-1/step5/testsRun a JobInfraBox CLI may be used to run you jobs on your local machine. It will also respect all the dependencies and run the jobs in the correct order. Available options are:usage: infrabox run [-h] [--no-rm] [-t TAG] [--local-cache LOCAL_CACHE]
                    [job_name]

positional arguments:
  job_name              Job name to execute

optional arguments:
  -h, --help            show this help message and exit
  --no-rm               Does not run 'docker-compose rm' before building
  -t TAG                Docker image tag
  --local-cache LOCAL_CACHE
                        Path to the local cacheTo run all jobs defined in yourinfrabox.jsonfile simply do:infrabox runIn case you have multiple jobs defined an want to run only one of them you can do:infrabox run <job-name>Push a JobTo be able to use infrabox push you have to create a project in the InfraBox Dashboard and create an auth token for it.Auth Token and InfraBox API Host must be set as environment variables.export INFRABOX_CLI_TOKEN=<YOUR_ACCESS_TOKEN>
export INFRABOX_URL=<INFRABOX_URL>To push your local project simply do:infrabox pushThis will compress your local project and upload it to InfraBox. Now you can open the InfraBox Dashboard and navigate to your project. You should see the jobs running on InfraBox.You can also watch the console output of your pushed jobs locally. Just use the--show-consoleoption.infrabox push --show-consolePull a JobIn case you would like to run a job which has been already executed on InfraBox you can useinfrabox pull. It will download the docker container and all its inputs so you can the same container locally and investigate any issue.infrabox pull --job-id <JOB_ID>You can find the exact command for each job on the job detail page of InfraBox underRun localSecretsIf you reference secrets in your job definition (i.e. as environment variable) then you can add a.infraboxsecrets.jsonfile to your project right next to the.infrabox.jsonfile. This file should then contain all your secrets referenced in your job definition as a simple object:{
    "SECRET_NAME1": "my secret value",
    "Another secret": "another value"
}How to get supportIf you need help please post your questions toStack Overflow.
In case you found a bug please open aGithub Issue.
Follow us on Twitter:@Infra_Boxor have look at our Slack channelinfrabox.slack.com.