Saravanan666/pypi-org huggingface dataset:
Package: pyifc
pyifc: Utilities for .ifc filesWhat is it?pyifcis a Python package that provides utilities for working with .ifc files.According toWikipedia:TheIndustry Foundation Classes (IFC)data model is intended to describe architectural, building and construction industry data.IFC format provides interoperability. This way, it doesn't matter what
software you work on or what file format you deal with on a daily basis.
There is a high probability that your software has import and export
functions for .ifc files. Learn more about IFC formathere.At this point, the project is in development. If you have any ideas on how it
can be improved checkContributions.
If you want to know what the project currently consists of, checkModules.Table of ContentsModules|Installation|Documentation|Usage|Found a bug?|Changelog|Contributions|Code of Conduct|LicenseModulescompress- set of functions responsible for compressing filesIn the future:compare- set of functions responsible for comparing filescount- set of functions responsible for counting elements in a filemodify- set of functions responsible for modifying filesInstallationUse the package managerpipto installpyifc.pipinstallpyifcUnfortunately dependency packageifcopenshellis not distributed via PyPi. Hence you can get error while trying to
import pyifc:ModuleNotFoundError:Nomodulenamed'ifcopenshell'To installifcopenshellrun from current directory:pythoninit_script.pyThe script will download ifcopenshell based on given or automatically
detected arguments. Possible arguments are listed below:pythoninit_script.py-h
usage:init_script.py[-h][-s{linux,win,macos}][-a{32,64}][-v{37,38,39}]Downloadifcopenshellbasedonplatformsystem,platformarchitecture
andrunningpythonversion.

optionalarguments:-h,--helpshowthishelpmessageandexit-s{linux,win,macos},--system{linux,win,macos}Platformsystem.-a{32,64},--architecture{32,64}Platformarchitecture.-v{37,38,39},--python-version{37,38,39}Runningpythonversion;stringofmajorandminorversion,e.g.'39'.pyifcsupportspython>=3.7.DocumentationUsageFound a bug?Feel free to add a new issue on the thepyifc repository.
If you found a solution, feel free to add a new pull request.ChangelogSeeCHANGELOG.md.ContributionsSeeCONTRIBUTING.md.Code of ConductEveryone interacting in the pyifc project's development is expected to follow
theCode of Conduct.Licensepyifcis released under the terms ofthe MIT License.
Package: pyift
PyIFTPython Image Foresting Transform LibraryPyIFT is a Python wrapper of a fork of theLIDSC library.Its main feature is fast shortest-path algorithms in image grids and sparse graphs to perform the image foresting transform operators.InstallationInstall PyIFT via pip.pipinstallpyiftAcknowledgementsThe development of this library was initially supported by FAPESP (2018/08951-8 and 2016/21591-5).Citing@article{falcao2004image,
  title={The image foresting transform: Theory, algorithms, and applications},
  author={Falc{\~a}o, Alexandre X and Stolfi, Jorge and de Alencar Lotufo, Roberto},
  journal={IEEE transactions on pattern analysis and machine intelligence},
  volume={26},
  number={1},
  pages={19--29},
  year={2004},
  publisher={IEEE}}
Package: pyifttt
This package provides a simple interface to interact with If This Then That (https://ifttt.com/) webhook events.This project was born from the need to receive push notifications on a smartphone after long running jobs had finished running, particularly using a free service such as IFTTT.Copyright ® 2019, Ruben Branco <ruben.branco@outlook.pt>. All rights reserved.Links:https://github.com/RubenBranco/pyifttt|https://pypi.org/project/pyifttt/InstallationInstall pyifttt using pip:pip3installpyiftttUsageThere are three essential items to interact with a webhook:Event Name: The event name for the webhook defined in the website.Key: Your personal ifttt maker key.Data: The values of each declared form variables.General Usagefrompyifttt.webhookimportsend_notificationdata=dict(value1="Testing this event")key="MySuperPrivateKey"send_notification("test_event",data,key)This will send a notification to an webhook whose event is namedtest_eventwith value1 variable as “Testing this event” and with akey.Since including a private key in script files can be bothersome and repetitive, ifttt has three ways of key input:Through the function as a key kwarg.As a system env variable named IFTTT_KEY (exportIFTTT_KEY="MySuperPrivateKey).As a home file (~/.ifttt). The only contents this file should have is the key.Job Completion Notificationpyifttt implements a general notification system for push notification of program exits.In your IFTTT webhook you should include the following message:The program {{Value1}}, running on host machine {{Value2}} , finished at {{OccurredAt}}. {{Value3}}Here’s how you would use pyifttt to receive push notifications for when your long running program finishes using a context manager:frompyifttt.webhookimportSendCompletionNotificationwithSendCompletionNotification('test_event'):execute_long_job()This will send a push notification to your smartphone or other device with the following structure:The program long_job.py, running on host machine Server1, finished at November 22, 2019 at 09:30PM.If it had found an exception, it would show the following message:The program long_job.py, running on host machine Server1, finished at November 22, 2019 at 09:30PM. Got exception KeyboardInterrupt.An optional argument to SendCompletionNotification is the IFTTT key, which as previously described, has several ways of input.If you prefer to not use it as a context manager, you also use it in the following way:frompyifttt.webhookimportsend_completion_notificationexecute_long_job()send_completion_notification('test_event')LicenseDistributed under GPL-3.0 License. See theLICENSEfile for details.
Package: pyifx
pyifxAn image processing, editing & handling library in Python.Version History0.0.1 - InDev0.0.2 - Brightness module added, main classes, internal + misc functions0.0.3 - Color overlay module added0.1.0 - HSL Module Added0.1.1 - Convolutional Framework + Blur functions added0.1.2 - Create kernel based on blur type0.1.3 - Added pixelation0.1.4 - Added edge detection0.2.0 - Graphics module added0.2.1 - Resize feature added0.2.2 - File naming & formatting features added0.3.0 - Composition module added1.0.0 - Initial Release1.0.1 - Bug Fixes
1.0.2 - Test Framework1.0.3 - Depth support added for ImageVolume (CURRENT)Featurespyifx contains 4 main modules, giving users access to functions such as:HSL ModificationConvolution-based functionsImage format conversion & resizingAnd much more.pyifx also allows for images to be read in from directories instead of individually importing them, allowing for image modification processes to be automated.A full list of features is available in theuser guide & documentation.Code ExampleThe code block below perfectly details the use of the library.#demo_file.pyimportpyifx# Creating the imageimage=pyifx.misc.PyifxImage(input_path="path/to/img.png",output_path="path/to/new_img.png")# Creating the volumevolume=pyifx.misc.ImageVolume(input_path="lots/of/images/",output_path="lots/of/images/modified/",prefix="_")#Creating the listimage_2=pyifx.misc.PyifxImage(input_path="different/path/to/img.png",output_path="different/path/to/new_img.png")image_list=[image,image_2]brightened_image=pyifx.hsl.brighten(image,50)brightened_list=pyifx.hsl.brighten(image_list,50)For more information about using the library, read theimage classesandusagepages of the user guide, which go into more detail about using the library.InstallationTo install the library, use the command below:pipinstallpyifxThis will install the library and its dependencies (if needed).DocumentationThe documentation of this project can be foundhere.TestsTBA - The testing portion of the contribution section is currently being written.UsageTo learn more about using the library, read theimage classesandusagepages of the user guide, which go into more detail about using it.ContributeTo learn how to contribute to the project, read thecontribution guide.Note: The contribution guide for testers is still being added.LicenseMIT Â© 2019 Jad Khalili.
Package: pyIG
This is a fork fromig-markets-api-python-libraryAdded support forasyncioandaiohttpUsageimportloggingfrompyIG.restimportIGParams,IGClient,Order,OrderType,Side,Moneyimportosimportasynciologger=logging.getLogger()logger.setLevel(logging.INFO)params=IGParams()params.Url=os.environ['IG_URL']params.Key=os.environ['X_IG_API_KEY']params.Identifier=os.environ['IDENTIFIER']params.Password=os.environ['PASSWORD']asyncdefmain():asyncwithIGClient(params,logger)asclient:auth=awaitclient.Login()print(auth)order=Order('IX.D.SPTRD.DAILY.IP',Side.Buy,Money(100,'GBP'),OrderType.Market,'DFB')deal=awaitclient.CreatePosition(order)print(deal)awaitclient.Logout()if__name__=='__main__':app_loop=asyncio.get_event_loop()app_loop.run_until_complete(main())MoreFull details about the API along with information about how to open an account with IG can be found at the link below:http://labs.ig.com/InstallFrom Python package index$ pip install pyIGThanks toig-markets-api-python-library
Package: pyigdl
PYIGDLPython Instagram DownloaderA Python package for downloading Instagram videos, posts, stories, and more. This package provides an unofficial scraping functionality to retrieve content from Instagram, similar to saveig.app andhttps://github.com/sasmeee/igdl(Node.Js). This is not officially supported by Instagram, or owning companies, and is developed for educational purposes of the developer.Coded by:Vasu GoelInstallationpipinstallpyigdlHow to useYou can use pyigdl as followsfrompyigdlimportIGDownloaderdata=IGDownloader("https://www.instagram.com/reel/Co3tkGLL8nl/")print(data[0]["download_link"])Output{"thumbnail_link":"https://igcdn.xyz/?token=6226c59df70636ccf03a4d2321b78b6300cc33d1ca36cba7988771014c37deba&time=1694700746&file=https%3a%2f%2fscontent.cdninstagram.com%2fv%2ft51.2885-15%2f331591872_138561172439484_5369881234926580154_n.jpg%3fstp%3ddst-jpg_e15_fr_s1080x1080%26_nc_ht%3dscontent.cdninstagram.com%26_nc_cat%3d100%26_nc_ohc%3dzqtUhPwsAhMAX8n7ljB%26edm%3dAPs17CUBAAAA%26ccb%3d7-5%26oh%3d00_AfAavuejyZJjpzRDioX6JZ3J2BYwxSoR9-PoaLyqSMFMwQ%26oe%3d6504A849%26_nc_sid%3d10d13b","download_link":"https://download.ig-13-data.xyz/ig/1694698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 keys,thumbnail_linkanddownload_link. These can be accessed for your purpose.SupportIf you find this package useful, please consider putting a star on the GitHub repository to show your support.LicenseThis project is protected by the MIT License.DisclaimerIf any complains please contact viagoelvasu1999@gmail.comAcknowledgementThe project is an attempt to replicate the behavior of the npm packageigdlfromSasmitha Ashinsanafor python language.
Package: pyigen
# pyigen
v1.0.1.1 created by Armaan Aggarwal on May 15, 2019This is a little package that can generate a pyinstaller setup.py script to
turn your program into an .exe or .app file!To know how to use this module, import pyigen and then call: ‘pyigen.manual()’View this package at GitHub athttps://github.com/armaan115/pyigen
Package: pyiges
Python IGES reader with basic functionality to read an IGES file and
convert some entities to apyvistaorvtkmesh.This module can read in and perform basic parsing of all entities and
can perform additional parsing and geometry visualization of the
following entities:Vertex List (Type 502 Form 1)Edge ListLoop (for specifying a bounded face for BREP geometriesFaceCircular arcRational B-Spline SurfaceRational B-Spline CurveConic Arc (Type 104)LinePointInstallationpyigesis offered in a “full” variant including the conversion features
and a “pure” parsing module variant.
The pure variant has no conversion features, no dependencies topyvista,geomdl,
and can be installed by removing the[full]specificator from the following commands.Install with pip using:pip install pyiges[full]Otherwise, if you want the bleeding edge version, feel free to clone
this repo and install with:gitclonehttps://github.com/pyvista/pyigescdpyigespipinstall.[full]Note that the square brackets might need to be escaped or quoted when usingzsh.UsageThepyigesmodule can read in many entities as raw text, but only
NURBS surfaces and bsplines can be converted topyvistameshes.importpyigesfrompyigesimportexamples# load an example impelleriges=pyiges.read(examples.impeller)# print an invidiual entity (boring)print(iges[0])# convert all lines to a vtk mesh and plot itlines=iges.to_vtk(bsplines=True,surfaces=False,merge=True)lines.plot(color='w',line_width=2)# convert all surfaces to a vtk mesh and plot itmesh=iges.to_vtk(bsplines=False,surfaces=True,merge=True,delta=0.05)mesh.plot(color='w',smooth_shading=True)# control resolution of the mesh by changing "delta"# save this surface to filemesh.save('mesh.ply')# as plymesh.save('mesh.stl')# as stlmesh.save('mesh.vtk')# as vtkLinesSurfacesAcknowledgmentsSubstantial code was obtained from or inspired byhttps://github.com/cfinch/IGES-File-ReaderIGES reference definitions were obtained fromEclipse IGES Wiki,
Package: pyign
PySTAGE User Control Panel GUIPurposeThe purpose of Python Ignite (PyIGN) is to allow OSU engineering
students the ability to quickly and safely begin testing their developed
rocketry hardware. This package is meant to remove the “control system
barrier” when developing hardware that requires remote testing or
autonomous control.IntroductionThis code was developed for the Oregon State University High Altitude
Liquid Engine (HALE) rocketry team as well as the Oregon State
University Propulsion Research Laboratory. This packaged is used at the
P-Lab to control the rocket engine test stands and the HALE flight
vehicles. This package was originally designed and developed by Devon
Burson (2019-2021), Austin Gulstrom (2020), and Karsen E Burson
(2020-2021). The control package is utilized by interfacing with a
Nation Instruments (NI) or supporting hardware as a data aquisition and
control system. Both sensor and user input telematry are streamed to the
software package where PyIGN process the data and outputs an appropriete
system control response to the control hardware. The package allows
users to set system abort thersholds based off of input telemetary data.
If telemetary data exceeds the designated thresholds PyIGN will
“hardware-safe” the system and wait for furnther user response. PyIGN
also allows users to run different types of automated control sequences.
These autosequences are either time based and will execute for a
predetermined time window, or telemetry based sequences. Temporal
autosequences will excecute for a predetermined amount of time, then
wait for user input. Telemetry based autosequences will run indefinetly
until the user disables the sequence. Both methods are powerful tools,
with the later autosequence type iRunning the CodePyIGN is built in Python 3.6, and the required libraries can be
installed by running:pip install-rrequirements.txtChangelogAll notable changes to the PyIGN project will be documented in this
file.[1.8.0] - 2021-06-01Changed or AddedLiterally years of development[1.0.4] - 2019-06-13Changedversion.pyCHANGELOG.mdsetup.cfgREADME.md[Unreleased][0.2.2] - 2019-06-11Addedversion.pyCHANGELOG.mdsetup.cfgChangedsetup.py formatversion to a version.py file
Package: pyignore
pyignore==========================Parse file like `.gitignore`.I write this because, there are no good ignore parsers lib for python.## Usageign = Ignore(['foo/', '/*/*.pyc', '*.txt'])print ignnames = ['/log/foo/', '/foo', '/bar/', '/x.pyc', '/foo/a.pyc', '/foo/a.py', '/foo/a.txt']print 'names', namesprint ign.exclude(names)print ign.filter(names)Licence under [MIT](LICENSE)
Package: pyigor
PyIgorPyIgor bridges between Python and WaveMetrics Igor Pro.PreparationIgor Pro 7.0 or laterHDF5 XOP installation (See HDF5 installation in Igor Pro's help topics for the detail).Load pyigor.ipf (https://github.com/chocolate-icecream/pyigor/blob/master/pyigor.ipf).Putting it in the Igor Procedures folder is very convenient.UsageAccessing Igor Pro from PythonfrompyigorimportConnectionimportnumpyasnpigor=Connection()### Sending an array to Igor Proarray=np.sin(np.linspace(0,10,100))igor.put(array,"sinwave")### Executing a command in Igor Proigor("sinwave += 1")### Getting a wave from Igor Prowv=igor.get("sinwave")print(wv.array)Accessing Python from Igor ProPreparation in PythonfrompyigorimportConnectionigor=Connection()### @igor.function decorator makes the function callable from Igor Pro.@igor.functiondefmyfunc(a):returna*aigor.wait_done()# Just to prevent the program quit. You don't need it in the interactive mode.By using Connection(security_hole=True), you can call any Python code. Meanwhile, this option makes it possible to execute any Python code by HTTP requests:http://localhost/code->eval(code). Do not use unless you are sure of it.Calling registered functions from Igor Proprint PyIgorCall("myfunc(10)")
Package: pyIGRF
# pyIGRF
## What is pyIGRF?
This is a package of IGRF-13 (International Geomagnetic Reference Field) about python version.
We can calculate magnetic field intensity and transform coordinate between GeoGraphical and GeoMagnetic.
It don’t need any Fortran compiler. But it needs NumPy package.## How to Install?
Download this package and run install.
>```python setup.py install```## How to Use it?
First import this package.
>`import pyIGRF`You can calculate magnetic field intensity.
>```pyIGRF.igrf_value(lat, lon, alt, date)```or calculate the annual variation of magnetic filed intensity.
>```pyIGRF.igrf_variation(lat, lon, alt, date)```the response is 7 float number about magnetic filed which is:
- D: declination (+ve east)
- I: inclination (+ve down)
- H: horizontal intensity
- X: north component
- Y: east component
- Z: vertical component (+ve down)
- F: total intensityunit: degree or nTIf you want to use IGRF-13 more flexibly, you can use modulecalculate.
There is two function which is closer to Fortran. You can change it for different coordination.
>```from pyIGRF import calculate```Another moduleload_coeffscan be used to getg[m][n]orh[m][n]same as that in formula.
>```from pyIGRF.load_coeffs import get_coeffs```## Model Introduction and igrf13-coeffs File Downloadhttps://www.ngdc.noaa.gov/IAGA/vmod/igrf.html
Package: pyigtl
pyigtlPython implementation ofOpenIGTLink, a lightweight real-time data transfer protocol developed for image-guided therapy applications (surgical navigation, image-guided surgery, ultrasound-guided interventions, etc.).Tested with3D Slicer,SlicerIGTandPLUS Toolkit.Supports latest OpenIGTLink protocol (version 3) and message types: IMAGE, TRANSFORM, STRING, POINT.InstallationUsingpip:pip install pyigtlExampleWait until a message is received from a device namedToolToReferenceand print the message content:import pyigtl
client = pyigtl.OpenIGTLinkClient("127.0.0.1", 18944)
message = client.wait_for_message("ToolToReference", timeout=5)
print(message)
Package: pyihome
pyihomePython library to interface with the iHome API.This library interfaces with theEVRYTHING APICurrently this library supports the following:All Devicesget devices associated with the account which are swtiches with only one outletSwitchturn_on(device_id)turn_off(device_id)get_state(device_id)How to usefrompyihomeimportPyiHome#init apiapi=PyiHome("username","password")#get devicesdevices=api.get_devices()#get device id of the first itemdevice_id=devices[0]["id"]#get switch specific apiswitch=api.Switch()#turn on the switchswitch.turn_on(device_id)#turn off the switchswitch.turn_off(device_id)#get stateprint("State:{}".format(switch.get_state(device_id)))
Package: pyiikoapi
pyiikoapiPython services for convenient work with iiko Biz API and iiko Card APIRequirementsPython 3.5 or higher.Installpip install pyiikoapiRead moreBizreadmeExamplefrom biz import BizService

# class initialization
api = BizService(login,password,organizationId)

# receive a list of the organization's couriers
couriers = api.get_couriers()Read moreCardreadmeExamplefrom card import CardService

# class initialization 
api = CardService(login,password,organizationId)

# get a list of organizations, i define request_timeout = 2 minutes
organization_info = api.list(params={"request_timeout": "00%3A02%3A00"})ИнфоМаркер доступа автоматически запрашивается при инициализации классов, а так же при каждом вызове любого из методов он будет проверять время жизни маркера доступа, если время жизни маркера прошло то будет автоматически запрошен заново.Время жизни маркера доступа равно 15 минутам."organizationId" прописывайте при инициализации класса
Package: py-iir-filter
This is an IIR filter class which performs sample by sample realtime
processing of data. It’s very efficient because it’s not using any
indexing operations internally. The class instance acts as the memory
of the filter so that it remembers its past.ImportUse the standard python command to import it:import iir_filterCalculate the coefficientsUse your favourite scipy IIR design command and export the coefficients as an SOS:sos = signal.butter(order, [cutoff(s)], '[filter type]', output='sos')Create an instanceThe constructor takes the sos chain as an argument:f = iir_filter.IIR_filter(sos)Perform filtering sample by sampleFiltering is sample by sample by processing the samples
as they arrive, for example from an ADC:sample = f.filter(sample)
Package: pyik
PyIK - The Python Instrument KitThis package provides tools to simplify common analysis tasks in particle physics. The main goal is to provide functionality which is currently missing in numpy, scipy, and matplotlib.The tools are grouped by topic into several modules which are listed below. Most of them depend on external modules which are not shipped with Python. The respective dependencies are also listed.InstallationPyIK supports Python2 and Python3. Install it withpip.pip install --user pyikContentcorsika: Tools to work with CORSIKA filesellipse: Fast and robust fit of an ellipse to noisy datafit: Classes and functions for function minimizationRequires nloptlocked_shelve: Functionality to read shelve files and prevent write collisionsmisc: Miscellanious helper functions/classes that cannot be grouped into any of the other submodulesmplext: Missing plotting tools in matplotlibRequires matplotlibnumpyext: Missing numerical tools in numpyRequires numpy, scipyperformance: Tools to increase performance (e.g. the cached decorator and pmap for easy parallelization)rootext: Convert Python to ROOT objects and vice-versaRequires ROOTtime_conversion: Contains tools to convert between UTC and GPSNotesThis packages also contains some a directory with working examples
to copy-paste from.AuthorsAriel BridgemanHans Dembinski (maintainer)Benjamin FuchsDetlef MaurelDaniela MocklerAlexander SchulzFelix Werner