Saravanan666/pypi-org huggingface dataset:
Package: pyscancf
PyScanCfCreates Py-ART compatible cf-radial data from individual sweeps of Indian Meteorological Department (IMD) Radar dataDescriptionPyScanCf is a library for creating cfradial (polar) data from IMD radars that contain all 10 sweeps from single scans which are named as (Polar_ABC.nc) as well as gridded radar data from which are named as (grid_ABC.nc). Both formats are compatible for PyART. It uses Pyart to create grid data, so please remember to citePy-ARTas well.Latest Documentationhttps://syedha.com/PyScanCf/Installing from sourceInstalling PyScanCf from source is the only way to get the latest updates and
enhancement to the software that have not yet made it into a release.
The latest source code for PyScanCf can be obtained from the GitHub repository,https://github.com/syedhamidali/PyScanCf.git.How to install::conda create -n pcf python=3.9 jupyter arm_pyart pandas wradlib git -c conda-forge
conda activate pcf
pip install git+https://github.com/syedhamidali/PyScanCf.gitOr, to install in your home directory, use::git clone https://github.com/syedhamidali/PyScanCf.git
python setup.py install --userOr, Install via pip::pip install pyscancfCitationSyed, H. A., Sayyed, I., Kalapureddy, M. C. R., & Grandhi, K. K. (2021). PyScanCf – The library for single sweep datasets of IMD weather radars. Zenodo.doi:10.5281/zenodo.5574160.PyScanCf Tutorial on Youtubehttps://youtu.be/OUrdhe5virADocumentationImport Library::from pyscancf import pyscancf as pcfMention the data path::inp = '/Users/rizvi/Downloads/goa16'Convert data to cfradial format::pcf.cfrad(inp,inp,True,'REF')And you'll see the beautiful gridded data plot in your notebook,
the figures will be saved in the directory from where you launched the notebookDetailed and efficient way to use this toolkitDetailed Notebook
Package: pyscandl
DocumentationPyPIGitHubPyscandl is a tool to download Mangas and Webtoons from various Manga and Webtoon sites easily.Don’t overuse this tool.Support the developers of those websites by disabling your adblock on their site. Advertisements pay for the website servers.Get the mangas from official retailers when they are accessible in your country !It is also built to be lightweight and to not require external tools like selenium, to be used you only need python 3.7 or higher and nodejs installed.You can download manually one or a set of chapters from a manga or setup an auto downloader that will check for you if a new chapter is out and if yes download it.A full documentation of the project is available athttps://pyscandl.readthedocs.iowith:aninstallation guideausage guideand a full code documentationWebsites sutportedThe list of currently supported websites is:Mangadex(english and french, if you want more languages, just ask and I’ll add them)FanfoxNHentaiNaver comicsFRScanPyscandl is far from its end stage so other websites can be added if needed, don’t hesitate to ask in the issues about a new website to add.Planned for future releases☑ readthedocs documentation☑ pypi release☑ import and export theautodldatabase☐ text user interface or graphical user interface☑ fetchers rework☑ remove node dependence for fanfox☐ place the db in the userdata folder☐ migrate the db to sqlite☑ pass fanfox from regex to bs4☐ add mangadraft if possible
Package: pyscanfcs
A tool for data evaluation in perpendicular line scanning fluorescence correlation spectroscopy (FCS)When a membrane is scanned perpendicularly to its surface, the fluorescence signal
originating from the membrane itself must be separated from the signal of the
surrounding medium for an FCS analysis. PyScanFCS interactively extracts the
fluctuating fluorescence signal from such measurements and applies a multiple-tau
algorithm. The obtained correlation curves can be evaluated usingPyCorrFit.Getting startedInstallationInstallers for PyScanFCS are available at therelease page.
Alternatively, install withpip install pyscanfcs.DocumentationA detailed documentation including an explanation of the graphical user interface and available model
functions is available as aPDF file.
Package: pyScanLib
An combination of Twain and SANE APIRequirements:Python 2.*SANE API for LinuxTwain Lib for Win32Functions:pyScanLib() - Main ClassgetScanners() - Return Scanner with NamesetScanners(scannerName)setDPI(dpi)setScanArea(left,top,width,height) - For scanning selected Area size
in InchessetPixelType(“color”) - bw (Black & White), gray and colorscan() - Start ScanningcloseScanner() - Unselect selected scannerclose() - Destory connected API ClassSpecial Function:pixelToInch(pixel) - Convert Pixel(s) to Inch(es) using DPI from
setDPI() or default 200cmToInch(cm) - Convert Centimeter(s) to Inch(es)inchTomm(inch) - Convert Inch(es) to Millimeter(s)mmToInch(mm) - Convert Millimeter(s) to Inch(es)Example:from pyScanLib import pyScanLib

loadScanner = pyScanLib()
scanners = loadScanner.getScanners()
loadScanner.setScanner(scanners[0])

loadScanner.setDPI(300)
loadScanner.setScanArea(width=512,height=512) #(left,top,width,height)
loadScanner.setPixelType("color") #bw/gray/color

PIL = loadScanner.scan()
PIL.save("scanImage.jpg")
loadScanner.closeScanner() # unselect selected scanner in setScanners()
loadScanner.close() # Destory whole classDetail Example:CheckexampleUsage.pyin repoNotice:Not tested on Linux however work perfect on Windows.Used in:autoScannerLicense:pyScanLib uses BSD 2-Clause License.
Package: pyScannerWrapper
pyScannerWrapper -- WORK IN PROGRESS --Easy-to-use Python wrapper for various port scanners. (WIP)Supported scannersMasscanPlanned scanners planned to be addedNmapRustScanUsagemasscanfrompyScannerWrapper.scannersimportMasscanfrompyScannerWrapper.structsimport*# Initialize masscan objectmas=Masscan()# Change some propertiesmas.input_ip_list=["192.168.0.0/16","10.0.0.0/8"]mas.input_port_list=["22","80","443","8080"]mas.args="--rate 10000"mas.sudo=True# Required on Unix systems# Normal examplemas.scan()print(mas.output)# Yielding exampleresults=mas.scan_yielder()forresultinresults:print(result)
Package: pyscan-rs
🐍 PyscanA dependency vulnerability scanner for your python projects, straight from the terminal.can be used within large projects. (seebenchmarks)automatically finds dependencies either from configuration files or within source code.support for poetry,hatch,filt,pdm and can be integrated into existing build processes.hasn't been battle-hardened yet. PRs and issue makers welcome.🕊️ Installpipinstallpyscan-rslook out for the "-rs"part
orcargoinstallpyscancheck out thereleases.🐇 UsageGo to your python source directory (or wherever you keep yourrequirements.txt/pyproject.toml) and run:>pyscanor>pyscan-dpath/to/srcPyscan will find any dependencies added through poetry, hatch, filt, pdm, etc.
Here's the order of precedence for a source/config file:requirements.txtpyproject.tomlyour source code (.py)Pyscan will use yourpipto find unknown versions, otherwisepypi.orgfor the latest version. Still,Make sure you version-ize your requirementsand use properpep-508 syntax.Buildingpyscan requires a rust version of< v1.70, and might be unstable on previous releases.
There's an overview of the codebase atarchitecture. Grateful for all the contributions so far.🦀 Notepyscan doesn't make sure your code is safe from everything. Use all resources available to you likesafetyDependabot,pip-audit, trivy and the likes.🐰 TodoAs of October 15, 2023:Gather time to work on it (incredible task as a high schooler)Persistent state representation of a project's security.Graphical analysis of dependencies and their dependencies, and so on.Better display, search, filter of vulns🐹 DonateWhile not coding, I am a broke high school student with nothing else to do. I appreciate all the help I can get.
Package: pyscap
Python package for handling Security Content Automation Protocol.Warning: This project is still under development, please do not use it in a production environment.InstallingInstall and update using pip:$ pip install pyscapFeaturesLoad and dump SCAP files.OVALOCILXCCDFDSARFUsageimportpyscapmy_benchmark=pyscap.xccdf.Benchmark.parse("my_benchmark.xml")print(my_benchmark.title)
Package: pyscaps
PySCAPSpython -m pip install pyscapsNote: This library is part of thebric_analysis_librariesPython package. It is provided here as an isolated package for convenience.Python library to analyzeSCAPS-1Dmodels and results.ModulesModelModule name:modelLoads model data into an object for analysis.GeneralModule name:gnrFormats general data into Pandas DataFrames.JVModule name:ivFormats IV data into Pandas DataFrames.Energy BandModule name:ebFormats energy band data into Pandas DataFrames.Generation and RecombinationModule name:genFormats generation and recombination and data into Pandas DataFrames.CommonModule name:commonCommon functions with low level functionality.Examplesimportpyscaps# import model into objectmodel=pyscaps.model.Model.from_file('path/to/my_model.scaps')# import single shot results into Pandas DataFrameeb=pyscaps.eb.import_eb_data('path/to/my_eb_file.eb')# import batch record results into Pandas DataFrameiv=pyscaps.iv.import_batch_iv_data('path/to/my_batch_iv_file.iv')cp=pyscaps.iv.import_batch_cell_parameters('path/to/my_batch_iv_file.iv')
Package: pyscarab
# pyscarab[![Travis](https://travis-ci.org/blindstore/pyscarab.svg?branch=master)](https://travis-ci.org/blindstore/pyscarab)Python wrapper and abstractions for [libscarab](https://hcrypt.com/) FHE library## InstallationRequires libscarab [fork](https://github.com/blindstore/libScarab) installed. If it is present:` pip installgit+git://github.com/blindstore/pyscarab.git@master`
Package: pyscard-json-rpc
pyscard JSON RPCJSON RPC bindings for pyscard.Free software: MIT licenseDocumentation:https://pyscard-json-rpc.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2020-11-17)First release on PyPI.
Package: pySCATMECH
# pySCATMECH PackagepySCATMECH is a Python interface to SCATMECH: Polarized Light Scattering C++
Class Library.## SCATMECHSCATMECH is an object-oriented C++ class library developed to
distribute models for light scattering applications. Included in the
library are models for diffuse surface scattering that predict the
bidirectional reflectance distribution function (BRDF), codes for
calculating scattering by isolated particles, and codes for
reflection, transmission, and diffraction from gratings. Emphasis has
been given to those diffuse scatter models that are physics-based and
which predict the polarization properties of the scattered light. The
library also includes a number of classes that are useful for working
with polarized light or the optics of thin films. The library is
designed to enable expansion of new models.See [https://pages.nist.gov/SCATMECH/index.htm](https://pages.nist.gov/SCATMECH/index.htm) for full SCATMECH documentation.## pySCATMECH ModulesPySCATMECH contains nine modules:mueller - Tools for handling Mueller matrices, Stokes vectors, Jones matrices, and Jones vectorsmodel - Tools for handling the SCATMECH::Model class, which handles generic modelsfresnel - Tools for handling optical functions, thin films, and reflection and transmission coefficientsbrdf - Tools for handling bidirectional reflectance distribution function (BRDF) models (SCATMECH::BRDF_Model)local - Tools for handling differential scattering cross-section (DSC) models of local defects on surfaces (SCATMECH::Local_BRDF_Model)rcw - Tools for handling rigorous couple wave (RCW) analysis of 1D periodic gratings (SCATMECH::RCW_Model)crossrcw - Tools for handling RCW analysis of 2D periodic gratings (SCATMECH::CrossRCW_Model)scatterer - Tools for handling free-space scattering functions (SCATMECH::FreeSpaceScatterer)integrate - Tools for integrating BRDF or DSC modelsSee [https://pages.nist.gov/pySCATMECH/index.htm](https://pages.nist.gov/pySCATMECH/index.htm) for full pySCATMECH documentation.## InstallationTo install pySCATMECH, run`pip install pySCATMECH`
Package: pyScatSpheres
pyScatSpheresPackage for solving the scalar wave equation  with a linear array of scattering spheres.
Possibility to solve for constant potential well and hard spheres i.e. infinite potential.Installationpip install pyScatSpheresThe installation requires external system based installations :Fortran compiler : to run external library py3njoptional tex compiler : necessary for the figures to be displayed in latex text.Those packages can be installed on linux withapt-get install gfortranapt-get install tex-liveUsing the GUIA gui is available to interactively display pre calculated solutions.import os
from pyScatSpheres import gui_base as hsa_gui

#fetch built-in solution
df_path=os.path.dirname(hsa_gui.__file__)+'/data/qdotSphereArray2_kp0.pkl'
hsa_e = hsa_gui.GUI_handler(df_path)Using the APINew sets of solution can be calculated and solved to a pickle using the API.importnumpyasnpimportpandasaspdfrompyScatSpheresimportqdot_sphere_arrayasqsafrompyScatSpheresimportglob_colorsascolorskas=[0.5,2,5]kds=[2,5,10]kps=[1.2]kas,kps,kds=np.meshgrid(kas,kps,kds)kas,kps,kds=kas.flatten(),kps.flatten(),kds.flatten()cols=['N','ka','kp','kd','nmax','sigma','ap','bp']df=pd.DataFrame(columns=cols)forka,kp,kdinzip(kas,kps,kds):nmax=max(int(np.ceil(1.3*ka)),int(ka)+4)s=qsa.QdotSphereArray(N=N,ka=ka,kp=kp,kd=kd*ka,nmax=10,solve=1,copt=1)sig=s.get_s(npts=1000)df=df.append(dict(zip(cols,[s.N,s.ka,s.kp,s.kd,s.nmax,sig,s.ap,s.bp])),ignore_index=True)df.to_pickle(df_name)print(colors.green+'DataFrame saved:\n'+colors.yellow+df_name+colors.black)
Package: pyscbwrapper
pyscbwrapperVersion 0.1.1Python wrapper for Statistics Sweden's API, which can be found athttp://www.scb.se/en/api.News in version 0.1:Compatible with changes in the API.Includes a function for generating JSON queries from user-supplied input.It is now possible to go up and down in the metadata tree more than one step at a time.News in version 0.1.1:Bugfixes: Variables with space in their names can now be accessed by removing the spaces.New functionality: get_variables() returns a dict instead of only writing to the terminal.Dependencies: requests>=2.21.0To import:frompyscbwrapperimportSCBFor info on usage:help(SCB)
Package: pysces
PySCeS - the Python Simulator for Cellular SystemsPySCeS was originally developed by the Triple-J Group for Molecular
Cell Physiology at Stellenbosch University in order to try to model and understand the
complex processes and systems which make up the living cell. The project is
maintained by Brett Olivier (AIMMS, Vrije Universiteit Amsterdam) and Johann Rohwer
(Laboratory for Molecular Systems Biology, Stellenbosch University).PySCeS features, amongst other things:A text-based model description language.A structural analysis module.Integrators for time simulation.Non-linear solvers for steady-state analysis.A module for performing Metabolic Control Analysis.A bifurcation module for systems which exhibit multiple steady states.A variety of extra utilities for parameter scans, data output and plotting.A dynamic module loading framework.Systems Biology Markup Language (SBML) import and export capability.
Package: py-sc-fermi
py-sc-fermipy-sc-fermiis a materials modelling code for calculating self-consistent Fermi energies and defect concentrations under thermodynamic equilibrium (or quasi-equilibrium) in the dilute limit given pre-calculated defect formation energies. For the theory, seethis paper.The necessary inputs are (charged) defect formation energies, an (electronic) density of states, and the volume of the unit cell. Having this data, aDefectSystemobject can be inititalised, from which the self consistent Fermi energy, defect concentrations, defect transition levels and electron and hole concentrations can be calculated.Documentation and usage guides can be foundhere.Installationpy-sc-fermi can be installed with pip:pip install py-sc-fermiAlternatively, the latest development build can be installed by cloning this repository and installing with pip:git clone https://github.com/bjmorgan/py-sc-fermi.git
cd py-sc-fermi
pip install .ContributingBugs reports and feature requestsIf you think you've found a bug, please report it on theissue tracker.
This is also the place to propose ideas for new features or ask
questions about the design ofpy-sc-fermi.
Poor documentation is considered a bug, but please be as specific as
possible when asking for improvements.Code contributionsWe welcome help in improving the package with your
external contributions. This is managed through Github pull requests;
for external contributionsfork and pullis preferred:First open an Issue to discuss the proposed contribution. This
discussion might include how the changes fitpy-sc-fermiscope and a
general technical approach.Make your own project fork and implement the changes
there.Open a pull request to merge the changes into the main
project. A more detailed discussion can take place there before
the changes are accepted.CitingIf you usepy-sc-fermiin your work, please consider citing the following:thepaperassociated with thepy-sc-fermithepaperassociated with the FORTRAN codeSC-Fermion which this code was initially based, which provides an excellent discussion of the underlying theory.
Package: pyscfg
pyscfg -Python Simple ConfigurationA simple solution to store/load/modify configurations for your Python project.version:0.2.0contributors:suppetiaSetupinstalling via pippipinstallpyscfginstalling from sourcegitclonehttps://github.com/suppetia/pyscfg.gitcdpyscfg
pythonsetup.pyinstallGetting startedThis library allows to work with configurations which are supposed to endure a restart of a program (nearly) as simple as working with dictionaries.
Access/update/remove configurations stored in a file using the "bracket-syntax" like using a dictionary
and the library will handle all the I/O and keep the configs-file up to date.At this state of development YAML and JSON files are supported to store the configurations.!All configuration keys must be strings
and if they contain a dot (".") they are interpreted as multilevel keys.To get started initialize a SimpleConfigs instance:frompyscfgimportSimpleConfigs# uses file 'configs.yml' (default) to store the configurationscfg=SimpleConfigs()# To store the configs in a specific file, pass the path to configuration file.cfg=SimpleConfigs("data/configs.yml")Ifdata/configs.ymllooks likea:b:valuec:value2d:value3'value' can be accessed using any of the following wayscfg["a.b"]cfg["a"]["b"]cfg.get("a.b")cfg["a"].get("b")cfg.get("a").get("b")cfg.get("a")["b"]Callingcfg["a.d"]will raise aKeyErrorwhilecfg["a"].get("d")# returns Nonecfg["a"].get("d",default=None)# returns Nonecfg["a"].get("d",default="foo")# returns "foo"returns the default value if the key is not stored in the configs.To extract a group of configs (a layer in the configs file) as a dictionary usecfg["a"].as_dict()# ordict(cfg["a"])In the same way updating or adding new configuration keys works:cfg["a.b"]="new_value"cfg["a"]["b"]="new_value"...cfg["e"]="another new value"...# to add a group of parameters use a dict:cfg["f"]={"g":1,"h":1e10}After these changes thedata/configs.ymlfile will look like this:a:b:new valuec:value2d:value3e:another new valueTo remove a key use one of the following ways:cfg.remove("e")delcfg["e"]# to retrieve the item to be removed or to safely remove a key use dict-like pop-methodcfg.pop("e")# returns "another new value"cfg.pop("non existing key")# returns Nonecfg.pop("non existing key",default=42)# returns 42Default values stored in a dictionary can be passed to the constructor. These values will be assigned if the keys aren't in the configurations already.
The configurations file is updated.This might be useful to create a configurations file for an app for the first time and these configs might be changed by the user later.frompyscfgimportSimpleConfigsdefaults={"foo":"John","bar":"Doe","num":0}# uses file 'configs.yml' (default) to store the user configurationscfg=SimpleConfigs(defaults=defaults)print(cfg["num"])# prints 0ifuser_chooses_this_option:cfg["num"]=1else:cfg["num"]=-1print(cfg["num"])# prints 1 or -1You can also write your defaults into a configuration file (supported:YAML,JSON) and pass it to the constructor.# uses file 'default_cfg.yml' in subdirectory 'data' to load the default configuration valuescfg=SimpleConfigs(defaults="data/default_cfg.yml")
Package: py-scfg
A Python module to parsescfgformatted configuration files.It’s a simple port of the Go modulego-scfg.Note:Not to be confused withpyscfgwhich appears to parse
configurations into and out of YAML files.UsageVery simple:import scfg

conf = scfg.Config("~/your_config.conf")
conf.load()
train = conf.get("train")
train_models = train.get_all("model")
trail_models[0].get("lines-served")ContributingWe accept patches submitted viahg emailwhich is thepatchbombextension included with Mercurial.Please see ourcontributing
documentfor more
information.The mailing list where you submit your patches is~petersanchez/public-inbox@lists.code.netlandish.com. You can also
view the archives on the web here:https://lists.code.netlandish.com/~petersanchez/public-inboxTo quickly setup your clone ofpy-scfgto submit to the mailing list
just edit your.hg/hgrcfile and add the following:[email]
to = ~petersanchez/public-inbox@lists.code.netlandish.com

[patchbomb]
flagtemplate = "py-scfg"

[diff]
git = 1We have more information on the topic here:ContributingUsing email with
MercurialMailing list
etiquetteCopyright & LicenseAll documentation, libraries, and sample code are Copyright Peter
Sanchez <pjs@petersanchez.com>. The library and sample code are made
available to you under the terms of the BSD license which is contained
in the included file,LICENSE.Commercial SupportThis software, and lots of other software like it, has been built in
support of many of Netlandish’s own projects, and the projects of our
clients. We would love to help you on your next project so get in touch
by dropping us a note athello@netlandish.com.
Package: pysch
pysch - Python-made SSH Connection Managerpysch(spelled in Russian as пыщ, just for fun),Python-madeSSHConnectionHelper, is an SSH Client based onparamikofor Mac and Linux. It uses keepass to securely store remote hosts credentials and YAML to maintain inventory tree. It also supports session logging to a file.InstallationJust usepipto installpysch:python -m venv venv
cd venv
source bin/activate
pip3 install pyschUsageHere is the avaiable commands:(venv) % pysch
Usage: pysch [OPTIONS] COMMAND [ARGS]...

Options:
  -c, --config PATH               Path to configuration file
  -l, --loglevel [CRITICAL|ERROR|WARNING|INFO|DEBUG]
  --help                          Show this message and exit.

Commands:
  add-credentials   Add new credendials
  connect           Connect to the host
  init              Create initial config and inventoty
  list-credentials  Get list of credendials
  list-hosts        Get list of hostsFirst, init the configuration. That creates sample configuration and inventory files with empty keepass file protected with key in~/.config/pysch/directory:(venv) % pysch init
Default configuration has been saved at ~/.config/pysch/Then add your hosts to the~/.config/pysch/inventory.yamlusing the text editor of your choise and credentials for it using any keepass software or theadd-credentialscommand:(venv) % pysch add-credentials  
Title: my_credentials
Username: root      
Password: 
Repeat for confirmation: 
"my_credentials" entry has been added to the keepass dbUse--helpto show arguments and available options for a command:(venv) % pysch connect --help
Usage: pysch connect [OPTIONS] HOST

  Connect to the host

Options:
  --session-log PATH  Session log file location
  --help              Show this message and exit.Connection process is pretty simple:(venv) % pysch connect srv
Connecting to srv
root@my-shiny-server.example.com:~#