Saravanan666/pypi-org huggingface dataset:
Package: igramscraper
instagram_scraperThis is a minimalistic Instagram scraper written in Python.It can fetch media, accounts, videos, comments etc.
`Comment` and `Like` actions are also supported.It is not easy to get Applications approved for Instagram's API therefore I created this tool inspired byinstagram-php-scraper.The goal of this project is to become as minimalistic as possible while still having all the needed functionality so that its easy to add code to it!Any ⭐️ or contribution is appreciated if you like the project 🤘How to installSimply run:pip install igramscraperor download the project via git clone and run the following:pip install -r requirements.txtUsagesSome methods do require authentication:fromigramscraper.instagramimportInstagraminstagram=Instagram()# authentication supportedinstagram.with_credentials('username','password')instagram.login()#Getting an account by idaccount=instagram.get_account_by_id(3)# Available fieldsprint('Account info:')print('Id: ',account.identifier)print('Username: ',account.username)print('Full name: ',account.full_name)print('Biography: ',account.biography)print('Profile pic url: ',account.get_profile_pic_url_hd())print('External Url: ',account.external_url)print('Number of published posts: ',account.media_count)print('Number of followers: ',account.followed_by_count)print('Number of follows: ',account.follows_count)print('Is private: ',account.is_private)print('Is verified: ',account.is_verified)# or simply for printing useprint(account)If you use authentication, the program will cache the user session by default so one doesn't need to create session every time.If one want to disable the user session cache, assignTrueto Instagram.login() methodTwo Factor Authentication is also supported through cli interface, simply use 'True' for second argument of login() functionMany of the methods do not require authenticationfor more info browse through the examples folderUsing proxy for requests:fromigramscraper.instagramimportInstagramproxies={'http':'http://123.45.67.8:1087','https':'http://123.45.67.8:1087',}instagram=Instagram()instagram.set_proxies(proxies)account=instagram.get_account('kevin')print(account.identifier)Recommended LimitsIf you make too many requests too fast you will get a 429 Error or something similar.It is recommended to make a short break between each request of 30s (+- random)In between all 10 requests a long break (300-600s)If different proxies and accounts are used for all requests and the circle doesn't repeat too fast these limits don't apply ;)Feel free to make your own tests and let us know of any limits you experiencedMore usagesSee exampleshere.How to contributeEvery contribution is welcome, check out ourTODOsand join our telegram group:https://t.me/joinchat/J86yTBAtZlEi-6T6LOxijwOtherinstagram-php-scraperhere
Package: igraph
Python interface to the igraph high performance graph
library, primarily aimed at complex network research and analysis.Graph plotting functionality is provided by the Cairo library, so make
sure you install the Python bindings of Cairo if you want to generate
publication-quality graph plots. You can try eitherpycairoorcairocffi,cairocffiis recommended because there were bug reports affecting igraph
graph plots in Jupyter notebooks when usingpycairo(but not withcairocffi).
Package: ig-rest-client
IG REST trading API clientSmall Python library to connect toIGREST trading API (more information and API reference is available onIG Labswebsite).InstallationTo use most recent release:pipinstallig-rest-clientTo use current master branch:pipinstallgit+https://github.com/wjszlachta/ig-rest-client.gitUsageFor demo account:fromig_rest_clientimportIgRestSessionapi_key='...'account_id='...'rest_api_username='...'rest_api_password='...'session=IgRestSession(api_key,account_id,rest_api_username,rest_api_password)print(session.session_details())session.log_out()For live account:fromig_rest_clientimportIgRestSession,IG_REST_TRADING_API_LIVE_URLapi_key='...'account_id='...'rest_api_username='...'rest_api_password='...'session=IgRestSession(api_key,account_id,rest_api_username,rest_api_password,rest_api_url=IG_REST_TRADING_API_LIVE_URL)print(session.session_details())session.log_out()
Package: igrf
IGRF 13 in PythonInternational Geomagnetic Reference Field: IGRF13 in object-oriented Python or Matlab.InstallA Fortran compiler is required, such asgfortran:Linux:apt install gfortranMac:brew install gccgfortran for Windows(MinGW)To get the IGRF Python development version,git cloneand then:python-mpipinstall-e.Otherwise, for the latest release from PyPi:python-mpipinstalligrfOptionally, test the install with:pytestExampleTo make the plots in this readme:igrfusing as a Python module at geodetic coordinates 65N, 148W:importigrfmag=igrf.igrf('2010-07-12',glat=65,glon=-148,alt_km=100)returns anxarray.Dataset:<xarray.Dataset>
Dimensions:  (alt_km: 1)
Coordinates:
  * alt_km   (alt_km) int64 100
Data variables:
    north    (alt_km) float64 1.122e+04
    east     (alt_km) float64 4.148e+03
    down     (alt_km) float64 5.302e+04
    total    (alt_km) float64 5.436e+04
    incl     (alt_km) float64 77.29
    decl     (alt_km) float64 20.29MatlabMatlab can seamlessly call Python modules, as used inigrf.m.
Instead of the $1000 Aerospace Toolbox, use this free IGRF for Matlab like:igrf.igrf(datetime(2020,1,3,5,4,22),20,60,0)You may find it helpful to run "setup.m" first to setup the library paths.ReferencesIGRF13 Fortran codeIGRF12 Fortran codeIGRF11 Fortran codeWMM2015inclination mapWMM2015declination map
Package: igrf12
IGRF 2012 in PythonInternational Geomagnetic Reference Field IGRF12 and IGRF11...in simple, object-oriented Python ≥ 3.6 or Matlab.InstallA Fortran compiler is required, such asgfortran:Linux:apt install gfortranMac:brew install gccgfortran for Windows(MinGW)
Windows only: from Powershell:echo"[build]`ncompiler=mingw32"|Out-File-EncodingASCII~/pydistutils.cfgTo get the IGRF12 development version,git cloneand then:python-mpipinstall-e.Otherwise, for the latest release from PyPi:python-mpipinstalligrf12Optionally, test the install with:pytestWindowsIf you get ImportError on Windows for the Fortran module, try from theiri2016directory:del*.pydpythonsetup.pybuild_ext--inplace--compiler=mingw32ExampleTo make the plots in this readme:igrf12using as a Python module at geodetic coordinates 65N, 148W:importigrf12mag=igrf12.igrf('2010-07-12',glat=65,glon=-148,alt_km=100)returns anxarray.Dataset:<xarray.Dataset>
Dimensions:  (alt_km: 1)
Coordinates:
  * alt_km   (alt_km) int64 100
Data variables:
    north    (alt_km) float64 1.122e+04
    east     (alt_km) float64 4.148e+03
    down     (alt_km) float64 5.302e+04
    total    (alt_km) float64 5.436e+04
    incl     (alt_km) float64 77.29
    decl     (alt_km) float64 20.29The IGRF model may be specified with theigrf12.igrf(model=)option:11: IGRF1112: IGRF12MatlabMatlab can seamlessly call Python modules, as inigrf12.m.
Instead of the $1000 Aerospace Toolbox, use this free IGRF12 for Matlab.ReferenceIf you only want the plain Fortran program, you can do:cmake-Bbuild

cmake--buildbuild--parallel

./testigrfReferencesIGRF12 Fortran codeIGRF11 Fortran codeWMM2015inclination mapWMM2015declination map
Package: igruha
Простой пример использования библиотеки:Устанавливаем библиотекуpython -m pip install igruhaПример кодаfromigruhaimportIgruhaparser=Igruha()games=parser.search('Far Cry').gamesforgameingames:game.get_details()print('Игра:%s\nТрейлер:%s'%(game.name,game.trailer))games[0].torrents[0].download('/custom/path/to/game')#Скачать игруДополнительная информация и методы:https://github.com/LORD-ME-CODE/igruha
Package: igsr-analysis
This repo contains code that is relevant for the analysis (Mapping, BAM qc, Variant Calling, Filtering etc...) of IGSR dataThe International Genome Sample Resource(IGSR)is a project funded by theWellcome Trustcreated after the finalization of the 1000 Genomes Project in order to maintain and expand the resource. It has the following aims:Ensure the future access to and usability of the 1000 Genomes reference dataIncorporate additional published genomic data on the 1000 Genomes samplesExpand the data collection to include new populations not represented in the 1000 Genomes ProjectThis repository contains code used in the different analyses pipelines that we use in the project. To use this code please follow the steps described belowPreparing environmentModify your $PYTHONPATH to include the required libraries:export PYTHONPATH=${ehive_dir}/wrappers/python3/:$PYTHONPATHModify your $PERL5LIB to include the required libraries:export PERL5LIB=${ehive_dir}/modules/:${igsr_analysis_dir}/:${PERL5LIB}Modify your $PATH to include the location of the eHive scripts:export PATH=${ehive_dir}/scripts/:${PATH}Install the igsr_analysis package from PyPIpip install igsr_analysisAnd you are ready to go!Conventions used in this README file:${igsr_analysis_dir}is the folder where you have clonedhttps://github.com/igsr/igsr_analysis.git${ehive_dir}is the folder where you have clonedhttps://github.com/Ensembl/ensembl-hive.git
Package: igsr-archive
igsr_archiveContains code to perform several operations involving files in the IGSR (1000 genomes) FTP archive:ftp://ftp.1000genomes.ebi.ac.uk/vol1/ftp/Basic functionality that this repo provides is:adding files on the FTPmoving files on the FTPdearchiving files from the FTPupdating records in the FTPRecording FTP changes in our tracking databaseInstallationUse pip for installing:pip install igsr-archiveAnd you are ready to go!DocumentationGo tohttps://igsr-archive.readthedocs.io/en/latest/Indexing scriptsThe docs on how to generate the different index files we use in our project can be foundhere
Package: igs-toolbox
igs-toolboxDescriptionThis Python package contains tools to check whether files follow predefined schemas of the IGS project.
Currently, only a JSON validator is implemented, but the idea is that it will be extended to more applications related to the IGS project in the future.Installationigs-toolbox is installable using pip.pipinstalligs-toolboxUsageAll tools can be used directly through the commandline.jsonCheckerusage:jsonChecker[-h]-iINPUToptionalarguments:-h,--helpshowthishelpmessageandexit-iINPUT,--inputINPUTFilepathtojsonfile.convertSeqMetadataThe method to convert the metadata table into JSONs for each sample. This inlcudes a validation to check if the IGS metadata scheme is matched.Usage:convertSeqMetadata[OPTIONS]Converttableofseqmetadatatojsonfiles.

Options:-i,--inputFILEPathtoinputexcelorcsv/tsvfile.[required]-o,--outputDIRECTORYPathtooutputfolderforjsonfiles.[required]-l,--log_fileFILEPathtologfile.[default:convertSeqMetadata_2023-12-01T09-56-04.log]--version--install-completion[bash|zsh|fish|powershell|pwsh]Installcompletionforthespecifiedshell.--show-completion[bash|zsh|fish|powershell|pwsh]Showcompletionforthespecifiedshell,tocopyitorcustomizetheinstallation.--helpShowthismessageandexit.Example:convertSeqMetadata-iIGS_Metadata.xlsx-oout/readQRThe method readQR reads the Meldungsquittung and extracts the MeldungsID.Poppler is required to read the pdfscondainstallpoppler
or
mambainstallpoppler
or
aptinstallpoppler-utilsusage:readQR[-h][--version][file...]positionalarguments:file

options:-h,--helpshowthishelpmessageandexit--versionshowprogram'sversionnumberandexitExample:readQR*.pdf
Package: ig-streaming-client
IG streaming API clientSmall Python library to connect toIGstreaming API (more information and API reference is available onIG Labswebsite).InstallationTo use most recent release:pipinstallig-streaming-clientTo use current master branch:pipinstallgit+https://github.com/wjszlachta/ig-streaming-client.gitUsageFor demo account:importtimefromig_streaming_clientimportIgStreamingSessionfromlightstreamer_clientimportLightstreamerSubscriptionapi_key='...'account_id='...'rest_api_username='...'rest_api_password='...'session=IgStreamingSession(api_key,account_id,rest_api_username,rest_api_password)subscription=LightstreamerSubscription('MERGE',['MARKET:CS.D.BITCOIN.TODAY.IP'],['UPDATE_TIME','BID','OFFER'])subscription.addlistener(lambdaitem:print(item))session.subscribe(subscription)time.sleep(30)session.log_out()For live account:importtimefromig_rest_clientimportIG_REST_TRADING_API_LIVE_URLfromig_streaming_clientimportIgStreamingSessionfromlightstreamer_clientimportLightstreamerSubscriptionapi_key='...'account_id='...'rest_api_username='...'rest_api_password='...'session=IgStreamingSession(api_key,account_id,rest_api_username,rest_api_password,rest_api_url=IG_REST_TRADING_API_LIVE_URL)subscription=LightstreamerSubscription('MERGE',['MARKET:CS.D.BITCOIN.TODAY.IP'],['UPDATE_TIME','BID','OFFER'])subscription.addlistener(lambdaitem:print(item))session.subscribe(subscription)time.sleep(30)session.log_out()
Package: ig-trading-api
IG.com Trading APIInstallpip install ig-trading-apiorpip install --upgrade ig-trading-apiUsageInitializingimport igapi
ig = igapi.IG(apikey, username, password, account, acc_type)Check versionprint(ig.getVersion())Loginig.login()Logoutig.logout()Get account informationaccount = ig.account()Get account balanceig.getBalance()orig.getBalance(account)Get account available balanceig.getAvailable()orig.getAvailable(account)Get account depositig.getDeposit()orig.getDeposit(account)Get account getProfitLossig.getProfitLoss()orig.getProfitLoss(account)Get watchlistswatchlists = ig.watchlists()Get specific watchlistwatchlist = ig.watchlist(id)Get account transactionstransactions = ig.getAccountTransactions(type='ALL',period=86400)Get account activitiesactivities = ig.getAccountActivities()Get priceprice = ig.getPrice(epic, [resolution], [numPoints])Get pricesprices = ig.getPrices(epic, [resolution], [numPoints],[start],[end])Get open positionspositions = ig.getOpenPosition([dealId])Create positiondealReference = ig.createPosition(currency, direction, epic, expiry, orderType, size, [limitDistance], [stopDistance], [forceOpen], [guaranteedStop])Close positiondealReference = ig.closePosition(dealId, direction, epic, expiry, orderType, size)Exampleorder = ig.createPosition('AUD', 'BUY', 'IX.D.NASDAQ.IFA.IP', '-', 'MARKET', 2, 20, 40)

dealReference = ig.closePosition([dealId],'SELL',  '-', 'MARKET', 2)
Package: iguanaresult2csv
# IGUANA Result 2 CSVsmall script to convert IGUANA result files from RDF to CSV (and JSON).Installing with`shell pip install . `makes the commandiguanaresult2csvavailable. Check the help page with`shell iguanaresult2csv--help`Using pypy3 is considerably faster than default CPython.Additionally, the bash script [preprocess.sh](preprocess.sh) can convert IGUANA result files from NTriple to Turtle.
This makes them smaller and more human-readable. (For details on how to run it, please read the script. It is very short. It is not installed by pip.)
Package: iguanas
What is Iguanas?Iguanas is a fast, flexible and modular Python package for:Generating new rules using a labelled dataset.Optimising existing rules using a labelled or unlabelled dataset.Combining rule sets and removing/filtering those which are unnecessary.Generating rule scores based on their performance.It aims to help streamline the process for developing a deployment-ready Rules-Based System (RBS) forbinary classification use cases.
Package: igui
Created as multiplatform, multibackend module. There is one frontend module and
many backend modules (currently only GTK+ 2.0 binding). Supported widgets are
Window, Button, Checkbox, Radiobox, Togglebutton, TextEntry, TextArea,
Scrollbar, Tree, Frame etc.For simple HelloWorld seehttp://www.py.cz/Members/honza(in Czech, but code is
international :)Uses advanced OOP techniques, such properties, generators, metaclasses etc.
Requires Python 2.2 or 2.3
Package: igv-flask
igv-flaskFlask webserver for renderingigv.js.It is available throughpipwith the following command:pip install igv-flaskHow to start the webserverIn order to start the Flask webserver and renderingigv.jsover an input fasta file, open your terminal and run the following command:igv --host "0.0.0.0" --port 5000 --input ~/myfasta.fna --index ~/myfasta.fai --cytoband ~/mycytoband.txt --tracks ~/track1.txt ~/track2.txtRunigv --helpfor a complite list of available options.
Package: igv-jupyter
igv Jupyter Extensionigv-jupyter is tool forJupyterLabwhich wrapsigv.jsand
integrates withg2nb. With this tool you can render igv.js in a cell and call its API
from a user-friendly web form in the notebook. Track data can be loaded from local or remote URLs, or supplied directly.For programmatic access to igv.js in a Jupyter notebook, seeigv-notebook.InstallationRequirements:python >= 3.6.4jupyterlab >= 3.0pipinstalligv-jupyter
Package: igv_plotter
OverviewPython interface to IGV - inspired by an IGV_plotter tool originally written by@tmfromer.It includes the following executables:igvLaunches IGV from the command line and optionally makes it load some file(s) and jump to some locus.igv_plotterAutomates taking IGV screenshots of one or more data files at one or more loci.igvweb_viewerAllows bam, vcf, and/or bed file tracks to be viewed in a web browser usingigv.js.InstallTo install for all users, run:pip install igv_plotterTo install in your home directory (eg. if you don’t have permissions to install for all users), add ~/.local/bin to your PATH and run:pip install igv_plotter --userRunTo see all command line options, you can do:igvweb_viewer -higv_plotter -higv -higvweb_viewer script- usage example:This starts a webserver for viewing 3 files at 2 loci:igvweb_viewer my_file1.vcf  my_file2.bam  my_file3.bed 1:12345 chrX:12345After starting this script, open your web browser to 127.0.0.1:8000 for an interactive
browser-based IGV view of these files.igv_plotter script- usage example:This loads 3 files, and takes 2 snapshots:igv_plotter  my_file1.vcf  my_file2.bam  my_file3.bed 1:12345 chrX:12345igv script- usage example:This launches IGV with 2 files loaded at locus 1:12345:igv  my_file1.vcf  my_file3.bed 1:12345ConfigureAn~/.igv_plotterconfig file can be created and used to persitantly set anyigv_plotterorigvcommand line options, by using lines like:<command line option (without --)> = <value>ContributeIssue reporting and pull requests are appreciated.Unit tests can be run with:python setup.py testThis code is open sourced under the MIT license.
Package: ig-web-api
Instagram-APISimple Instagram API based on web-versionExample of usagefromig-web-apiimportInstagrama=Instagram()a.login('USER','PASSWORD')# Get more info about userprint(a.user_info_v2('natgeo'))# Change profile picturewithopen('1.png','rb')asf:print(a.make_new_post(f.read(),'That\'s, me!'))# Some another actionsprint('Follow natgeo:',a.user_action('natgeo','follow'))print('Saved photo:',a.media_action('B11rEsiHoQp','save'))print('Liked photo:',a.photo_action('B11rEsiHoQp','like'))
Package: igwn-accounting
IGWN AccountingThis small python package provides tools for accounting for
computing usage on the IGWN Computing Grid.Accounting reportsTheigwn-accounting-reportscript can be used to generate ASCII-formatted
reports.Accounting report formatAccounting reports submitted for inclusion in the IGWN accounting must be in
plain ASCII with the following space-separated columnsUSERNAME ACCOUNTING_TAG CPU_HOURS YYYY-MM-DD CLUSTERNone of the data should include string quotes of any kind, and theCLUSTERstring should be pre-registerd with the central IGWN accounting.
For example:duncan.macleod igwn.dev.o4.computing.accounting 12345 2021-01-01 ARCCA-CDF
Package: igwn-auth-utils
igwn-auth-utilsPython library functions to simplify using IGWN authorisation credentials.https://igwn-auth-utils.readthedocs.io/This project is primarily aimed at discovering X.509 credentials and
SciTokens for use with HTTP(S) requests to IGWN-operated services.Release statusDevelopment statusInstallationThe best way to install the latest release is usingcondawith theconda-forgechannel enabled:condainstall-cconda-forgeigwn-auth-utilsThe latest release can also be installed usingpip:python-mpipinstalligwn-auth-utilsBasic usageTo discover an X.509 user credential (proxy)location:>>>fromigwn_auth_utilsimportfind_x509_credentials>>>print(find_x509_credentials())('/tmp/x509up_u1000','/tmp/x509up_u1000')To discover (and deserialise) a SciToken for a specific
purpose (audienceandscope):>>>fromigwn_auth_utilsimportfind_scitoken>>>print(find_scitoken("myservice","read:/mydata"))<scitokens.scitokens.SciTokenobjectat0x7fe99ab792e0>
Package: igwn-gwalert-schema
igwn-gwalert-schemaJSON and Avro Schema for gravitational-wave alerts.To install$ pip install igwn-gwalert-schemaTo use$ python
>>> from importlib import resources
>>> import json
>>> with resources.open_text('igwn_gwalert_schema', 'igwn.alerts.v1_0.Alert.avsc') as f:
...     json.load(f)
... 
{'name': 'Alert', 'namespace': 'igwn.alerts.v1_0', 'type': 'record', 'doc': 'Alert schema v1.0.', 'fields': [{'name': 'alert_type', 'type': 'igwn.alerts.v1_0.AlertType', 'doc': 'The type of alert; the possible values are EARLY_WARNING, PRELIMINARY, INITIAL, UPDATE, RETRACTION.'}, {'name': 'time_created', 'type': 'string', 'doc': 'The time this notice was created in ISO 8601 format.'}, {'name': 'superevent_id', 'type': 'string', 'doc': 'The GraceDB superevent ID.'}, {'name': 'event', 'type': ['null', 'igwn.alerts.v1_0.EventInfo'], 'doc': 'Information about the event, if any.'}, {'name': 'external_coinc', 'type': ['null', 'igwn.alerts.v1_0.ExternalCoincInfo'], 'doc': 'Information about the coincidence with an non-GW event, if any.'}, {'name': 'urls', 'type': {'type': 'map', 'values': 'string', 'default': {}}, 'doc': 'URLs relevant to the event, if any.'}]}
Package: igwn-lldd-common
IGWN - Low Latency Data DistributionThe IGWN - Low Latency Data Distribution (lldd) is software to distribute low latency data used by the International Gravitational-Wave Observatory Network (IGWN).This software currently utilizes theApache Kafkaevent streaming platform to distribute the low latency data by connecting to Kafka Broker(s) to produce or consume Kafka messages containing the data.
Package: igwn-monitor
This project houses custom monitoring plugins designed to be executed
on the remote host (not the monitoring instance).All plugins here must follow (as far as possible) the Monitoring Plugins
Development Guidelines as outlined here:https://www.monitoring-plugins.org/doc/guidelines.htmlInstallationBinary packages from this project are distributed for RHEL and Debian
distributions supported by the IGWN Computing and Software group.
For instructions on configuring your system package manager to
follow the IGWN repositories, please seehttps://computing.docs.ligo.org/guide/software/Theigwn-monitoring-pluginspackages follow the convention for Nagios plugin
packages for each platform and can be discovered on the relevant systems viadnfsearchnagios-plugins-igwn*for RHEL and derivatives, andapt-cachesearchmonitoring-plugins-igwn*for Debian.
Package: igwn-rucio-lfn2pfn
igwn-rucio-lfn2pfnAlgorithm for LFN to PFN conversion for rucio in the international gravitational wave networkPlugging into rucio as an external moduleAs currently configured, this module should be made available to rucio by setting the following in therucio.cfg:[policy]
lfn2pfn_module=igwn_lfn2pfn.frames_lfn2pfn
lfn2pfn_algorithm=ligo_legacyAnd installing via e.g.,:pip install git+https://git.ligo.org/rucio/igwn-rucio-lfn2pfn.git