Saravanan666/pypi-org huggingface dataset:
Package: simp
Usagesimp.py[-h][--commit][--dry_run][--fail][targets[targets...]]DescriptionSort the import directives in Python files, excluding __future__.Positional argumentstargetsOne or more Python files or directories with Python files.
Without arguments, runs simp on the current directory.Optional arguments-h,--helpShow this help message and exit--commit,-cGit commit the changes--dry_run,-dIf set, do not make the changes to the Python files, but just
list the diffs.--fail,-fIf set, the program fails if any changes need to be made. This
is useful for a commit hook to check if all imports are sorted.CommentsI wanted to sort my Python includes with no fuss.simpfinds the first block
of unindented import statements, and sorts them. Any comments between import
lines bubble up to the top in their original order.(automatically generated bydokson 2020-11-01T14:22:18.849238)
Package: simpadlib
SimpadLib v2.2.1Example Usagesfromsimpadlibimportsimpadsim=simpad.Controller()# Initialize the SimPad classsim.set_color("#FF000",keys=simpad.Keys.both)# Change all keys to color "#FF0000"sim.set_color("#00FF00",keys=simpad.keys.left)# Change the left key's color to "#00FF00"fromsimpadlibimportsimpadsim=simpad.Controller()# Initialize the SimPad classsim.set_color("#FF000",keys=simpad.Keys.both,brightness="25%")# Change all keys to color "#FF0000", but only with 25% brightnesssim.set_color("#00FF00",keys=simpad.keys.left,brightness="50%")# Change the left key's color to "#00FF00", but only with 50% brightness
Package: simpandas
simpandasA couple of Pandas DataFrame and Series subclasses, extended to work with units and to deal with column names following the style of eclipse simulator outputs.This package is under development and is regularly updated. Back-compatibility is intended to be maintained when possible.What Contains This PackageIt is powered by other packages, likeNumPy,seabornandunytsand further own methods, to be able to deal with tables of quantities and facilitate common manipulations of time-dependent data.To install this package:To install it from thepypi.orgrepository:pip install simpandasor upgrade to the latest version:pip install --upgrade simpandasRequisitesPandasNumPymatplotlibdatetimeunyts
Package: simpar
simpar (SIMulate PAndemic Response) simulates the spread of a disease through a
heterogeneous population using anSIR model.
Thegroupsmodule can be used to manage a heterogeneous population comprised
of "meta-groups" with varying contact levels. The tool focuses on providing
functionality for assessing pandemic response strategies such as isolation
protocols, testing regimes (with varying tests), and vaccination requirements.
TheStrategyclass is used to define a potential strategy. TheScenarioclass is used to manage the parameters pertaining to a scenario under which a
disease is spreading. This consists of a population, environment parameters
(e.g. outside rate of infection), and disease parameters (e.g. symptomatic
rate). Lastly, theTrajectoryclass offers methods to compute metrics on a
simulation of some strategy applied to a scenario. For more details,
see theDocumentation.InstallationThe quickest way to get started is with a pip install.pipinstallsimparUsage# importsimportyamlimportnumpyasnpfromsimpar.scenarioimportScenariofromsimpar.strategyimportstrategies_from_dictionaryfromsimpar.trajectoryimportTrajectoryimportmatplotlib.pyplotasplt# load scenario and strategywithopen("dev_scenario.yaml","r")asf:yaml_file=yaml.safe_load(f)scenario=Scenario.from_dictionary(yaml_file)withopen("dev_strategy.yaml","r")asf:yaml_file=yaml.safe_load(f)strategy=strategies_from_dictionary(yaml_file,scenario.tests)["dev"]# simulate and create trajectorysim=scenario.simulate_strategy(strategy)trajectory=Trajectory(scenario,strategy,sim)LicenseLicensed under theMIT License
Package: simpar-cli
simpar-clithis is cli for a simple paragraph recognition based on the morphology operatorScreenImageMASK ImageImage recognizedHow to Installpip install simpar_cliHow to usepython3 -m simpar_cli --image simple_a20.jpg --image_reco reco.jpgsimpar_cli --image simple_a26.jpg --image_reco simple_a26_r.jpgNextFrancaisNous faisons une reconnaissance de paragraphe basée sur une les opération morphologiques qui est une
méthode analytique qui  est instable lorsque la structure de l'image est complexe dans la suite de notre travail nous allons
a partir des images et leurs masque entraîner une modelé d'intelligence artificielle pour
générer les masques de reconnaissance de paragraphe d'image, Ainsi Nous allons mieux gérer la structure des images complexesEnglishWe make a paragraph recognition based on a morphological operation which is an analytical
method which is unstable when the structure of the image is complex in the rest of our work we will
start from the images and their masks lead to a modeling of artificial intelligence
to generate the image paragraph recognition masks, thus we will better handle the structure of complex images
Package: simpay-api
SimPay-API-PythonZnajdziesz tu pliki do pobrania i instalacji oficjalnego klienta Python wszystkich dostępnych API SimPay.Dzięki naszemu klientowizyskasz narzędzia i bibliotekido integracji API systemu płatności SimPay z Twoją stroną. Dzięki temu zyskasz pełen dostęp do wszystkich funkcji SimPay.DokumentacjaKliknij tutajDlaczego warto wybrać SimPay?Prosta i szybka integracja– nasz klient API jest intuicyjny w obsłudze, dzięki czemu poradzisz sobie z integracją nawet bez większych umiejętności.Natychmiastowe zarobki– ażdego dnia prześlemy Ci zyski z płatności onlineBezpieczeństwo i ciągłe wsparcie techniczne– gwarantujemy odpowiednie zabezpieczenie wszystkich płatności. A w razie problemów z integracją lub działaniem systemów SimPay, natychmiast reagujemy wsparciem.Masz problem z integracją lub chcesz dowiedzieć się więcej? Napisz nakontakt@simpay.plSimPay-API-PythonHere you will find files to download and install the official Python client of all available SimPay APIs.With our client, you will getthe tools and librariesto integrate the SimPay payment system API into your site. This will give you full access to all SimPay features.DocumentationClick hereWhy should I choose SimPay?Easy and fast integration– our API client is inuitive to use, so you can handle the integration even without much skill.Instant earnings– we will send you profits from online payments every day.Safety and continuous technical support– we guarantee proper security for all payments. And in case of problems with the integration or operation of SimPay systems, we immediately respond with support.Do you have an issue with integration or want to learn more? Write tokontakt@simpay.pl
Package: simpbot
# SimpBotSimpBot es un bot muy simple, y solo eso, hecho en python, funcional en Linux y Windows# Instalación, configuración y ejecuciónInstalación - Linux```sh$ git clone git://github.com/IsmaelRLG/simpbot.git$ cd simpbot# python setup.py install```Instalación - Windows:- Por agregar :DConfiguración - Linux:- Creamos la configuración:```sh$ simpbot --make-conf -d```- Editamos la configuración:```sh$ nano ~/.simpbot/config.py```Configuración - Windows:- Por agregar :DEjecución - Linux:```sh$ simpbot -s start```Ejecución - Windows:- Por agregar :D# LicenciaCopyright (c) 2016 Ismael LugoPermission is hereby granted, free of charge, to any person obtaininga copy of this software and associated documentation files (the"Software"), to deal in the Software without restriction, includingwithout limitation the rights to use, copy, modify, merge, publish,distribute, sublicense, and/or sell copies of the Software, and topermit persons to whom the Software is furnished to do so, subject tothe following conditions:The above copyright notice and this permission notice shall beincluded in all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OFMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE ANDNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BELIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTIONOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTIONWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Package: simpcamcap
simple_camera_captureVery simple recording tool using only OpenCV. Automatically record the camera capture to mp4, pressCkey or left mouse button click to take a still image.Environmentopencv-python==4.1.2.30Usage1. Start of Recording$simpcamcapor$xhost+local:&&\dockerrun--rm-it\-v`pwd`:/workdir\-w/workdir\-v/tmp/.X11-unix/:/tmp/.X11-unix:rw\-eDISPLAY=$DISPLAY\-eQT_X11_NO_MITSHM=1\--device/dev/video0:/dev/video0\ghcr.io/pinto0309/simple_camera_capture:latestsimpcamcapusage: simpcamcap
[-h]
[-cn CAMERA_NO]
[-cw CAMERA_CAP_WIDTH]
[-ch CAMERA_CAP_HEIGHT]
[-mi MOVIE_OR_IMAGE_PATH]
[-dvr]
[-dcr]
[-V]

optional arguments:
  -h, --help
    show this help message and exit.
  -cn CAMERA_NO, --camera_no CAMERA_NO
  -cw CAMERA_CAP_WIDTH, --camera_cap_width CAMERA_CAP_WIDTH
  -ch CAMERA_CAP_HEIGHT, --camera_cap_height CAMERA_CAP_HEIGHT
  -mi MOVIE_OR_IMAGE_PATH, --movie_or_image_path MOVIE_OR_IMAGE_PATH
  -dvr, --disable_video_recording
  -dcr, --display_camera_resolutions
    Displays a list of resolutions supported by the camera.
    Cannot be used in conjunction with other options other than -cn.
    Linux only option.
    sudo apt update && sudo apt install v4l-utils
  -V, --version
    Show version and exit.2. Saving a still imagePressCkey on the keyboard or left mouse button click.3. End of RecordingPress theQkey orESCkey on the keyboard or right mouse button click.4. Samplehttps://user-images.githubusercontent.com/33194443/209317321-78aa1f7a-3d1e-4538-982c-83ea37ee5e29.mp4
Package: simpcli3
simpcli3A Python3 module for turning functions into cmd-line programs trivially.ExamplesNon-dataclass (simple function) examplefrom simpcli3 import CliApp
from typing import List

def myls(paths: List[str], exclude: List[str]=[], mystr: str=None, follow_symlinks: bool=False):
    print(f"Received args: {paths}\n")
    for path in paths:
        print(path)

if __name__ == "__main__":
    CliApp(myls).run()More advanced ExampleThis example actually uses a dataclass argument rather than a collection of arguments of primitive types.from dataclasses import dataclass, field
from enum import Enum
from typing import List

class PrintFormat(Enum):
    LINE_PER_ENTRY = 1
    PRETTY = 2

@dataclass
class ListDirectoryArgs:
    paths: List[str] = field(metadata=dict(positional=True))
    exclude: List[str] = field(default_factory=list)
    print_format: PrintFormat = PrintFormat.PRETTY
    follow_symlinks: bool = True

def myls(lsargs: ListDirectoryArgs):
    print(f"Received args: {lsargs}\n")
    for path in lsargs.paths:
        print(path)

if __name__ == "__main__":
    from simpcli3 import CliApp
    CliApp(myls).run()Looking ForwardIt would be nice to also be able to parse JSON / TOML config files into dataclasses, rather than having ever-growing cmd-line args.Prior ArtAnd why I didn't use it.For argparse_dataclasses and argparse_dataclass reasons, see Improvements.SimpleParsing (pip install simple_parsing). Different goals and approaches in terms of simplicity. For one, we
don't depend on numpy.Improvements over projects based onModifications made from "argparse_dataclass":
2. "positional" metadata arg as I think that's more intuitive than passing "args" directly.
3. If type is enum, choices automatically specified, default given as string
(kind of like "argparse_dataclasses" package, but with cleaner impl IMO)
4. Better handling of bools (especially ones which default to True).
5. Wrapper over field (idea lifted from argparse_dataclasses)
Package: simpeg-archive
SimPEGSimulation and Parameter Estimation in Geophysics  -  A python package for simulation and gradient based parameter estimation in the context of geophysical applications.The vision is to create a package for finite volume simulation with applications to geophysical imaging and subsurface flow. To enable the understanding of the many different components, this package has the following features:modular with respect to the spacial discretization, optimization routine, and geophysical problembuilt with the inverse problem in mindprovides a framework for geophysical and hydrogeologic problemssupports 1D, 2D and 3D problemsdesigned for large-scale inversionsYou are welcome to join forum and engage with people who use and develop SimPEG at:https://groups.google.com/forum/#!forum/simpeg.Overview VideoWorking towards all the Geophysics, but Backwards - SciPy 2016Citing SimPEGThere is a paper about SimPEG!Cockett, R., Kang, S., Heagy, L. J., Pidlisecky, A., & Oldenburg, D. W. (2015). SimPEG: An open source framework for simulation and gradient based parameter estimation in geophysical applications. Computers & Geosciences.BibTex:@article{cockett2015simpeg,
  title={SimPEG: An open source framework for simulation and gradient based parameter estimation in geophysical applications},
  author={Cockett, Rowan and Kang, Seogi and Heagy, Lindsey J and Pidlisecky, Adam and Oldenburg, Douglas W},
  journal={Computers \& Geosciences},
  year={2015},
  publisher={Elsevier}
}ElectromagneticsIf you are using the electromagnetics module of SimPEG, please cite:Lindsey J. Heagy, Rowan Cockett, Seogi Kang, Gudni K. Rosenkjaer, Douglas W. Oldenburg, A framework for simulation and inversion in electromagnetics, Computers & Geosciences, Volume 107, 2017, Pages 1-19, ISSN 0098-3004,http://dx.doi.org/10.1016/j.cageo.2017.06.018.BibTex:@article{heagy2017,
    title= "A framework for simulation and inversion in electromagnetics",
    author= "Lindsey J. Heagy and Rowan Cockett and Seogi Kang and Gudni K. Rosenkjaer and Douglas W. Oldenburg",
    journal= "Computers & Geosciences",
    volume = "107",
    pages = "1 - 19",
    year = "2017",
    note = "",
    issn = "0098-3004",
    doi = "http://dx.doi.org/10.1016/j.cageo.2017.06.018"
}Installing from the sourcesThis Python package can be installed withpip.
The dependencies are defined inpyproject.toml. It replaces the formerrequirements.txtandsetup.pyfiles
(seepip documentationto learn more aboutpyproject.toml).As this branch is meant to be used with a geopps environment, some conflicting packages have been moved
to “extras” and declared optional. To use it outside ofgeoapps, install it withsimpeg[regular].Install from a local clonepip install path/to/simpeg[regular]Install from a local clone in editable modepip install -e path/to/simpeg[regular]LinksWebsite:http://simpeg.xyzSlack (real time chat):http://slack.simpeg.xyzDocumentation:http://docs.simpeg.xyzCode:https://github.com/simpeg/simpegTests:https://travis-ci.org/simpeg/simpegBugs & Issues:https://github.com/simpeg/simpeg/issues
Package: simpegEM1D
simpegEM1D is a geophysical simulation and inversion software for an electromagnetic (EM) geophysical surveys.
Here we assumed that the earth conductivity struture is layered. Each of layers can have different physical properties such as electrical conductivity, magnetic susceptibility, and dieletric constant. Particularly it is designed to handle inducitve loop source with a single receiver coil or magnetometer. A main interest of the package is hanndling airborne EM survey, which can quickly map electrical conductivity of the subsurface at large area. This package is under ecosystem of an opensource geophysical simulation and inversion software, SimPEG, and hence installation of SimPEG is required.[![Build Status](https://travis-ci.org/simpeg/simpegEM1D.svg?branch=master)](https://travis-ci.org/simpeg/simpegEM1D)
[![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/simpeg/simpegEM1D/master?filepath=notebooks)Documentation:
[http://simpegem1d.readthedocs.org/](http://simpegem1d.readthedocs.org/)Code:
[https://github.com/simpeg/simpegem1d](https://github.com/simpeg/simpegem1d)Bugs & Issues:
[https://github.com/simpeg/simpegem1d/issues](https://github.com/simpeg/simpegem1d/issues)
Package: simpel-hookup
🚀 Simpel HookupSimpel function hook for Django.
Install :pipinstallsimpel-hookupSimpel hookup secara otomatis akan mencarihooks.pydi dalam setiap aplikasi Django yang terinstall dalam project.Registrasi hooks# app/hooks.pyimportsimpel_hookupashookup@hookup.register("PROCESS_TEXT_HOOKS",order=1)defprocess_text_replace_space(text):text=text.replace(" ","-")print(text)returntext@hookup.register("PROCESS_TEXT_HOOKS",order=2)defprocess_text_replace_dash(text):text=text.replace("-","_")print(text)returntextMemanggil hook# app/views.pyfromdjango.http.responseimportHttpResponseimportsimpel_hookupashookupdefindex(request):text="Lorem ipsum dolor sit amet"hook_funcs=hookup.get_hooks('PROCESS_TEXT_HOOKS')forfuncinhook_funcs:text=func(text)returnHttpResponse(text)
Package: simpel-numerators
🚀 Simpel NumeratorsSimpel Numerators track autonumber style inner_id for model record
This repository contains aNumeratormodel utils to create nice formatted Inner ID.Installationpipinstallsimpel-numeratorsUsagefromdjango.dbimportmodelsfromsimpel_numerators.modelsimportNumeratorMixinclassProduct(NumeratorMixin):doc_prefix='PD'name=models.CharField(max_length=100)Usage with Polymorphicinstall django-polymorphicpipinstalldjango-polymorphicUsing Parent Model doc_prefixfromdjango.dbimportmodelsfrompolymorphic.modelsimportPolymorphicModelfromsimpel_numerators.modelsimportNumeratorMixin,NumeratorResetclassProduct(NumeratorMixin):doc_prefix='PD'parent_prefix=Trueparent_model='Parent2'name=models.CharField(max_length=100)classInventory(Product):passclassAsset(Product)passUsing Child Model doc prefixclassProduct(NumeratorMixin):name=models.CharField(max_length=100)classInventory(Product):doc_prefix='INV'classAsset(Product)doc_prefix='AST'
Package: simpeval
Ressources et outils pour l'évaluation des systèmes de simplification automatique des textesEspace GitHub dédié à l'outil reposant sur TUPA | SAMSA | EASSE pour annoter et évaluer automatiquement la simplification opérée sur un texte en français.Structure :annexes : contient tous les fichiers considérés comme des annexes (ex. : mémoire en version PDF, résultats SAMSA(not yet), documentation code, etc.)annotation_tool : contient tous les fichiers nécessaires pour faire fonctionner l'outil d'annotation et d'évaluationcorpus : contient le corpus annoté et le corpus vierge
Package: simpex
simpexsimpexis a python library that simplifies the process of using regular expressions (regex). It provides custom, built-in and api-based methods to generate regex patterns, making it easier for developers to match and manipulate text data. Whether you're working with emails, URLs, phone numbers, or other patterns,simpexhas you covered.Features:Simplify regex usage in Python.Generate regex patterns effortlessly.Access external APIs for regex generation.Choose from custom or built-in patterns.Installation |wikiTo installsimpex, use the following command:pipinstallsimpexUsage |wikiThere are three steps between you and regex pattern you want! Follow below instatructions asquick guide, please chak outwikifor comprehensive usage with examples.1. ImportingUse the following import statement:fromsimpex.simpeximportsimpex2. Creating Objectsimpexis a class, so we need tocreate an objectwith required parametric data (checkwiki, for all available parameters)# creating an onject named `email`email=simpex(['test@mail.com','admin@email.com','example@mail.co'])3. Calling MethodCall your desired method fromcustom*,built-inorapi-basedto get regex pattern (checkwiki, for all avaliable methods)# calling custom methodpattern=email.regex()output:print(pattern)->^[a-z]+\@[a-z]+\.[a-z]*$<br><br>License & ContributingThis is anopen source project, licensed under theMIT License.All contributions are welcome!To contribute tosimpexproject, fork the repository, make your changes, and submit a pull request.Be sure to follow our coding style and include tests for any new functionality.When submitting a pull request, please provide a clear description of your changes.Your contributions help improve the project for everyone.simpex
Package: simpgit
SimpgitA tool to simplify git usage with sprinkles of AI magic.Humans think in simpler terms than git operates in. This tool aims to bridge that gap by providing a simpler language to
do common git tasks. Plus an LLM can write your commit messages for you.You can load recent information withgs load, save current changes withgs saveand share them withgs share.Behind the scenes it's exactly what you would expect from git, but with a simpler interface.InstallGet anopenai api key$exportOPENAI_API_KEY=...
$pipinstallsimpgitUsageWithin a repo, run:(.venv)$sg--helpCommands:--help:showthishelpmessageandexitsave<message>:addfilesandcommitchanges.Massageisgenereatedifnotprovidedshare<message>:Add,commitandpushchangestogit.Massageisgenereatedifnotprovidedload:pullchangesfromgitcommit<message>:commitchanges.Massageisgenereatedifnotprovided

Automations:auto<save|share><interval>--<detach>:runaservicelist<save|share>:listrunningservicesstop<save|share>:stopaserviceBasic Examplesgsave

>EnteringnewStuffDocumentsChainchain...


>EnteringnewLLMChainchain...
Promptafterformatting:
Writeaconcisesummaryofthefollowing:
...
>Finishedchain.
Automatedcommit-4files:writingREADME.mdnewinstructions.
gitllm/__init__.py
gitllm/cli.py
gitllm/git.py
pyproject.tomlAutomation Example$sgautocommit5--detach
Runningautocommitevery5.0minutesinthebackground

$sglistcommit
Autocommitevery5.0onpid96641inrepoat/Users/yonatanalexander/development/xethub/gitllm

$sgstopcommit
Stoppingauto-gitcommit-in<repo>
Stoppingprocessesforcommit...
Stoppedauto96641..
Package: simphony-osp
SimPhoNyThe SimPhoNy Open Simulation Platform is a framework that aims to achieve
interoperability between software such as simulation engines, databases and
data repositories using a knowledge graph as the common language. It is focused
on the domain of materials science.SimPhoNy enables:Visualization and exploration ofOWL ontologiesandRDFS VocabulariesWrappers: interfaces between ontologies and software products or digital
objectsManipulation of ontology-based data: work with ontology individuals,
transfer them among different software products using the wrappers, and query
the knowledge graphInstallationSimPhoNy is available on PyPI, so it can be installed using pippip install simphony-ospDetailed installation instructions can be foundhere.DocumentationTo learn how to use SimPhoNy, check out our documentation, which is located athttps://simphony.readthedocs.io/en/v4.0.0/.In addition, basic usage examples to
quickly get started are available in theexamplesfolder.If you want to build the documentation locally, refer to ourdocumentation repository.ContributingIf you wish to contribute to SimPhoNy, please read thecontributing guidelines.AcknowledgementsThe SimPhoNy Python package originates from the European ProjectSimPhoNy(Project Nr. 604005). We would
like to acknowledge and thank our project partners, especiallyEnthought, Inc,Centre Internacional de Mètodes Numèrics a l'Enginyeria (CIMNE)and theUniversity of Jyväskylä,
for their important contributions to some of the core concepts of SimPhoNy,
which were originally demonstrated under the projectsimphony-common.