Saravanan666/pypi-org huggingface dataset:
Package: shear-bias
Version:0.4Date:March 2021shear_biasis a package that contains tools and scripts for shear bias
estimation for weak gravitational lensing analysis.AuthorsMartin Kilbingermartin.kilbinger@cea.frArnau Pujolarnaupv@gmail.comInstallationDownload the code from thegithubrepository.gitclonehttps://github.com/cosmostat/shear_biasA directoryshear_biasis created. There, call the setup script to install the
package.cdshear_biaspythonsetup.pyinstallYou might have to usesudoin front of the setup command, if you have the root password.
Alternatively, you can install the package from within a virtual environment, or use
the option--prefixDIRto install it in a directoryDIRof your choice.External programs and librariesThe following packages should be installed:galsimContentshear_biasPython scripts with the shear_bias module functions and classes.notebooksJupyter notebooksshear_bias_example.ipynbExample notebook using galsimReferencePujol, Kilbinger, Sureau & Bobin (2018)arXivads.
Package: shear_psf_leakage
Shear PSF leakageAboutThis library quantifies the PSF leakage on weak-lensing galaxy shearmeasurements. It computes the following quantities:The object-wise PSF leakage at linear and quadratic order, using regression.The object-wise dependency of galaxy shear to other (scalar) observables.The scale-dependent PSF leakage function galaxy - PSF leakage usingtwo-point correlation functions.InstallationThe fastest way to Install this library is withpipautomatically from
pypi.org,pipinstallshear_psf_leakageAlternatively, you can use TBDAuthorsMartin Kilbingermartin.kilbinger@cea.frClara BoniniAxel Guinot
Package: sheath-fluid
sheath_fluidSolve the stationnary collisionless plasma sheath model using polytropic law as electr energy equation closureFree software: GNU General Public License v3Documentation:https://sheath-fluid.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2019-02-13)First release on PyPI.
Package: shebang
Installation$[sudo]pipinstallshebangExamples>>>importshebang>>>shebang.get("path/to/file.py")'/usr/bin/env python'>>>shebang.get("path/to/file.txt")None>>>shebang.get("/bin/ls")None$python-mshebangfile.py
/usr/bin/envpythonreadme42.com
Package: shecan
Shecan CLIThe Shecan CLI is used to configure your DNS name server based on Shecan website from the command line.For more about Shecan seehttps://shecan.ir/I wrote this script, because I wanted to configure a couple of linux servers to be able to use docker hub, which are blocked in Iran. And I wanted to get an agent to do it.IntroductionInstallationThe following instructions will place the shecan executable in a
virtualenv undershecan/bin/shecan.Shecanrequires>= Python 3.6.1pipThis installs the latest stable, released version.$ python3.6 -m venv shecan
$ shecan/bin/pip install shecanQuickstartRunshecan update- It will get Shecan DNS name servers and save them into a configuration file.Runshecan listIt will show shecan DNS name servers from the configuration file.Runshecan setThis will change your DNS temporarily by moving your current/etc/resolv.conffile and replace it with shecan DNS name server.If you encounter permission problemrun the command this way:sudo $(which shecan) set.Runshecan verifyIt will check your DNS configuration and make sure that shecan works fine for you.Runshecan restoreIt will restore your previous DNS configuration.Runshecan showIt will print your current DNS configuration.Runshecan --versionIt will show shecan's version.Runshecan --helpIt will show full command-line options and subcommands.
Package: shed
shedshedcanonicalises Python code.  Shed your legacy, stop bikeshedding, and move on.  Black++What does it do?shedis themaximally opinionatedautoformatting tool.  It'sall aboutconvention over configuration,
and designed to be a single opinionated tool that fully canonicalises my
code - formatting, imports, updates, and every other fix I can possibly
automate.There are no configuration options at all, but if the defaults aren't for you
that's OK - you can still use the underlying tools directly and get most of
the same effect... though you'll have to configure them yourself.shedmust either be run in a git repo to auto-detect the files to format,
or explicitly passed a list of files to format on the command-line.Featuresshed...Runsautoflake,
to remove unused imports and variablesRunspyupgrade,
with autodetected minimum version >= py38Runsisort,
with autodetected first-party imports and--ca --profile=blackargsRunsblack,
with autodetected minimum version >= py38Formats code blocks in docstrings, markdown, and restructured text docs
(based onblacken-docs).Ifshed --refactor, also runscom2annand custom refactoring logic usinglibcst.The version detection logic is provided byblack.  Becauseshedsupports the sameversions of Python as upstream,
it assumes that the minimum version is Python 3.8.If you runshedin a Git repository, the name of the root directory is assumed to be a
first-party import.srclayoutpackages are also automatically detected, i.e. thefooin any paths like.../src/foo/__init__.py.Jupyter Notebook supportWe recommendusingjupytextto save your notebooks in.pyor.mdfiles,
in which caseshedsupports them natively.  For a quick-and-dirty workflow,
you canusenbqa shed notebook.ipynb-nbqaworks for any linter or formatter.Usingshedin your editorWe recommendusingblackin your editorinstead ofshed, since it provides our core formatting logic andshed's extra
smarts can be counterproductive while you're actively editing code - for example,
removing an "unused" import just after you add it!Then, when you're done editing, you can runshedfrom the command-line,pre-commithooks, and your CI system.Usingshedwith pre-commitIf you usepre-commit, you can use it with Shed by
adding the following to your.pre-commit-config.yaml:minimum_pre_commit_version:'2.9.0'repos:-repo:https://github.com/Zac-HD/shedrev:2024.1.1hooks:-id:shed# args: [--refactor, --py311-plus]types_or:[python,pyi,markdown,rst]This is often considerably faster for large projects, becausepre-commitcan avoid runningshedon unchanged files.See alsoshedinheritspyupgrade's careful approach to converting string formatting
code.  If you want a more aggressive refactoring tool and don't mind checking
for breaking changes,check outflynt.For Django upgrades, seedjango-codemodordjango-upgrade.Thessortprojectsorts the contents of
python modules so that statements are placed after the things they depend on,
for easier navigation and consistency of design.Semgrepsupports some autofixes,
with patterns for a wide variety of languages.  This includes a variety of both
security and style checks, with manual inspection of results recommended.ChangelogPatch notescan be found inCHANGELOG.md.
Package: shedok
Pending tasks managementLICENSE: The MIT LicenseRequirementsPython 3.7 or highersetuptoolsUsageimport shedokSheduleshedok.Shedule(func, time, *args, **kwargs)  # Creates shedule
shedok.Shedule.__call__(when=None) -> None  # Tries to execute task(once and if time <= when)Shedulershedok.Sheduler()  # Creates shedules manager
shedok.Sheduler.add(shedule: Shedule)  # Adds task to manager
shedok.Sheduler.tick()  # Calls every task
shedok.Sheduler.run()  # Creates new thread, that tick() every time
shedok.Sheduler.stop()  # Stops thread
Package: shed-pi
shed-piIntroductionA package to run a Raspberry Pi in an outbuilding such as a garden shed, for the internet of sheds.Automated use cases:Weather stationGarden lightingSecurityTODO:Fix: Bug: The script startup gets an incorrect time (Hasn't yet got the internet time)Instructions on pinoutWish list:Poetry (Not started)ASGI backend server (Daphne)Native webcomponent FE with Bootstrappip install raspberry pimodular components that are easy to install from a software and hardware perspectiveProvide systemd script to 3rd partiesvenv is crucial before installing any third party packages!Pre commit config with ci integrationInstallationEnable interfacesFor any temperature sensors the 1 wire interface is requiredsudoraspi-configSelect the option: "Interface Options"Select the Option I7: "1-Wire"Agree to installing the 1-Wire scriptRebootsudorebootSanity check that the 1 Wire data is available:ls/sys/bus/w1/devices/Check the value read, be sure to change "28-000003ebbf13" to the values listed above:cat/sys/bus/w1/devices/28-000003ebbf13/w1_slaveScript auto start with systemdCreate a file in systemdnano/lib/systemd/system/shed-pi.serviceWith the contents[Unit]Description=Shed-PiAfter=multi-user.targetStartLimitIntervalSec=0[Service]Type=simpleExecStart=/usr/bin/python3 /home/shed-pi/temp_logger.pyStandardInput=tty-force[Install]WantedBy=multi-user.targetEnable the service, (CAVEAT: didn't work when manually starting, works on reboot)sudosystemctldaemon-reload
sudosystemctlenableshed-pi.service
sudosystemctlstartshed-pi.service
sudosystemctlstatusshed-pi.serviceRead the logstail-f/var/log/shed-pi.log
Package: shed_sh
shed - the sh editorDon’t runcurl | shagain. Usecurl | shedto verify scripts
before running.UsageReplaceshwithshedin any pipe-sh commands you run. shed will:save the piped script to a temp fileopen the temp file in$SHED_EDITORor$EDITORto let you view
and modify the scriptask you if you still want to run the script, preserving any changes
you madeInstallationThis is a Python 3 script, so usepip3to install:pip3 install shed_shNote the spelling:shed_shis different fromshed.After this, runshedorbashedfrom your terminal to verify it’s
installed properly.ExamplesPiping to shTake your questionablecurl-pipe-sh orwget-pipe-sh commandcurl-Lhttps://npmjs.org/install.sh|shwget-qO-https://toolbelt.heroku.com/install-ubuntu.sh|shand use shed to view and edit your script before running it:curl-Lhttps://npmjs.org/install.sh|shedwget-qO-https://toolbelt.heroku.com/install-ubuntu.sh|shedPiping to bashbashed protects yourbashshell, too: take this unknown scriptwget-q-O-https://fixubuntu.com/fixubuntu.sh|bashand verify the contents before running:wget-q-O-https://fixubuntu.com/fixubuntu.sh|bashedConfigSet your preferred editor:export SHED_EDITOR=vimshed also checks$EDITOR, then falls back tonano,vim,vi, andemacsin order.ContributionsBug reports, fixes, or features? Feel free to open an issue or pull
request any time. You can also tweet me at
[@mplewis](http://twitter.com/mplewis) or email me atmatt@mplewis.com.LicenseCopyright (c) 2014 Matthew Lewis. Licensed underthe MIT
License.
Package: shed-skin
Shed SkinShed Skin is a transpiler, that can translate pure, but implicitly statically typed Python 3 programs into optimized C++. It can generate stand-alone programs or extension modules that can be imported and used in larger Python programs.Besides the typing restriction, programs cannot freely use the Python standard library (although about 25 common modules, such as random and re, are currently supported). Also, not all Python features, such as nested functions and variable numbers of arguments, are supported (see thedocumentationfor details).For a set of80 non-trivial programs(at over 25,000 lines in total (sloccount)), measurements show a typical speedup of 1-100 times over CPython.UsageCompile and run the ‘hello, world!’ (test.py) example under Linux/OSX:shedskin build test
build/testUnder Windows:shedskin build --conan test
build/Debug/test.exeRestrictionsShed Skin only supports a restricted subset of Python, so one should not expect a given program to compile without any changes, if possible at all. See thedocumentationfor an overview of the limitations.InstallationShed Skin depends on some others projects, such as theBoehm garbage collector. Please see thedocumentationon how to install these.ComparisonSome timings for the Shed Skin ‘sieve’ example (n=100000000) and several Python implementations/optimizers:cpython 3.10.6:     13.4 seconds
cpython 3.11.0:     11.4
nuitka 0.6.16:      11.4
pypy 3.9.12:        5.8
numba 0.56.4:       2.5
shedskin (master):  1.9Note that Numba defaults to int64 as integer type, while Shed Skin defaults to int32. Performance is practically equal when using shedskin –long.ScreenhotsSome screenshots of theexample programsin action:(pylot)(mandelbrot2)(c64)(othello2)(doom)This videoshows the dramatic difference in performance for the DOOM example before and after compilationContributorsThe following people have contributed to Shed Skin development:Shakeeb Alireza
Hakan Ardo
Brian Blais
Paul Boddie
François Boutines
Djamel Cherif
James Coughlan
Mark Dewing
Mark Dufour
Artem Egorkine
Michael Elkins
Moataz Elmasry
Enzo Erbano
Ernesto Ferro
Salvatore Ferro
FFAO
Victor Garcia
Luis M. Gonzales
Fahrzin Hemmati
Folkert van Heusden
Karel Heyse
Humhue
Johan Kristensen
Kousuke
Denis de Leeuw Duarte
Van Lindberg
David Marek
Douglas McNeil
Andy Miller
Jeff Miller
Danny Milosavljevic
Joaquin Abian Monux
John Nagle
Harri Pasanen
Brent Pedersen
Joris van Rantwijk
Retsyo
Pierre-Marie de Rodat
Jérémie Roquet
Mike Schrick
SirNotAppearingInThisTutorial
Paul Sokolevsky
Thomas Spura
Joerg Stippa
Dan Stromberg
Dave Tweed
Jaroslaw Tworek
Tony Veijalainen
Pavel Vinogradov
Jason Ye
Liu Zhenhai
Joris van Zwieten
Package: sheepdog-exporter
sheepdog-exporter 🐑🐑====================Export metadata from the DCP!First, download your credentials from the DCP Web interface.Then, install sheepdog exporter: ``pip install sheepdog-exporter``.You can now find programs to export using: ``sheepdog-exporter``!Once you've found a program and project you want to export, use:``sheepdog-exporter my_program my_project``. This will create a JSONfile in the current directory with all of the relevant metadata!You can change the output path, path to your credentials, or the DCP URLusing arguments:::sheepdog-exporter program project --dcp-url my-url --credentials path/to/credentials --output-path /path/to/write/outputThe resulting JSON has the form:::{"data_objects": [{DataObject},...],"metadata": {metadata_type: [{metadata_value}], ...}}Metadata types that are expected to have files associated with them willhave an ``object_id`` that matches an ``object_id`` in the data objectmanifest.Development------------  A simple test demonstrates usage of the Exporter class in ``test``.Using the Python API~~~~~~~~~~~~~~~~~~~~The exporter is available for reuse from your Python code, instantiateit with the location of the credentials.json and the location of the DCPinstance you would like to export from:::from sheepdog_exporter import Exporterexporter = Exporter('path/to/credentials', 'https://dcp.bionimbus.org')my_export = exporter.export('topmed', 'public')Other convenience methods are available for listing programs andprojects: ``.get_projects()`` and ``.get_programs()``.See `sheepdog\_exporter.py <sheepdog_exporter.py>`__ for more.Releases~~~~~~~~Releases are made on the creation of a new tag. Versioning followssemantic versioning practices. Any breaking changes to the API shouldresult in a change in the major version.To change the release maintainer, edit the ``travis.yml`` to remove thepypi release details. Then follow the directions on `encrypting yourPyPi credentials using TravisCLI <https://docs.travis-ci.com/user/deployment/pypi/>`__.Issues-------  Provenance to the original JSON schemas are lost. #9-  It has not been tested if JSON dumps can be used as sheepdog input.-  Some functions in the exporter are unused.-  Print messages cannot be easily suppressed. #12-  Errors in converting data from DCP are not always relayed properly tothe CLI. #11
Package: sheepdog-tables
This API helps with quick and easy table creation. It allows for
displaying of model data, arbitrary data, annotated data, and the like.
It also allows for simple CSV exporting via a CSV export view.The codebase is well documented, and each class should have a relevant
docstring.InstallationInstall the python package using pip$pipinstallsheepdog-tablesInstall javascript dependenciesExample Bower configuration with supported versions of javascript dependencies.{"name":"my_project","version":"0.0.0","dependencies":{"bootstrap":"3.0.1","backbone":"1.0.0","underscore":"1.4.4"}}JS is written in coffeescript, and we suggest using a project like
django-compressor to compress your static files and compile the coffeescript on
your behalf.$pipinstalldjango-compressor==1.3<scripttype="text/javascript"src="{% static "bower/jquery/jquery.min.js"%}"></script><scripttype="text/javascript"src="{% static "tables/js/jquery.ba-bbq.js"%}"></script><!-- To enable filtering --><scripttype="text/javascript"src="{% static "bower/underscore/underscore.js"%}"></script><scripttype="text/javascript"src="{% static "bower/backbone/backbone.js"%}"></script><scripttype="text/coffeescript"src="{% static "tables/js/filtering.coffee"%}"></script><!-- Event binding for sorting, pagination, etc. --><scripttype="text/coffeescript"src="{% static "tables/js/binding.coffee"%}"></script>Starting PointsA few things should be noted for this API. The primary mixin to add a
table to a page isTablesMixin. The corresponding template is found
intables/tables.html. The mixin should be mixed in to a class based
view inheriting from aListView. It’sget_context_datamethod
should be run after the ListView’s same function.Each table is to be declared as class parameters. For example, if I have
two tables,Table1andTable2, we could have a class that looks
like this:classMyView(TablesMixin,ListView):table_1=Table1()table_2=Table2()defget_context_data(self,**kwargs):context=ListView.get_context_data(self,**kwargs)context.update(TablesMixin.get_context_data(self,**kwargs)The table class works similarly to models. Full docs for that are in
it’s class doc string.Good practice with this APIThe general rules of Django and Python apply to the application of this
API. Generally, it is a good idea to have all of your tables for your
application in a tables.py file, and columns in their own separate
columns.py file, just like one would do for forms and fields.
Package: sheepit-team-clean-aleluya
For God so loved the world, that He gave His only begotten Son, that all who believe in Him should not perish but have everlasting lifeSheepit Team Cleaner AleluyaSheepItis a free distributed renderfarm for Blender.Blenderis the free and open source 3D creation suite.Sheepit allows the creation of teams, that are limited to 200 members.
This program helps team administrators find team members that have not rendered anything in over 31 days
and will remove them from the team.Install and Runpipinstallsheepit_team_clean_aleluya# Assuming your python pip path is in $PATHsheepit_team_clean_aleluya-u<loginusername>-p<loginpassword>-t<teamid>Helpusage: sheepit_team_clean_aleluya [-h] --team_id TEAM_ID_ALELUYA --username USERNAME_ALELUYA --password PASSWORD_ALELUYA [--dry_run] [--max_score MAX_SCORE_ALELUYA] [--min_score MIN_SCORE_ALELUYA]
                                  [--exclude_member EXCLUDED_MEMBERS_ALELUYA]

Log in to sheepit and remove members from a team that have not rendered in over 31 days, that are within a specified point range.

options:
  -h, --help            show this help message and exit
  --team_id TEAM_ID_ALELUYA, -t TEAM_ID_ALELUYA
                        The id of the team to clean
  --username USERNAME_ALELUYA, -u USERNAME_ALELUYA
                        Login username of team admin
  --password PASSWORD_ALELUYA, -p PASSWORD_ALELUYA
                        Login password of team admin
  --dry_run, -d         Dry run
  --max_score MAX_SCORE_ALELUYA, -M MAX_SCORE_ALELUYA
                        Max score of user that will still be removed
  --min_score MIN_SCORE_ALELUYA, -m MIN_SCORE_ALELUYA
                        Minimum score of user that will still be removed
  --exclude_member EXCLUDED_MEMBERS_ALELUYA, -X EXCLUDED_MEMBERS_ALELUYA
                        Members to exclude from being removed, can be placed several times
  --version, -v         show program's version number and exit

in Jesus Christ's nameNotes:Thank You Jesus forhttps://dzone.com/articles/executable-package-pip-installpip install --upgrade pip setuptools wheel tqdm twine

python setup.py bdist_wheel

python -m pip install dist/sheepit_team_clean_aleluya-0.1.4-py3-none-any.whl

python -m twine upload dist/*
Package: sheepped
Sheepped🚚 A Python wrapper for tracking delivery (e.g. USPS).Getting StartedFirst, install the package fromPyPI usingpip.$ pip install sheepeedNow, register atUSPSto get yourUSPS_USER_ID.UsageSuppose you have set an environment variableUSPS_USER_IDwith your USPS ID and your tracking number is42:fromsheeppedimportUSPSusps=USPS()usps.track("42")If you have a bucnh of tracking numbers, you might want to use the async API:importasynciofromsheeppedimportUSPSusps=USPS()asyncdefmain():tracking_numbers=("1","2","3","5","8","13","21")tasks=tuple(usps.aiotrack(n)fornintracking_numbers)returnawaitasyncio.gather(*tasks)asyncio.run(main())Tests$ python setup.py test
Package: sheeprl
⚡ SheepRL 🐑An easy-to-use framework for reinforcement learning in PyTorch, accelerated withLightning Fabric.Please have a look at theGitHub READMEfor more information.ContactsYou can contact us for any further questions or discussions:Federico Belotti:federico.belotti@orobix.comDavide Angioni:davide.angioni@orobix.comRefik Can Malli:refikcan.malli@orobix.comMichele Milesi:michele.milesi@orobix.com
Package: sheesh
sheeshSheesh is a collection of useful IT tools in the commandline.How to install sheeshpipinstallsheeshThis will install sheesh on your systemHow to use sheeshUsing the app is easy, just typesheeshfollowed by a command that describes what you want to do eg:sheeshuuidThis command will generate a valid UUID.Mostsheeshcommands have options that make it easy to customise each command to your liking. As an example theuuidcommand can take a version option to specify the version of UUID to generate. It can also take a count param to specify
how many uuids you want to generate. Passing in all the options and params, the uuid command can look like:sheeshuuid--version=4--count=10Most commands follow this simple convention. To view the help for any command just type:sheesh<command-name>--helpand this will show you all the available options and params for the command.To view all available sheesh commands, just type:sheesh--helpAvailable UtilitiesCryptobcryptbip39decryptencrypthashHMACpasswordslugifytokenuliduuidrsa (RSA key pair generator)Password strength analyserComing soonPDF Signature checkerThe goal is to add as many tools as possible and make them as simple a possible