Saravanan666/pypi-org huggingface dataset:
Package: shulkr
ShulkrShulkr is a tool that decompiles multiple versions of Minecraft and commits each
version to GitWarning: You CANNOT publish any code generated by this tool. For more info,
see theusage guidelines.RequirementsGitPython 3JDK (>= 17 for Minecraft 1.18 and above)Installationpip install shulkrUsageshulkr1.161.171.18This will generate a commit with the decompiled source code for Minecraft 1.16,
1.17 and 1.18 in the current working directory:204b37c (HEAD -> main, tag: 1.18) version 1.18
86dc440 (tag: 1.17) version 1.17
5d13494 (tag: 1.16) version 1.16Note: It's okay to skip versions. Shulkr generates the complete source code for
each version before committing to git, so you can include as many or as little
intermediate versions as you would like.Version PatternsRanges of versions can be specified with..and...:A..Bexpands to all versions betweenAandB(inclusive),notincluding snapshotsA...Bexpands to all versions betweenAandB(inclusive), including
snapshotsAand/orBcan be omitted, defaulting to the version after the most recent
commit and the latest supported version, respectively.Anegative patternremoves all matching versions that came before it. To
negate a pattern, add-. The following pattern expands to all versions afterA, up to and includingB(the order is important):A...B -ANote that you need to include--before the versions when using negative
versions, so the argument parser knows that the negative version is not an
option:shulkr--...1.19-1.19Options--repo/-pBy default the source code is generated in the current working directory. To
specify a different location:shulkr--repominecraft-sources1.17..If the directory does not exist, a new git repo will be created there.--mappingsBy default, Minecraft's bytecode is deobfuscated usingyarn'smappings. You
can also use--mappings mojangto use Mojang's official mappings.If left unspecified, the mappings used to generate the previous commit are
detected.--message/-mThis option lets you customize the commit message format:shulkr-m"Minecraft {}"1.18-rc4--no-tags/-TBy default, each commit is tagged with the name of its Minecraft version. This
can be disabled with--no-tags.Experimental Options--undo-renamed-vars/-uWhen this option is enabled, local variables that were renamed in new versions
will be reverted to their original names.ChangelogSee thechangelog.ContributingSee thecontributing guide.LicenseLicensed under the Apache License, Version 2.0.
Package: shuncommands
shuncommandsmy usefull commandsinstall$ pip install shuncommandsinstall with pdftool$ pip install shuncommands[pdf]install commandsrmtmppdftool (Require install with pdf)rmtmp UsageUsage: rmtmp [OPTIONS] TARGETDIR

  tmpディレクトリの中身お掃除君

  <TARGETDIR>で指定されたディレクトリの中身をせっせとお掃除してくれるかわいいやつ。
  自分がよく ~/document/tmp/ とか雑にディレクトリ作ってしまうので、それのお掃除用に生まれた

  <TARGETDIR>/.rmtmpignore のファイルに gitignore と同様の書式でファイルを指定することで、
  削除対象から明示的に外すことができる。

Options:
  -q, --quiet              quiet output
  --dry-run
  -d, --day INTEGER RANGE  削除対象となる期日  [default: 3; x>=0]
  --help                   Show this message and exit.pdftool usageUsage: pdftool [OPTIONS] COMMAND [ARGS]...

  PDF file をあれやこれやしたいがためのコマンド

Options:
  -v, --version  Show the version and exit.
  -h, --help     Show this message and exit.

Commands:
  text    PDFファイルを、テキストファイルに変換する
  unlock  パスワード付きPDFファイルを、パスワードなしPDFファイルにコピーする
Package: shunkei-sdk
Shunkei SDK for PythonShunkei SDK for Python を利用することで、
プログラムよりShunkei VTXを操作することが可能です。Installationpipinstallshunkei_sdksamplefromshunkei_sdkimportShunkeiVTXvtx=ShunkeiVTX.auto_connect()vtx.write(b"Hello, world")# Send UART message to Shunkei VTXお問い合わせ質問・バグ報告・活用事例の報告などは、Shunkei Github discussionsへご投稿ください。
機能追加に関する要望や検討中の利用事例なども投稿いただければ、今後の開発方針に参考にさせていただきます。公開したくないお問い合せはお問い合わせフォームまでお寄せください。
Package: shunting-yard
Shuting-yard algorithmThis repo is a Python (>= 3.9) module containing an implementation of theShunting-yard algorithm, which converts any "regular" mathematical expression into itsReverse Polish Notationequivalent, and then can evaluate it.InstallationThis module is availableon Pypi. To install it, just run :pipinstallshunting-yard--userOr alternatively you can use :gitclonehttps://github.com/charon25/ShuntingYard.gitcdShuntingYard
pythonsetup.pyinstall--userYou can check the installation was successful by running the following command and getting1 = 1as output :python-mshunting_yard1UsageEither use it directly in a command line interface with :python-mshunting_yard<expression>For instance :>>>python-mshunting_yard"1 + cos(pi)"1+cos(pi)=0.0Or you can use it in a Python script with :importshunting_yardassyprint(sy.compute("2^32 - sqrt(tan(42))"))Allowed functionsBy default, the module can process the 5 basic operations (+,-,*,/,^) as well as those functions :sqrtsin, cos, tanmin, max (with 2, 3 or 4 arguments)absAs well as the constantspiande.These operations and functions can be mixed however you want.Furthermore, you can add more functions with the optional parametersadditional_functionsof thesy.computefunction. It should be a dictionary whose keys are string, and values are a tuple containing first the number of expected argument to the function, and then the function itself. For example :importmathadditional_functions={'gamma':(0,lambda:0.5772156649015329),# create new constant'inc':(1,lambdax:x+1),# using lambda'exp':(1,math.exp),# using already existing function'gcd3':(3,math.gcd)# 3 parameters}Thesy.compute(andsy.shuting_yard) also have extra parameters :case_sensitive(bool, defaults toTrue) : ifTrue, will considersinandSINdifferent functions.variable(str, optional) : if defined, will consider any token matching it as a number. This is useful in expression such asmin(x, 1)to getxto behave as a number.Additional featuresImplicit multiplicationThis program supports implicit multiplication (when the*symbol is omitted). They can have multiple forms, such as :(1+2)(2+3)2sin(pi)(1+2)3sin(pi)10FunctionsInstead of just calling thesy.computefunction, you can break it into its parts :sy.shunting_yardwill return the RPN equivalent expression of the given mathematical expression ;sy.compute_rpnwill use this expression and compute its value (use theadditional_functionsparameters here).Furthermore, you can just use thesy.tokenizefunction to transform a mathematical expression into its base components (returns a generator).Examples :importshunting_yardassyprint(sy.shunting_yard('2 * sin(5/2)'))# 2 5 2 / sin *print(sy.compute_rpn('pi 2 / sin'))# 1.0print(sy.compute_rpn('3 inc',{'inc':(1,lambdax:x+1)}))# 4print(list(sy.tokenize('1+(2 * 3) - 4 * (2 / 3)')))# ['1', '+', '(', '2', '*', '3', ')', '-', '4', '*', '(', '2', '/', '3', ')']
Package: shunya
shunyaShunya is all about creating something from nothing, a blank slate per se with some helpers on adrenalineFree software: MIT licenseDocumentation:https://shunya.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.0.1 (2022-03-27)First release on PyPI.
Package: shurjopay-plugin
Python package (plugin)Official shurjoPay python package (plugin) for merchants or service providers to connect with shurjoPay Payment Gateway v2.1 developed and maintained by shurjoMukhi Limited.This plugin package can be used with any python application or framework (e.g. django, flask, FastAPI etc.).This plugin package makes it easy for you to integrate with shurjoPay v2.1 with just three method calls:make_payment()verify_payment()Also reduces many of the things that you had to do manuallyHandles http request and errorsJSON serialization and deserializationAuthentication during checkout and verification of paymentsAudienceThis document is intended for the developers and technical personnel of merchants and service providers who want to integrate the shurjoPay online payment gateway using python.How to use this shurjoPay PluginUsepipto install this plugin inside your project environment.pip install shurjopay-pluginCreate a .env file inside your project's root directory. Here is a sample .env configuration.SP_USERNAME=demo
SP_PASSWORD=demowb4&n$6un28$
SP_ENDPOINT=https://dev.engine.shurjopayment.com
SP_RETURN=https://dev.engine.shurjopayment.com/response
SP_CANCEL=https://dev.engine.shurjopayment.com/response
SP_LOGDIR=/var/log/shurjopay/shurjopay.log
SP_PREFIX=SP_PLUGIN_PYTHONAfter that, you can initiate payment request to shurjoPay using our package the way you want based on your application. Here we are providing a basic example code snippet for you.importenvironfromshurjopay_pluginimport*env=environ.Env()environ.Env.read_env('.env')sp_config=ShurjoPayConfigModel(SP_USERNAME=env('SP_USERNAME'),SP_PASSWORD=env('SP_PASSWORD'),SP_ENDPOINT=env('SP_ENDPOINT'),SP_RETURN=env('SP_RETURN'),SP_CANCEL=env('SP_CANCEL'),SP_PREFIX=env('SP_PREFIX'),SP_LOGDIR=env('SP_LOGDIR'))shurjopay_plugin=ShurjopayPlugin(sp_config)payment_request=PaymentRequestModel(amount=1000,order_id='001',currency='BDT',customer_name='Mahabubul Hasan',customer_address='Mohakhali',customer_phone='01311310975',customer_city='Dhaka',customer_post_code='1229',)payment_details=shurjopay_plugin.make_payment(payment_request)Payment verification can be done after each transaction with shurjopay order id.shurjopay_plugin.verify_payment(order_id)That's all! Now you are ready to use the python plugin to seamlessly integrate with shurjoPay to make your payment system easy and smooth.ReferencesDjango example applicationshowing usage of the python plugin.Sample applications and projectsin many different languages and frameworks showing shurjopay integration.shurjoPay Postman siteillustrating the request and response flow using the sandbox system.shurjopay Pluginshome page on githubLicenseThis code is under theMIT open source License.Pleasecontactwith shurjoPay team for more detail.Copyright ©️2022ShurjoMukhi Limited
Package: shushi
shushi 🍤Minimalist secrets management in Python for Windows.Shushi was built to address the need for a one-stop storage location for sensitive data.Instead of having your credentials scattered across your projects in multiple config files, Shushi offers an encrypted vault with access via a CLI application and an API.RequirementsPython 3.7.*Installation>pipinstallshushiCLI UsageCreate a vault:>shushi-p[password]makeOpen a cli form to add an item to your vault:>shushi-p[password] add [name]Retrieve an item from your vault:>shushi-p[password] get [name]Remove an item from your vault:>shushi-p[password] remove [name]List all items in your vault:>shushi-p[password]listAdvanced UsageAPI CookbookEnvironment VariablesContributeContributions are welcomed, please see thecontributions guide.
Package: shushlog
shushlogAsync-compatible, dependency-less, simple log suppression and filtering libInstallpipinstallshushlogTLDRsupress all logs>>>importlogging>>>importshush>>>logging.basicConfig()>>>logger=logging.getLogger("some_logger")>>>logger.setLevel(logging.INFO)>>>@shush.suppress>>>defsuppressed_func():>>>logger.info("this should not be logged")>>>defnormal_func():>>>logger.info("this should be logged")>>>suppressed_func()>>>normal_func()INFO:some_logger:thisshouldbeloggedmuzzle text>>>importlogging>>>importshush>>>logging.basicConfig()>>>logger=logging.getLogger("some_logger")>>>logger.setLevel(logging.INFO)>>>@shush.muzzle("foo")>>>defmuzzled_func():>>>logger.info("this contains `foo`, so it should be muzzled out")>>>logger.info("this doesn't contain it, so it should be showing")>>>muzzled_func()INFO:some_logger:thisdoesn't contain it, so it should be showing
Package: shut
Welcome to ShutShut is an opinionated tool to simplify publishing pure Python packages.What can Shut do for you?Generate setup files (setup.py,MANIFEST.in,LICENSE.txt)Sanity check your package configurationBuild and publish source/wheel distributionsExecute unit tests and static type checksand moreInstallationShut requires Python 3.7+ and can be installed from PyPI:$ pip install shutQuickstartInitialize a new Python package:$ shut pkg new --name my.package .
write .gitignore
write README.md
write package.yml
write src/my/package/__init__.py
write src/my/__init__.pyGenerate setuptools files:$ shut pkg update
write setup.py
write MANIFEST.inCreate a changelog entry and commit:$ shut changelog --add feature --for cli -cm 'Added some useful options.'Sanity-check the package configuration:shut pkg checks

  ✔️   classifiers
  ⚠️   license: not specified
  ✔️   namespace files
  ✔️   package-author
  ⚠️   package-url: missing
  ✔️   package-version
  ✔️   readme
  ✔️   up to date

ran 8 checks for package my.package in 0.003sCommit the current status:$ git add . && git commit -m 'bootstrapped package'Release a new version:$ shut pkg bump --tag --push

figuring bump mode from changelog
  1 feature → minor

bumping 3 version reference(s)
  package.yml: 0.0.0 → 0.1.0
  setup.py: 0.0.0 → 0.1.0
  src/my/package/__init__.py: 0.0.0 → 0.1.0

release staged changelog
  .changelog/_unreleased.yml → .changelog/0.1.0.yml

updating files
  write setup.py
  write MANIFEST.in

tagging 0.1.0
[master ec1e9b3] (my.package) bump version to 0.1.0
 4 files changed, 4 insertions(+), 4 deletions(-)
 rename .changelog/{_unreleased.yml => 0.1.0.yml} (78%)
Enumerating objects: 24, done.
Counting objects: 100% (24/24), done.
Delta compression using up to 8 threads
Compressing objects: 100% (17/17), done.
Writing objects: 100% (24/24), 3.87 KiB | 566.00 KiB/s, done.
Total 24 (delta 4), reused 0 (delta 0)
To https://github.com/me/my-package
 * [new branch]      master -> master
 * [new tag]         0.1.0 -> 0.1.0Publish the release to PyPI:$ shut pkg publish warehouse:pypi

building setuptools:sdist
  :: build/my.package-0.1.0.tar.gz

building setuptools:wheel
  :: build/my.package-0.1.0-py3-none-any.whl

publishing warehouse:pypi
  :: build/my.package-0.1.0.tar.gz
  :: build/my.package-0.1.0-py3-none-any.whlShut also makes it easy to publish from within CI jobs. For more information on this,
check out thePublishing Guide.Copyright © 2021 Niklas Rosenstein
Package: shutdown
Python shutdown libraryVersion : V1.1DownloadInstallationBuild source filepython setup.py installInstall from pippip install shutdownUsageimport shutdown libfrom shutdown import *shutdown functionshutdown(time=your_time,force=False,warning_off=False)restart functionrestart(time=your_time,force=False)hibernate functionhibernate(force=False)logoff functionlogoff(force=False)cancel any shutdown processcancel()
Package: shutil-extra
shutil_extraextra utilsBuild/Upload# buildpythonsetup.pysdist# uploadtwineupload./dist/shutil_extra-x.x.x.tar.gzUsagedirtreefromshutil_extraimportdirtreetree_cnf=f'''folder1folder2_1,folder2_2folder3_1->folder4folder3_2->folder4->folder5_1,folder5_2folder3_3->folder4folder3_4->folder4'''# without post_handledirtree.makedirs('./folder_tree',tree_cnf)# with post_handledefpost_handle(dirname,dirpath):# do something after dir generatedifdirname=='folder4':withopen(os.path.join(dirpath,'data.txt'),'w')asf:f.writelines('hello world')dirtree.makedirs('./folder_tree',tree_cnf,post_handle=post_handle)
Package: sh-utils
sh-utilsSome commands to simplify various things.pm - move p to p’cpm - copy p to p’upm - undo p to p’sw - swap two pathspt - pivot file over a commandpts - pivot file over a command (stdin)These commands simplify some common tasks in a shell.For example, it’s often helpful to copy a file to a backup.jason@io ~ cp foo foo\'Instead, thecpmcommand is a bit more flexible and less to type.jason@io ~ cpm fooThepmcommands, in general, can also be used en masse.jason@io ~ cpm *Another common pattern is running a command on a file and replacing it with the output,
whichptsupports.jason@io ~ pt sort fooTheptscommand is also similar topt, but allows for some more complex
combinations.jason@io ~ pts sh -c "sort | awk '{ print \$1, \$2 * \$2 }'" fooAny issues or bug reports, please use the github issuetracker.  Pull requests and patches
are also welcome.AliasesSome useful aliases to avoid prompts and change the default suffix.alias pm="pm -f -s .old"
alias cpm="cpm -f -s .old"
alias upm="upm -f -s .old"InstallingPyPIpip install sh-utilsFrom sourcepython setup.py installVersions0.9 (Feb, 2016)first release
Package: shutilwhich
A copy & paste backport of Python 3.3’sshutil.whichfunction.UsageFirst, install the package:pip install shutilwhichImporting the package:import shutilwhichwill monkey-patch theshutilpackage, so from that point on you can simply
import thewhichfunction:from shutil import whichTo keep things a little more concise, you can also importwhichdirectly
fromshutilwhich:from shutilwhich import whichThis will still monkeypatch theshutilmodule. On Python 3.3 and above, the
module never do anything but return the stdlibshutil.whichfunction.
Package: shutilwhich-cwdpatch
shutilwhich-cwdpatchPatch forshutil.whichandshutilwhichthat doesn't prepend CWD in search on Windows.Installcondainstall-cdefaults-cconda-forgeshutilwhich-cwdpatchorpipinstallshutilwhich-cwdpatchUsage:Simply importpatchsubmodule before importingshutil.whichorshutilwhichto patch them:importshutilwhich_cwdpatch.patchfromshutilimportwhichOr usewhichwithout patching:fromshutilwhich_cwdpatchimportwhich
Package: shuttle
ShuttleShuttle provides a command-line interface for moving content between
help desk and translation systems. It currently supports Desk.com andTransifex.InstallationShuttle is installable fromPyPIwitheasy_installorpip.$ pip install shuttleThis will download the latest release, along with its dependencies.LicenseShuttle is copyright 2012-2014, Eventbrite and contributors, and is
made available under the Apache License v2. See LICENSE for details.News
Package: shuttle-bus-rabbitmq
Shuttle BusA modern distributed application framework for Python.Build StatusBranchStatusmasterdevelopGetting startedInstallpipinstallshuttle-bus-rabbitmqSimple exampleuri="amqp://admin:admin@localhost/"host_settings=HostSettings.create(uri)receive_settings=ReceiveSettings()receive_settings.name="queue_name"consumer=PrintConsumer()receive_endpoint_configuration=ReceiveEndpointConfiguration(receive_settings,consumer)bus_configuration=BusConfiguration(host_settings)bus=awaitBus.create(bus_configuration,receive_endpoint_configuration)awaitbus.start()awaitbus.publish(bytes("Hello","UTF-8"))awaitbus.stop()VersioningShuttle Bus follows Semantic Versioning.ContributingSee CONTRIBUTING.mdBuildsSeehttps://pypi.org/project/shuttle-bus/RequirementsPython >= 3.6Creditsaio-pika
Package: shuup
ShuupShuup is an Open Source E-Commerce Platform based on Django and Python.https://shuup.com/CopyrightCopyright (c) 2012-2021 by Shuup Commerce Inc. <support@shuup.com>Shuup is International Registered Trademark & Property of Shuup Commerce Inc.,
Business ID: BC1126729,
Business Address: 1500 West Georgia Suite 1300, Vancouver, BC, V6G-2Z6, Canada.CLAContributor License Agreement is required for any contribution to this
project.  Agreement is signed as a part of pull request process.  See
the CLA.rst file distributed with Shuup.LicenseShuup is published under Open Software License version 3.0 (OSL-3.0).
See the LICENSE file distributed with Shuup.Some external libraries and contributions bundled with Shuup may be
published under other compatible licenses. For these, please
refer to VENDOR-LICENSES.md file in the source code tree or the licenses
included within each package.ChatWe have a Gitter chat room for Shuup.  Come chat with us!Docker quick startFastest way to get Shuup up and running is to useDocker.Run:docker-composeupOpenlocalhost:8000/sain a browser,
log in with username:adminpassword:adminFull Shuup installation guideSeeGetting Started.For simple project example see ourDjango-project template.Getting Started with Shuup developmentSeeGetting Started with Shuup Development.Contributing to ShuupInterested in contributing to Shuup? Please see ourContribution Guide.DocumentationShuup documentation is available online atRead the Docs.Documentation is built withSphinx.Issue the following commands to build the documentation:pipinstall-rrequirements-doc.txtcddoc&&makehtmlTo update the API documentation rst files, e.g. after adding new
modules, use command:./generate_apidoc.pyRoadmapv3 (Q4 2021)Initial Django 3.x supportLatest Jinja supportDeprecate theme folders under Shuup front which are used to override
individual macros in macro folders. This does not work well with latest
Jinja and adds extra complexity.v4 (Q1 2022)Move Shuup front, xtheme and theming features to own addons. This so that
projects not ready for updating theme or front can still get latest Shuup.Introduce new default theme and overhaul templates structure to be more
simple (likely Bootstrap 5 will be used).Bump admin Bootstrap version to match with the new frontMove various other not essential apps in this repository to addons for
better version management.Additional MaterialDjango-project template. Django-project template.Provides system.Core settings.Front settings.Admin settings.Extending Shuup.Admin Preview
Package: shuup-channels
# Shuup ChannelsEnables the power of WebSockets with [Django Channels](https://github.com/django/channels) in [Shuup Ecommerce Platform](https://github.com/shuup/shuup).This project allows more advanced customizations and addons to be created with Shuup. By using websockets, a new set of solutions can be created and making user experience even better.To use websocket on your Shuup projects, start by installing Shuup Channels ``pip install shuup-channels`` and add `shuup_channels` to your `INSTALLED_APPS` settings. Check [`workbench_project`](./workbench_project/app) for an example of project and configuration.## UsageThis project simply defines an ASGI applicaton with a websocket router which loads urls through Shuup Provides.After the installation, define a provide entry using the `channels_urls` key:in your `my_addon/apps.py````class AppConfig(shuup.apps.AppConfig):provides = {"channels_urls": ["my_addon.urls:channels_urls"]}```in your `my_addon/urls.py````from django.conf.urls import urlfrom my_addon.consumers import MyConsumerchannels_urls = [url(r"^ws/myaddon/$", MyConsumer)]```Done, implement your `MyConsumer` following the Django Channels guidelines and you should be safe. The websocket url will be available as `ws://your-site-url/ws/myaddon/`.## Example of projects- [Shuup Admin Channel](https://github.com/chessbr/shuup-admin-channel) - Adds a generic and extendable channel to Admin module# CopyrightCopyright (C) 2019 by Christian Hess# LicenseMIT