Saravanan666/pypi-org huggingface dataset:
Package: islykill
A simple python client for the Icelandic government authentication service Íslykill (www.islykill.is)You must apply for access before using this library.Usage=====Just remember to set the `username`, `password` and `service_id` as your own.`service_id` is the ID you are given from the national registry of Iceland (www.skra.is), e.g. forwww.betraisland.is the id is `betraisland.is` and the Íslykill authentication url is`https://innskraning.island.is/?id=betraisland.is`>>> import islykill>>> islykill.username = "Your-username-here">>> islykill.password = "Your-password-here">>> islykill.service_id = "dev.roddfolksins.is">>> token = 'Some-received-token' # the token received from island.is>>> ip_address = '1.1.1.1' # remote user ip address>>> result = islykill.generate_saml_from_token(token, ip_address)>>> print result{'ssn': '1234567890', 'ip_address': '1.1.1.1', 'name': u'Jon Jonsson'}If an error occurs, the result from `generate_saml_from_token` will return a dictionary with thekey "error" with the body of the error as value, e.g.>>> print result{'error': 'HTTPError = 500'}500 usually mean that you can make the request again immediately, just a glitch in thewebservice.>>> print result{'error': 'Unable to find SAML assertion from token.'}"Unable to find SAML assertion from token" means that the token is invalid or expired somehow,which means the user has to authenticate again.
Package: ism
Interactive SSH MenuExplore the docs »View Demo·Report Bug·Request FeatureTable of ContentsAbout the ProjectBuilt WithGetting StartedInstallationUsageRoadmapContributingLicenseContactAcknowledgementsAbout The ProjectThe ISM project is a simple CLI script. ISM collects all your hosts from your ~/.ssh/config file, expect host that starts with a *.The biggest advantage of ISM over similar programs ISM can handleIncluderules.
Which is very usefull if you working with dozens of hosts.Built WithPython3questionaryGetting StartedTo get a local copy up and running follow these simple steps.InstallationInstall by pippipinstallismFrom sourcegitpullhttps://github.com/Sch-Tomi/ism.gitcdism
pipinstall.UsageAfter install, you can simply open ISM byismin terminal. Use arrow keys to select a host then pressEnter. A SSH will open on the same terminal with the selected host.RoadmapSee theopen issuesfor a list of proposed features (and known issues).ContributingContributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make aregreatly appreciated.Fork the ProjectCreate your Feature Branch (git checkout -b feature/AmazingFeature)Commit your Changes (git commit -m 'Add some AmazingFeature')Push to the Branch (git push origin feature/AmazingFeature)Open a Pull RequestLicenseDistributed under the GPLv3 License. SeeLICENSEfor more information.ContactProject Link:https://github.com/Sch-Tomi/ism
Package: ismember
ismemberismemberis a Python library that checks whether the elements in X is present in Y.⭐️ Star this repo if you like it ⭐️Documentation pagesOn thedocumentation pagesyou can find more information aboutismemberwith examples.Install ismember from PyPIpipinstallismember# normal installpipinstall-Uismember# update if neededImport ismember packagefromismemberimportismemberQuick exampleUse the documentation pages for more detailed usage. Some of the most used functionalities are linked below.fromismemberimportismember# Example with listsI,idx=ismember([1,2,3,None],[4,1,2])I,idx=ismember(["1","2","3"],["4","1","2"])Example: Check whether the elements of X are present in YExample: Determine the corresponding location of the values that are present in Y arrayExample: Row wise comparisonExample: Elementwise comparisonReferenceshttps://in.mathworks.com/help/matlab/ref/ismember.htmlMaintainerErdogan Taskesen, github:erdogantContributions are welcome.If you wish to buy me aCoffeefor this work, it is very appreciated :)
Package: ismeowix
Python Library: ismeowixLibrary for Meowix Python applications to check if the intended operating system is being usedInstallationNOTE: Information in this section is currently inaccurate! Please give us some time to get the packages uploaded and sorted out before following these steps.You may either install a pre-built version of the package or build it yourself.Downloading a pre-built packagePre-built packages are available onPyPI(for Windows and macOS) and inMeowix-Repo.Building the package manuallyTo build the package manually, follow these steps:Install needed dependencies:sudopacman-S--neededpythonpython-buildpython-coloramapython-distroClone this repository:gitclonehttps://github.com/Meowix-Linux/python-ismeowix.gitNavigate to the repository directory:cdpython-ismeowixBuild the package:python-mbuildAfter the above command finishes, there should be package files in thedist/directory.Looking for thepacmanversion of this package? That's inpython-ismeowix-PKGBUILD.Usage in PythonThe library is intended to check if the operating system being used is Meowix Linux. If it is not, it will exit, displaying an error.First, import the package:importismeowixThen call the check function (usually at the very beginning of a given script):ismeowix.check()LicenseThis repository is licensed under theGPLv3 License. If you have found that Meowix has violated any licenses or copyrights, please don't hesitate to open an issue on the repository/repositories that do so, and we will do our best to respond in a timely manner.
Package: is-minified-js
# is-minified-jsDetecting minified javascript files## Installation```bash$ pip install is-minified-js```## Usage```pythonfrom is_minified_js import is_likely_minifiedis_likely_minified('/path/to/file.js')```## LicenseThe MIT License (MIT)Copyright (c) 2017 BosonDataPermission is hereby granted, free of charge, to any person obtaining a copy ofthis software and associated documentation files (the "Software"), to deal inthe Software without restriction, including without limitation the rights touse, copy, modify, merge, publish, distribute, sublicense, and/or sell copiesof the Software, and to permit persons to whom the Software is furnished to doso, subject to the following conditions:The above copyright notice and this permission notice shall be included in allcopies 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, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THESOFTWARE.
Package: ismrpy
ismrpyReads ismr files and provides with a panda data frameGetting StartedPrerequisitesThings needed before installation of packagepip install numpy
pip install pandasInstallationpip install ismrpyUsageInputs-filename= Name of the fileIf provided with lat and lon program calculates Ionospheric pierce points.lat= latitude of station
lon=longitude of station
IPP=Height of ionospheric layer in kilometers (default 350 KM)
skiprows=Number of rows to be skipped(default None)To read general ismr fileimport ismrpy
data=ismrpy.read_ismr(filename=Name_of_file)To read specific files with header and with extra number of columns:ismrpy.ismr_column provides the column names, if there is an extra column in ismr (usually from ismr files from LISN networks has filename as extra column) add extra column using following commandismrpy.ismr_column.append('Name of the column')To skip the first line of the file use skiprows=1data=ismrpy.read_ismr(filename=Name_of_file,skiprows=1)AuthorsAll are welcome to contribute to the project
See also the list ofcontributorswho participated in this project.LicenseThis project is licensed under the GPL-3 License - see theLICENSE.mdfile for details
Package: is-msgs
is-msgsRepository containing the schema for standard ::is messages.UsageTo use protocol buffers with Python, simply run:pipinstall--useris-msgsIf your project contains messages using a message from this repository, e.g.:syntax="proto3";import"is/msgs/common.proto";messageMyMessage{is.common.Posepose=1;}You can build using:python-mis_msgs.utils.build<LIST_OF_PROTO_FILES>Releasing new versionsIt's important to test your package before release it. You can do that installing it locally running the command bellow. It's recommended to use virtual environments.pythonsetup.pyinstall--userEnsure that the new features added are working properly. Afterwards, you'll need do build a tarball file with package's content.pythonsetup.pysdistA.tar.gzfile will be created ondist/folder, containing the version on its name. Now, use thetwinetool to send you package toPyPi. Username and password will be required.twineuploaddist/is_msgs-$(cat.version).tar.gz
Package: ismslib
ismslibVery simple and easy to use Python 3 library for integrating SSLWireless SMS API.Installationusing virtual environment (pipenv)pipenvinstallismslibusing pip globallypython3-mpipinstallismslibExamplefromismslibimportISMS# Contact with SSLWireless Key Account Manager for these credentialsconfig={"username":'<user>',"password":'<pass>',"sid":'<SID>',}response=ISMS.set_config(config)\.set_body("আসসালামু আলাইকুম").make_unicode()\.set_recipient(['88018XXXXXXXX','88019XXXXXXXX'])\.send()print(response)ifresponse['error']elseprint('success')Usage1. First we import the libraryfromismslibimportISMS2. Set CredentialsCreate a dictionary with user credentials obtained from SSLWireless.config={"username":'',# Please add your username provided by SSLWireless"password":'',# Please add your password provided by SSLWireless"sid":'',# Please add your SID provided by SSLWireless}3. Set dataCall needed methods with valid dataISMS.set_config(config)# Set config valuesISMS.set_body("আসসালামু আলাইকুম")#Set SMS body text, Can be English or Unicode BanglaISMS.make_unicode()# Use for Bangla SMS, otherwise is not neededISMS.set_recipient(['88018XXXXXXXX','88019XXXXXXXX'])# list of mobile numbers to send toISMS.set_debug(True)# __DO NOT USE IN PRODUCTION__. Prints useful information on console.response=ISMS.send()# Finally send SMS.optionally, methods can be chained togetherresponse=ISMS.set_config(config)\.set_body("আসসালামু আলাইকুম").make_unicode()\.set_recipient(['88018XXXXXXXX','88019XXXXXXXX'])\.set_debug()\.send()4. Check the returned responseWe can print out the response in consoleprint(response)ifresponse['error']elseprint('success')Return values"send()" returns a dictionary containing 3 values{'error':True,'msg':'Login FAILED. Please check your username and password.','json':'{"REPLY": {"PARAMETER": "OK", "LOGIN": "FAIL"}}'}1. error [boolean] : False if SMS sent successfully, True on error2. msg [string] : Error message. Explains the reason of failure.3. json [json string] : Raw API response, it's there if needed.ContributionStar ⭐ this repo if you find it useful. Any feedback is much appreciated. For official support / user credentials, contact your Key Account Manager (KAM).
Package: ismyk8ssecure
ismyk8ssecureis a FOSS tool to check whether your K8s cluster contains previously reported vulnerabilities.Get Started in 60 seconds !Make sure you meet the following prerequisitesPrerequisites:kubectl is configuredto connect to cluster.Optional, but highly recommended: make sure you are in apython venv.Simply run the following commands, and run your first scan.pip install ismyk8ssecureismyk8ssecureHow It Works:This tool consists of 3 components:Advisories:These are yaml files with following schema:vulnerability_id:vulnerability_description:vulnerable_components:-component_name:vulnerable_versions:[]# These are computed from `vulnerable_version_ranges`vulnerable_version_ranges:[]# These are manually filledreferences:[]last_updated_at:created_at:Advisories can be found in theadvisoriesdirectory in this repo.Version Detectors:These are functions which detects the version of a particular k8s component. See examples in TODO.Vulnerability Detectors:These are functions defined per (vulnerability, k8s component) pair. They are called depending upon the results of above 2 components. They verify whether the corresponding "vulnerability" is present in the detected "k8s component".Roadmap:Convert most of the kubernetes security advisories into machine readable format.Implement fine tuned vulnerability detectors and eventually become asmart npm audit.
Package: isnalyser
Automated isnād tree visualisationsFor scholars studying Ḥadīth texts, drawing anisnādtree with more than 40 transmitters is a tidious work and finding the right medium to desplay it fully can even prove to be impossible. Theisnalyseris a simple program for the automation ofisnādtrees drawing and their customable display in handy formats.The motivation behind the projectTheisnalyseraims at facilitating the analysis of large quantity ofaḥādīthand more specifically their chains of transmiters orasānidby allowing scholars to visualise these chains of transmitters quickly in a complete graph that includes geo-spatial and chronological information.Who is it for?Theisnalyseris open-source and publicly available. It is meant for scholars in Ḥadīth studies who are analysing a great number ofaḥādīthand need to visualise their chains of transmitters in a single graph. The program can also be used by any scholars in Islamic studies or else who want to visualise the transmission of a text or its recension history. All data that follows the pattern of numerous chains of transmitters/scribes/citations/etc. can serve as input for the present program.How?Isnalyser can be installed easily and is ready to use within seconds.InstallationpipinstallisnalyserUsageA nice function of isnalyser isview_graph. Let's import it!fromisnalyserimportview_graphNow, if you alreadyhave some dataavailable that you want to display as an Isnad tree, you can use the function we just imported like so:view_graph('/path/to/your/data/transmitters.csv',# path to transmitters file'/path/to/your/data/transmissions.csv',# path to transmissions file15)# step size of timelineIf youdon't have any data yet, or just want to get a feel for it, we provided some examples. By looking at them, you can also find out how the data needs to be structured for isnalyser to work.view_graph('',# you can write anyting here, as we don't need it'',# same is true here15,# 15 is a good step size for the exampleuse_example=True)# use example dataContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Package: is-natural-number
is-natural-numberCheck if a value is anatural number.I'm aspiring to make open-source my full-time work. If you or your company likes the work that I do, please consider supporting me.Installpipinstallis_natural_numberUsagefromis_natural_numberimportisNaturalNumberisNaturalNumber(5)//TrueisNaturalNumber(0)//FalseisNaturalNumber(0,True)//TrueisNaturalNumber(-5)//FalseisNaturalNumber('-45')//FalseAPIisNaturalNumber(value, includeZero)value:int, str- Value to checkincludeZero:bool- Whether or not to consider0as a natural number.Testpythontest.pyContributeDon't be scared raise an issue or a pull request! Any contributions, no matter how big or small will land your picture here.
Package: isnlp
inlp (innovata Natural Language Processing)NLTKKoNLPy (https://pypi.org/project/konlpy/)사전작업ROOT_PATH 를 OS-환경변수로 수동으로 저장.
: export ROOT_PATH=your_root_path임시방편 작업 (PyPI 패키지 정식 등록 전)LIB_PATH 를 OS-환경변수로 수동으로 저장.
: export LIB_PATH=~/libs
Package: isnude
nudity (fixed).. image::https://travis-ci.org/canaydogan/nudity.svg?branch=master:target:https://travis-ci.org/canaydogan/nudity:alt: Build statusAboutNudity detection with re-trained Tensorflow MobileNet Model. Accuracy is 92.2% based on my dataset.Installation.. code-block:: sh$ pip install isnudeRequirementsPython3.5+Usagevia command-line.. code-block:: sh$ nudity --image=IMAGE_FILEvia Python Module.. code-block:: pythonfrom nudity import Nudity
nudity = Nudity();
print(nudity.has('/file/path/example.jpg'))
# gives you True or False

print(nudity.score('/file/path/example.jpg'))
# gives you nudity score 0 - 1
Package: is-number
A Python library to determine if something is a number.Installationpipinstallis-numberDevelopingThis project usesblackto format code andflake8for linting. We also supportpre-committo ensure
these have been run. To configure your local environment please install these development dependencies and set up
the commit hooks.$pipinstallblackflake8pre-commit$pre-commitinstallTestingThis project usespytestto run tests and also to test docstring examples.Install the test dependencies.$pipinstall-rrequirements_test.txtRun the tests.$pytest===3passedin0.13seconds===ReleasingReleases are published automatically when a tag is pushed to GitHub.# Set next version numberexportRELEASE=x.x.x# Create tagsgitcommit--allow-empty-m"Release$RELEASE"gittag-a$RELEASE-m"Version$RELEASE"# Pushgitpushupstream--tags
Package: is-number-priyatham
A Python library to determine if something is a number.Installationpipinstallis-number-priyathamDevelopingThis project usesblackto format code andflake8for linting. We also supportpre-committo ensure
these have been run. To configure your local environment please install these development dependencies and set up
the commit hooks.$pipinstallblackflake8pre-commit$pre-commitinstallTestingThis project usespytestto run tests and also to test docstring examples.Install the test dependencies.$pipinstall-rrequirements_test.txtRun the tests.$pytest===3passedin0.13seconds===# Set next version numberexportRELEASE=x.x.x# Create tagsgitcommit--allow-empty-m"Release$RELEASE"gittag-a$RELEASE-m"Version$RELEASE"# Pushgitpushupstream--tags
Package: iso
isoiso is a python package aimed at simplifying the development and deployment cycle associated with building machine-learning models. It enables much more mental clarity during the process of designing a learning algorithm by allowing developers to easily compartmentalize the problem they’re working on.Features:Ability to define modular data transformations that become a part of your model. This helps developers stay organized during the model building process, and makes transitioning models across developers painless.Tools for transforming both predictors AND responses in a single step.Tools for easily doing data augmentation.Ability to easily save and deploy models.Allows for more intuitive interaction with model building process.Comprehensive documentation is currently lacking, but will be included in the next release.DocumentationFor installation and usage instructions please see thedocumentation.Questions/FeedbackFile an issue in theGitHub issue tracker.
Package: iso18245
python-iso18245A Python implementation of the ISO 18245 Merchant Category Codes database.Installationpip install iso18245Usage>>>importiso18245>>>iso18245.get_mcc("5542")MCC(range=MCCRange(start='5000',end='5599',description='Retail outlets',reserved=False),iso_description='Automated fuel dispensers',usda_description='Automated Fuel Dispensers',stripe_description='Automated Fuel Dispensers',stripe_code='automated_fuel_dispensers')>>>iso18245.get_mcc("3000")MCC(range=MCCRange(start='3000',end='3999',description='Reserved for private use',reserved=True),iso_description='',usda_description='UNITED AIRLINES',stripe_description='',stripe_code='')>>>iso18245.get_mcc("3000").usda_description'UNITED AIRLINES'>>>iso18245.get_mcc("3000").rangeMCCRange(start='3000',end='3999',description='Reserved for private use',reserved=True)>>>iso18245.get_mcc("999999")Traceback(mostrecentcalllast):…iso18245.InvalidMCC:999999External linksWikipedia: ISO 18245ISO Standard 18245:2003AFNOR: ISO 18245Stripe MCC ListUSDA MCC List (incl. private MCCs)VISA Merchant Data Standards Manual
Package: iso2web
Tool Sends Proofpoint Isolation Logs to a WebhookThis tool sends Proofpoint Isolation data to a webhook of your choice.Requirements:Python 3.9+python-dateutilrequestscryptographyInstalling the PackageYou can install the API library using the following command.pip install git+https://github.com/pfptcommunity/iso2web.gitUse CasesSIEM solution without Proofpoint Isolation collector eg. LogRythmJSON post to data lake solutionUsageusage: iso2web [-h] {list,delete,run,add} ...

Tool to send Proofpoint Isolation data to LogRythm

optional arguments:
  -h, --help             show this help message and exit

Required Actions:

  {list,delete,run,add}  An action must be specifiedCreating a new API profileiso2web add -e url -i url_iso_prod -t https://webhook.site -k xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxDeleting API profilesiso2web delete -i url_iso_prodRunning API profilesiso2web run -i url_iso_prodTo ignore certificate issues us the --ignore syntax shown below.iso2web run -i url_iso_prod --ignoreListing all API profilesiso2web listBasic Data FlowFutureImplement HTTP authentication for webhook callback.LimitationsThere are currently no known limitations.For more information please see:https://proofpoint.my.site.com/community/s/article/Proofpoint-Isolation-API-Guide
Package: iso-3166-1
define codes for the names of countries as aenumit supports python2.7, 3.3
withenum34of course support python3.4 as well.>>> from iso3166 import Country
>>> Country.kr
<Country.kr>
>>> Country.kr.alpha2
KR
>>> Country.kr.alpha3
KOR
>>> Country.kr.numeric
410
>>> Country.kr.english_short_nameWritten byKang Hyojun.  Distributed under Public Domain.
Package: iso3166KOR
# 한글 국가명 -> iso3166 표준 국가명, 코드 값참조해서 만듬.https://github.com/deactivated/python-iso3166/tree/master` $pip install iso3166KOR `` >>> from iso3166KOR import countries >>>countries.get('미국')Country(name='미국',apolitical_name='UNITEDSTATES',numeric='840',alpha2='US',alpha3='USA')>>>countries.get('미합중국')Country(name='미합중국',apolitical_name='UnitedStates of America',numeric='840',alpha2='US',alpha3='USA')`
Package: iso3166-scraper
iso3166-scraperA simple utility for scraping ISO-3166 country data from aWikipedia
articlethat
contains all current country codes, names, etc.In a recent project, I had a need for the ISO 3166 country code data and was
disappointed to discover that there really wasn't a good free source for
obtaining the data in structured form. I'm sure there's some place where I
could spend money with ISO to get this data, but that's not a great option
for an open source project with no revenue stream for such expenses.However, the above referenced Wikipedia article was pretty cleanly structured
and easy enough to scrape. The data changes infrequently, so occasionally
running this utility to get the latest data seems like a decent compromise.
Maybe you'll find it useful too.This utility scrapes the web page, and outputs the country code data in
JSON and YAML formats.In addition to the basic country data, the script maps the country codes
to the corresponding Unicode code points for each country's flag and
includes the appropriate escape sequences in a string property of the
output data in every format.This tool is built using some excellent open source components that make
creating tools like this really easy.Beautiful Soup-- HTML
page scrapingRequests-- HTTP for Humansruamel.yaml-- YAML reader/writerInstallationThis package is available for installation via PyPI and can therefore be
installed usingpipas follows.python3-mpipinstalliso3166-scraperUsageAfter installation, you can simply run it.$ iso3166-scraper
retrieving https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes
writing JSON file: ./iso3166.json
writing YAML file: ./iso3166.ymlBy default, it fetches the Wikipedia article, scrapes the ISO 3166 country
data from the page, and produces JSON and YAML output files in the current
directory. Using command line options, you can select which output format
you want and where to put it. To see all the options, useiso3166-scraper--help