Saravanan666/pypi-org huggingface dataset:
Package: psfmachine
PSFMachinePRF photometry with KeplerCheck out thedocumentation.
Check out thepaperPSFMachineis an open source Python tool for creating models of instrument effective Point Spread Functions (ePSFs), a.k.a Pixel Response Functions (PRFs). These models are then used to fit a scene in a stack of astronomical images.PSFMachineis able to quickly derive photometry from stacks ofKeplerimages and separate crowded sources.Installationpip install psfmachineExample useBelow is an example script that shows how to usePSFMachine. Depending on the speed or your computer fitting this sort of model will probably take ~10 minutes to build 200 light curves. You can speed this up by changing some of the input parameters.importpsfmachineaspsfimportlightkurveaslktpfs=lk.search_targetpixelfile('Kepler-16',mission='Kepler',quarter=12,radius=1000,limit=200,cadence='long').download_all(quality_bitmask=None)machine=psf.TPFMachine.from_TPFs(tpfs,n_r_knots=10,n_phi_knots=12)machine.fit_lightcurves()Funding for this project is provided by NASA ROSES grant number 80NSSC20K0874.
Package: ps.fonts.iconmagic
IconMagic Font (ps.fonts.iconmagic)This is a font of svg based icons. It is intended to use with propertyshelfs MLS Developments embedding.install product via buildoutactivate in “Site Setup”css classes will now prepend icons as defined in the list belowAvailable css class options:icon-baricon-basketballicon-bbqicon-beach-clubicon-changing-roomicon-cinemaicon-airporticon-bankicon-gas-stationicon-hospitalicon-mallicon-conciergeicon-equipment-rentalicon-rubbishicon-restauranticon-property-managementicon-minimarketicon-medical-facilityicon-laundryicon-hotelicon-helicoptericon-heated-poolicon-gymicon-golficon-gardenicon-securityicon-soccericon-spaicon-stableicon-storageicon-poolicon-tennisicon-transportationicon-volleyballicon-game-roomChangelog0.1 (2015-07-28)alpha releasebasic 35 character set for developments embeddingfont-data added and automatic css-registration for Plone CMS
Package: psforms
psformsHassle free PySide forms.from psforms import (Form, IntField, StringField,
                     StringOptionField, BoolField)


class MyForm(Form):
    '''My amazing form, useful in many scenarios.'''

    title = 'My Form'
    int_field = IntField('Integer Value')
    str_field = StringOptionField('String Value', options=['A', 'B', 'C'])
    bool_field = BoolField('Boolean Value')
    strb_field = StringField('String Value B')


myform_dialog = MyForm.as_dialog()
if myform_dialog.exec_():
    print dialog.get_value()FeaturesEasy Form creationParent forms to your own window or use them as their own stand alone dialogUnified api for all standard PySide input widgetsGet psformsYou can install psforms using pip:pip install psformsor you can use setuptools:git clone git@github.com/danbradham/psforms.git
cd psforms
python setup.py installDocumentationFor more information visit thedocs.
Package: psfr
PSFr - Point Spread Function reconstructionPoint Spread Function reconstruction for astronomical
ground- and space-based imaging data.Example# get cutout stars in the field of a JWST observation (example import)frompsfr.utilimportjwst_example_starsstar_list_jwst=jwst_example_stars()# run PSF reconstruction (see documentation for further options)frompsfr.psfrimportstack_psfpsf_model,center_list,mask_list=stack_psf(star_list_jwst,oversampling=4,saturation_limit=None,num_iteration=50)We further refer to the exampleNotebookand theDocumentation.FeaturesIterative PSF reconstruction given cutouts of individual stars or other point-like sources.Sub-pixel astrometric shifts calculated and accounted for while performing the PSF reconstruction.PSF reconstruction available in super-sampling resolution.Masking pixels, saturation levels and other options to deal with artifacts in the data.Used byPSFr is in use with James Webb Space Telescope imaging data (i.e.,Santini et al. 2022,Merlin et al. 2022,Yang et al. 2022).
The iterative PSF reconstruction procedure was originally developed and used for analyzing strongly lensed quasars
(i.e.,Birrer et al. 2019,Shajib et al. 2018,Shajib et al. 2019,Schmidt et al. 2022).Other resourcesWe also refer to the astropy core packagephotutilsand in particular to the empirical PSF moduleePSF.CreditsThe software is an off-spring of the iterative PSF reconstruction scheme oflenstronomy, in particular itspsf_fitting.pyfunctionalities.If you make use of this software, please cite: ‘This code is using PSFr (Birrer et al. in prep) utilizing features of
lenstronomy (Birrer et al. 2021)’.History0.0.1 (2022-08-10)First release.
Package: psg
psgA package to check the Bills and Tariff of Pakistan's SUI Gas companies.DetailsUses the Pakistan SUI gas web resource.Package Usageimport psg# Show Bill Typesbill_types = psg.show_types()# Bill Retrievalbill_object = psg.get_bill(<bill_type>, <some_bill_umber>)# Bill to JSON Conversionjson_bill = psg.bill_to_json(<bill_object>)# Formatted Bill Printingpsg.print_bill(json_bill)
Package: psgcgpacalc
This python package is developed by Arjun K PSG ICE (20-24) which can be used for calculating the GPA and CGPA of the students
To calculate GPA pass a list in the format [Grade,Credits,Grade,Credits,……..] to the function gpapsgcalc()
To calculate CGPA pass a list in the format [CGPAUptoPreviousSem/GPA,……..] to the function cgpapsgcalc()Change Log0.0.1 (29/03/22)First Release
Package: psgen
psgenDescriptionRandom password generator tool made with python.Installation & usage$pipinstallpsgen$psgen52db9s%NhA1CInstall from source$gitclonehttps://github.com/Nneji123/psgen.git$cdpsgen$pipinstall-e.Use within another Python script>>>frompsgen.psgenimportgenerate_password_all>>>generate_password(12)# this will print out a 12 character password'52db9s%NhA1C'For more information visit the officialdocumentation.Advanced options$psgen--helpusage: psgen [-h] [--number NUMBER] [--nodigit NODIGIT] [--noupcase NOUPCASE] [--nolowercase NOLOWERCASE] [--nosymbols NOSYMBOLS][--onlydigits ONLYDIGITS] [--onlylocase ONLYLOCASE] [--onlyupcase ONLYUPCASE] [--onlysymbols ONLYSYMBOLS]Generate a random password with numbers, symbols and letters.optional arguments:-h, --help            show this help message and exit--number NUMBER       Write the length of the password you want to generate.The default value is 12. Example psgen --number 12--nodigit NODIGIT     This will generate a random password with no digits. Example psgen --nodigit 12--noupcase NOUPCASE   This will generate a random password with no uppercase letters. Example psgen --noupcase 12--nolowercase NOLOWERCASEThis will generate a random password with no lowercase letters. Example psgen --nolowercase 12--nosymbols NOSYMBOLSThis will generate a random password with no symbols. Example psgen --nosymbols 12--onlydigits ONLYDIGITSThis will generate a random password with only digits. Example psgen --onlydigits 12--onlylocase ONLYLOCASEThis will generate a random password with only lowercase letters. Example psgen --onlylocase 12--onlyupcase ONLYUPCASEThis will generate a random password with only uppercase letters. Example psgen --onlyupcase 12--onlysymbols ONLYSYMBOLSThis will generate a random password with only symbols. Example psgen --onlysymbols 12Happy password creating! :)LicenseMIT
Package: psgnuitka
psgnuitka - a GUI tool to build app with nuitka本工具还处于早期开发阶段，部分功能和想法还在技术实现和优化中：目标想要实现的功能有：自动检索可用的Python解释器位置自动创建venv环境用于干净环境的打包构建可内置相关的Nuitka所需的工具链软件方便统一构建环境提供对多版本Nuitka的支持支持多国语言按照使用者的级别提供不同级别的构建界面支持Windows、Linux、Mac OS概述Nuitka是一个Python的编译器，可以无缝替换或者扩展Python解释器Nuitka会将Python模块转换为C语言程序，从而利用C语言的编译工具链构建可执行文件Nuitka通常能够让你的Python程序获得更高的运行性能，不过因为需要利用传统的C语言编译，所以在第一次执行之前需要较长时间的构Nuitka需要使用命令行的方式进行调用，通常构建一般的Python脚本需要较长的命令psgnuitka工具就是用来解决Nuitka命令太长且复杂的一个工具，通过图形化界面引导，只需要轻松几步，就能快速生成需要的命令，并可以支持一键调用你可以使用pip命令很方便的安装此工具，或者可以通过github仓库获取二进制可发行版本目前此工具还处于早期开发阶段，存在部分设计不合理和功能缺失如有问题或者建议，可以通过issue或者邮件交流本工具的开发离不开如下工具的帮助NuitkaPySimpleGUIPythonPoetry
Package: psgpsg
psgpsgA PySimpleGUI Application To Easily Call sg.main()Launches themain()function of the version of PySimpleGUI that is found by this program.  It may be a local copy on your hard disk that is found on the PYTHON_PATH.  It may be the pip installed version of PySimpleGUI that the interpreter runningpsgpsgfinds.  The purpose ofpsgpsgis to allow you to easily launch the main test harness for any of these situations.InstallationOld-school Straight Pippip install psgpsgpip viapython -m pipthe python recommended wayIfpythonis your commandpython -m pip install psgpsgIfpython3is your commandpython3 -m pip install psgpsgUsageOpen a command window and type:psgpsgCreate a Shortcut To This ProgramIf you're a Windows user, then use thepsgshortcutapplicationto make a shortcut to this program so that you can then put on your desktop or pin to your taskbar (or any  other use that stops the need to typepsgpsgever again).To getpsgpsg, like all of the otherpsg applicationprojects, pip install it.  (e.g.pip install psgshortcut)To do this, follow these steps:Open a command window (I promise, it's the last time you'll need to for this program)Type -where psgpsgCopy the line thatwhere psgpsggave you into the first input of the shortcut maker programRun psgpsg by typingpsgpsgin your command windowRight click and choose "File Location"Copy the file location results, but change the extension from .py to .ico and paste into the Icon file input of the shortcut makerClick "Create Shortcut"This will create a shortcut in the same folder as the target file.  You can safely move this shortcut file to any place you want (like to your desktop).  Double-click the shortcut and your program should launch.Release Notes1.0.0   20-Sept-2022Initial releaseLicenseLicensed under an LGPL3 LicenseCopyright 2022This PySimpleGUI Application Was Designed and Written ByThe PySimpleGUI ProjectMike from PySimpleGUI.orgContributingLike the PySimpleGUI project, this project is currently licensed under an open-source license, the project itself is structured like a proprietary product. Pull Requests are not accepted.CopyrightCopyright 2022 PySimpleGUI
Package: psgresizer
psgresizerA PySimpleGUI ApplicationResize & convert images between formatsConvert images between formats, resize, and Base64 encode your images
quickly and easily. Results can be pasted into your PySimpleGUI
program directly, for easy distribution of your applications, without
the need for separate image files.FeaturesMakes working with images using PySimpleGUI easierReads and writes images in a many formatsPlaces results directly on your clipboardBase64 encodes images, to drop into your .py file, avoiding the need to ship separate image filesInstallationUsing PIP with PyPIThe latest official release of PySimpleGUI products can be found on PyPI.  To pip install the demo applications from PyPI, use this commandIf you use the commandpythonon your computer to invoke Python (Windows):python -m pip install --upgrade psgresizerIf you use the commandpython3on your computer to invoke Python (Linux, Mac):python3 -m pip install --upgrade psgresizerUsing PIP with GitHubYou can also pip install the PySimpleGUI Applications that are in the PySimpleGUI GitHub account.  The GitHub versions have bug fixes and new programs/features that have not yet been released to PyPI. To directly pip install from that repo:If you use the commandpythonon your computer to invoke Python (Windows):python-mpipinstall--upgradehttps://github.com/PySimpleGUI/psgresizer/zipball/mainIf you use the commandpython3on your computer to invoke Python (Linux, Mac):python3-mpipinstall--upgradehttps://github.com/PySimpleGUI/psgresizer/zipball/mainUsageOnce installed, launch psgresizer by typing the following in your command line:psgresizerLicense & CopyrightCopyright 2023-2024 PySimpleSoft, Inc. and/or its licensors.This is a free-to-use "Utility" and is licensed under the
PySimpleGUI License Agreement, a copy of which is included in the
license.txt file and also available athttps://pysimplegui.com/eula.Please see Section 1.2 of the license regarding the use of this Utility,
and seehttps://pysimplegui.com/faqfor any questions.ContributingWe are happy to receive issues describing bug reports and feature
requests! If your bug report relates to a security vulnerability,
please do not file a public issue, and please instead reach out to us
atissues@PySimpleGUI.com.We do not accept (and do not wish to receive) contributions of
user-created or third-party code, including patches, pull requests, or
code snippets incorporated into submitted issues. Please do not send
us any such code! Bug reports and feature requests should not include
any source code.If you nonetheless submit any user-created or third-party code to us,
(1) you assign to us all rights and title in or relating to the code;
and (2) to the extent any such assignment is not fully effective, you
hereby grant to us a royalty-free, perpetual, irrevocable, worldwide,
unlimited, sublicensable, transferrable license under all intellectual
property rights embodied therein or relating thereto, to exploit the
code in any manner we choose, including to incorporate the code into
PySimpleGUI and to redistribute it under any terms at our discretion.
Package: psg-reskinner
Reskinner Plugin for PySimpleGUIReskinner is a Python 3 plugin forPySimpleGUI's Tkinter port which enables changing the theme of a PySimpleGUI window
on the fly without the need for re-instantiating the window.Find out more atthe Github page, and please consider starring the
project if you find it useful.Copyright (c) 2023 Afam-Ifediogor Divine.
Package: psh
psh allows you to spawn processes in Unix shell-style way.Unix shell is very convenient for spawning processes, connecting them into
pipes, etc., but it has a very limited language which is often not suitable
for writing complex programs. Python is a very flexible and reach language
which is used in a wide variety of application domains, but its standard
subprocess module is very limited. psh combines the power of Python language
and an elegant shell-style way to execute processes.Complete documentation is available athttps://konishchevdmitry.github.io/psh/
Package: pshape
PshapePrints shapes of NumPy-like arrays, as well as many more useful debugging metrics, along with the names of the input variable outside the functions' scope.This comes in very handy when debugging complex programs that manipulate hugendarrays (aka Tensors) where shape (dimensions) and value ranges vary
widely and are hard to inspect.I got tired of writing tons ofprint("my_tensor", my_tensor.shape, my_tensor.min(), my_tensor.max())over and over, so I made that utility, but then
I got tired of copy/pasting it into every new projects from my Gist of it, so here I finally made it a library that I can pip install everywhere.Getting startedpip3installpshapepshapeworks with Numpy, PyTorch and Tensorflow, though TF is the least stable of the three since I don't test it extensively, but feel free to contribute ! You can mix and matchpshapecalls containing Numpy, Pytorch and Tensorflow arrays.I try to make pshape as "safe" as possible, so that it never crashes your code, because it's not crucial that it work as a tool and it'd be silly to risk the whole program execution over a stupid bug in a debugging tool.CaveatsBecausepshapeuses theinpectbuilt-in Python module, it can't analyse source code from the REPL interpreter, and hence it won't be able to see the variable names if you try something like:$python3
>>>importnumpyasnp
>>>frompshapeimportpshape
>>>pshape(np.arange(10))arr_1(10,)04.59As you can see the name used is notnp.arange(10)as it should be, and defaults instead toarr_1,arr_2, etc.The only way that the inspect module can display source code is if the code came from a file that it can access. Source typed at an interactive prompt is discarded as soon as it is parsed, there's simply no way for inspect to access it. – @jasonharperUsage>>>frompshapeimportpshape>>>importnumpyasnp>>>importtorch>>>>>>pshape(np.arange(10).reshape(5,2,1),heading=True)nameshapedtypeminmeanmaxnp.arange(10).reshape(5,2,1)(5,2,1)int640.00004.50009.0000>>>pshape(np.eye(4),np.arange(10).reshape(5,2,1),heading=True)nameshapedtypeminmeanmaxnp.eye(4)(4,4)float640.00000.25001.0000np.arange(10).reshape(5,2,1)(5,2,1)int640.00004.50009.0000>>>cool_arr1=np.random.rand(123,4,2,1)>>>cool_arr2=np.random.rand(123,4,2,2)>>>cool_arr3=np.random.rand(123,4,2,3)>>>pshape(cool_arr1,cool_arr2,cool_arr3)cool_arr1(123,4,2,1)float640.00040.49611.0000cool_arr2(123,4,2,2)float640.00060.49471.0000cool_arr3(123,4,2,3)float640.00170.49970.9996>>>pshape(cool_arr1,np.arange(12).reshape(3,4),cool_arr3)cool_arr1(123,4,2,1)float640.00040.49611.0000np.arange(12).reshape(3,4)(3,4)int640.00005.500011.0000cool_arr3(123,4,2,3)float640.00170.49970.9996>>>pshape(torch.arange(12).view(3,4),np.arange(12).reshape(3,4),cool_arr3)nameshapedevicedtypeminmeanmaxtorch.arange(12).view(3,4)(3,4)cputorch.int640.00005.500011.0000np.arange(12).reshape(3,4)(3,4)N/Aint640.00005.500011.0000cool_arr3(123,4,2,3)N/Afloat640.00170.49970.9996To get a similar display, you can run thedemo_pshape.pyscript at the root of this repo.DevelopmentTo install the latest version from Github, run:git clone git@github.com:sam1902/pshape.git pshape
cd pshape
pip3 install -U .
Package: ps.herald
TheHerald  packageprovides three tools usable to
monitor the behaviour of distributed applicationsHerald’s functionality is based on theBasicclass, defined in the ps.basic package.TheBasicclass enhances/uses the standard python logging package - especially  the ability to log messages
to a stream-socket.This package adds mechanisms to:put these messages into a central database (bridge)route/bridge  these messages to additional destinations (bridge)display in a web-server (herald)take actions on special messages (neelix)take actions on lost system heartbeat (neelix)
Package: pshitt
Introductionpshitt (for Passwords of SSH Intruders Transferred to Text) is a lightweight
fake SSH server designed to collect authentication data sent by intruders.
It basically collects username and password used by SSH bruteforce software
and writes the extracted data to a file in JSON format.pshitt is written in Python and use paramiko to implement the SSH layer.Running pshittGo into the source directory and run./pshitt -o passwords.jsonThis will run a fake SSH server listening on port 2200 to catch authentication
data sent by the intruders. Information about SSH connection attempt will be
stored in thepasswords.jsonusing JSON as format{"username": "root", "src_ip": "116.10.191.184", "password": "P@ssword", \
 "src_port": 41397, "timestamp": "2014-06-25T21:35:21.660303"}Full options are available via ‘-h’ optionusage: pshitt [-h] [-o OUTPUT] [-k KEY] [-l LOG] [-p PORT] [-t THREADS] [-v]
              [-D]

Passwords of SSH Intruders Transferred to Text

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        File to export collected data
  -k KEY, --key KEY     Host RSA key
  -l LOG, --log LOG     File to log info and debug
  -p PORT, --port PORT  TCP port to listen to
  -t THREADS, --threads THREADS
                        Maximum number of client threads
  -v, --verbose         Show verbose output, use multiple times increase
                        verbosity
  -D, --daemon          Run as unix daemonUsing pshitt dataAs the format is JSON, it is easy to use the data in data analysis
software such as Splunk or Logstash.Here’s a sample configuration for logstashinput {
   file {
      path => [ "/var/log/pshitt.log" ]
      codec =>   json
      type => "json-log"
   }
}

filter {
    # warn logstash that timestamp is the one to use
    if [type] == "json-log" {
        date {
            match => [ "timestamp", "ISO8601" ]
        }
    }

    # optional but geoip is interesting
    if [src_ip]  {
        geoip {
            source => "src_ip"
            target => "geoip"
            add_field => [ "[geoip][coordinates]", "%{[geoip][longitude]}" ]
            add_field => [ "[geoip][coordinates]", "%{[geoip][latitude]}"  ]
        }
        mutate {
            convert => [ "[geoip][coordinates]", "float" ]
        }
    }
}

output {
  elasticsearch {
       host => "localhost"
  }
}Basically, it is just enough to mention that thepshitt.logfile is
using JSON format.
Package: pshlib
pshlibCausal embedding of shell commands into python code.ExampleYou can break single long bash lines into nested python like multi-line statements:res=psh('VAR=world',"""echo This isa multiline hello$VAR!""",).outputprint(res)excepted='This is a multiline hello world!\n'assertexcepted==resInstallationwith pip:pip install pshlibwith poetry:poetry add git+https://gitlab.com:ewiger/pshlib.gitLicenseLicensed under MIT. See LICENSE for details.Publishpoetry publish --build
Package: pshmodule
🤖 AI Module👉🏻 데이터 수집, 전처리, DB 관련 패키지pshmodulehttps://pypi.org/project/pshmodule/db :  sqlalchemy, pymysql excutemany queryprocessing : data 정규표현식 전처리selenium : selenium 크롤링utils : filemanager 파일 load, save 및 전반 utils👉🏻 use totest directory의 test 파일로 예시 참고 ex) alchemy_test, selenium_testhttps://github.com/hipster4020/pshmodule/tree/master/test👉🏻 installpip3 install pshmodule👉🏻 tree[src][pshmodule][db][init.py][alchemy.py][config.py][processing][init.py][processing.py][selenium][init.py][helper.py][utils][init.py][filemanager.py][init.py][test][selenium_test.py][README.md][setup.py]👉🏻 registpython3 setup.py sdist bdist_wheel
twine upload --repository-urlhttps://upload.pypi.org/legacy/dist/*
Package: psh-pytorch
Perfect Spatial Hashing in PyTorchThis library is an unofficial implementation ofPerfect Spatial Hashing by Lefebvre and Hoppe.UsageInstall the library with:# For the latest version:pipinstallgit+https://github.com/dli7319/psh-pytorch.git# For the PyPI version:# pip install psh-pytorchInstantiate aPerfectSpatialHashobject with:frompsh_pytorchimportPerfectSpatialHashoccupancy_grid# A 2D (or higher dimensional) occupancy gridout_features=3perfect_hash=PerfectSpatialHash(occupancy_grid,out_features)# 2D forward passindices=torch.stack(torch.meshgrid(torch.arange(128,device=device),torch.arange(128,device=device),indexing='ij'),-1)values,sparsity=perfect_hash(indices.reshape(-1,2))#   Values are of shape (128 * 128, 3)#   Sparsity is of shape (128 * 128)#   Note that values are unmaskedmasked_values=values*sparsity.unsqueeze(-1)ExamplesSeeexamples/for a simple example of how to use the library.If you clone the repository, you can run the example with:python-mexamples.2D_bulbLimitationsCurrently, interpolation is not supported. Hence, you must use long indices and there are no gradients with respect to the indices.DevelopmentRun tests withpytest.AcknowledgementIf you find this library useful, please consider citing the original paper:@article{lefebvre2006perfect,author={Lefebvre, Sylvain and Hoppe, Hugues},title={Perfect Spatial Hashing},year={2006},issue_date={July 2006},publisher={Association for Computing Machinery},address={New York, NY, USA},volume={25},number={3},issn={0730-0301},url={https://doi.org/10.1145/1141911.1141926},doi={10.1145/1141911.1141926},journal={ACM Trans. Graph.},month={jul},pages={579–588},numpages={10},keywords={vector images, minimal perfect hash, sparse data, adaptive textures, multidimensional hashing, 3D-parameterized textures}}