Saravanan666/pypi-org huggingface dataset:
Package: slskit
slskitUsage: slskit [OPTIONS] COMMAND [ARGS]...

Options:
  --version                       Show the version and exit.
  -c, --config TEXT               path to slskit configuration file (default:
                                  slskit.yaml or slskit.yml)
  -l, --log-level [CRITICAL|FATAL|ERROR|WARN|WARNING|INFO|DEBUG|NOTSET|VERBOSE|QUIET|PROFILE|TRACE|GARBAGE]
  --salt-output TEXT              Alternative Salt outputter, e.g. nested,
                                  json, yaml, etc.
  --help                          Show this message and exit.

Commands:
  highstate  render highstate for specified minions
  pillars    render pillar items for specified minions
  refresh    invoke saltutil.sync_all runner
  sls        render a given sls for specified minions
  template   render a file template for specified minionsSupported Python versions: 3.8, 3.9, 3.10Supported Salt versions: 3005, 3006Workaround for libcrypto.dylib failing to load on macOSIfslskitfails withzsh: abortorAbort trap: 6, inspect the error by running the command withPYTHONDEVMODE=1. If the issue is with_load_libcryptocall inrsax931.py, editsalt/utils/rsax931.pyline 38:-lib = find_library('crypto')+lib = "/usr/local/opt/openssl@1.1/lib/libcrypto.dylib"More info:https://github.com/saltstack/salt/issues/55084https://github.com/Homebrew/homebrew-core/pull/45895/files#diff-5bdebf3b9146d50b15f9a0dc7e7def27R131-R133Workaround for exception raised when processingvirtualfunctionWhen seeing errors like these:ERROR:salt.loader:Exception raised when processing __virtual__ function for salt.loaded.int.module.freebsdkmod. Module will not be loaded: 'kernel'
WARNING:salt.loader:salt.loaded.int.module.freebsdkmod.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'freebsdkmod', please fix this.You may need to add a corresponding grain toslskit.yamlfile, e.g.:# slskit.yamlslskit:roster:foo:grains:kernel:LinuxYou can find values for grains by inspectinggrains.itemson your real minions.How to keep your grains DRYUsedefault_grainsoption to avoid duplicating the same grains over all minions:# slskit.yamlslskit:roster:foo:bar:baz:default_grains:os:UbuntuFor more advanced cases use YAML anchors:# slskit.yaml_grains:ubuntu:&ubuntuos:Ubuntufedora:&fedoraos:Fedoraslskit:roster:u1:grains:<<:*ubuntuu2:grains:<<:*ubuntuf1:grains:<<:*fedoraf2:grains:<<:*fedoraHow to reduce output verbosityUse Salt'soutputconfiguration option, e.g.:# slskit.yamlsalt:output:yamlslskit:...External linkshttps://docs.saltproject.io/salt/install-guide/en/latest/topics/salt-version-support-lifecycle.htmlhttps://docs.saltproject.io/salt/install-guide/en/latest/topics/salt-python-version-support.html
Package: sls.python
The Idea ofpyverlesswhen working with ALOT of different microservices and APIs its quite common that we are starting to COPY-PASTE some code
from oneserverlessfile to another. creating thispyverlesslet big organizations to sharemodulesin a way that
can be used accross the organizationsAS A CODEGetting Startedinstall pyverless using the following commandpipinstallsls.pythonthan define your serverless file using the following syntax#sls.pyfrompyverlessimportServerlessFramework,Provider,Function,FunctionEvent,EventTypessls=ServerlessFramework(framework_version="2 || 3",service="aws-python",)Provider(sls,name="aws",runtime="python3.8",lambda_hashing_version=20201221)Function(sls,name='hello',handler='handler.hello',)Than runpyls sls:slsand check theserverless.ymlthat created. it will createthisexample serverless.yml file.According to sls fw, package.json is not mendatory so right now pyverless wont maintain a package.json fileKey Features:Modules- A module is a collection of related functionality that can be used in different parts of the
application.Parameters- A parameter is a value that can be used to configure any part of the configuration, pyverless support
3 different types of parameters,region,stageandregion & stageType-Hinting- withpyverlessyou will get an out-of-the-box solution to understand what kind of attributes are
supported inserverlessin one place.Usage:by default thepyls MODULEcommand will generate aserverless.ymlfile in the current directory.running:pyls main:sls && sls print --region us-east-1 --stage devfor example will generateserverless.ymlfile and print the serverless output whenregionisus-east-1andstageisdevContributing:We love our contributors! Please read our Contributing Document to learn how you can start working on the Framework
yourself.
Package: sls-tools
sls-tools-pyUtilities for developing AWS Lambda functions in Python.Installationpip install sls-toolsDevelopment Setupgitclonehttps://github.com/ki-tools/sls-tools-py.gitcdsls-tools-py
pipenv--threesource.venv/bin/activate
makepip_install
maketestModule DocumentationSee full module documentationhere.
Package: slthost
# slthostPython C code module, used to control the sealta device# Installingpip install slthost# How to use#### C API can be mimiced almost identically by doing the following:>>> from slthost import dev_ctl
>>> dev = dev_ctl.create_steap_device(\"192.168.100.100\", 3, 3)
>>> res_code,res_string = dev.start_data_record()
>>> res_code,res_string = dev.stop_data_record()
>>> res_code=dev_ctl.delete_steap_device(dev)
Package: sltlocaltools
sltlocaltools
===![stringsToxls](http://img.blog.csdn.net/20170501134701254?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGFpc2hhbmR1YmE=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)![xlsToStrings](http://img.blog.csdn.net/20170501134717317?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGFpc2hhbmR1YmE=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)sltlocaltools is a tool to help search iOS localizabel.strings and convert it between xls and strings.Installing
—pip install sltlocaltoolsUsage
—convert strings to xlspython xlsconvertor.py -t 1 -sd ~/Desktop/test -x ~/Desktop/my.xlsconvert xls to stringspython xlsconvertor.py -t 1 -sd ~/Desktop/test -x ~/Desktop/my.xls-t : 1 means convert to xls,2 means convert to strings-s : localizable strings dir path-x : xls file path
Package: sltools
This is a repository of the "S.T.A.L.K.E.R Localization Toolbox"This project is created to ease routine manipulations of working on localization
of S.T.A.L.K.E.R mods.Primarily it's designed (and tested) to translate mods to Ukrainian languageGoals (TODO)Create All-in-one app which will help to produce clean, maintainable, correct
mod localizations with ease, both text and audio.Planned featuresInfra:Add version tracking from PyPIAdd multilang supportAdd ukrainian language supportAdd ~/.sltools/config file to store configurationText:Git integration (check for dirty environment)Add modified files saving into mirrored directory for non-tracked filesBad encoding detection and fixesResolve XML C-style includesExample hereXML formatting and fix. S.T.A.L.K.E.R's XML parser has loose XML validation,
and swallows files with some tokens not allowed in XML 1.0 specification.Example here<text>entries formatting. Game's XML parser ignores extra spaces and line
breaks (just like HTML). The only way you can put a line break is to use \n.
This feature alligns text within text blocks to look alike in the game.Example hereAnalysis for not translated files/text blocksAutomatic text translation using DeepL.Analyze broken patterns/placeholders/colorsSave report only with --save optionCompare 2 file reportsFix broken patterns/placeholders/colorsSearch for duplicate keysAdd visualized duplicates graph using D3Capitalize text entriesGrammar and typos checkupCapitalization of the text blocksAutomatic scraping for files you need to translate (if you just start translating) with
integration withMod Organizer 2mod priority (if you want to translate
a modpack with all at once)Audio:Handy operations with audio (using ffmpeg):Convert to-ogg/to-mp3Convert to monoTrim/split audio by secondTrim silence from audio (with user defined margin)Normalize audio levelApply quick effects (gas mask, radio, pitching, noise)Translating Speech-to-Speech and keeping voice signature using AIAudio:Handy operations with audio (using ffmpeg):Convert to-ogg/to-mp3Convert to monoTrim/split audio by secondTrim silence from audio (with user defined margin)Normalize audio levelApply quick effects (gas mask, radio, pitching, noise)Translating Speech-to-Speech and keeping voice signature using AIImportant infoAll XML files are usingWinodws-1251encoding, so it's better to setup your
IDE/text editor, git to this encoding by defaultA lot of functionality here (like autotranslation) may sometimes introduce
breaking changes like missing/broken placeholder, etc, so it's hardly
recommended to make git repository out of your mod, and commit changes before
each script use (or at least commit often)Module Installation# Uninstall previous if presentpipuninstallsltools# Install in dev modepipinstall-e.Module Testingsltools
python3-msltools
python3sltools.py
Package: sltx
sltx 0.1.xShort overviewsltxis a simple (python 3.5+) script, i've written formy own purposes(LaTeX).
It usessltx-dep.ymlfiles to track my latex dependencies over various repositories and installs them on the host-system.
I use it only under linux, with texlive installed, but it should work for other os too.
You can configure the installer for your host-system using thesltx-config.ymlor supply it while installing.How tos'How to getThe script including the Packagesltxpkgis available withpypi/sltxSo simply install it like any other Python package withsltxwith pip:pip3installsltxAfterwardssltxshould be available as a normal script! Afterwards you can
updates withpip3and the--upgrade-flag.How to setupIf you just want the auto configuration, typesltxauto-setupPlease note, that this command requires docker to be installed.
If you have texlive or an comparable variant (having atexmf-home) installed on your local machine
you may use the-dflag to download the LaTeX-libraries shipped with the container(s).How to compileIf you just want to compile a document and have any docker container installed, use:sltxcompile<document>If you do not want to compile in the docker-container (or if you have none), please use the following instead.sltxraw-compile<document>For further help add-hto the commands to get more information about arguments.Note: With version 1.64 there should be the wrapper scriptssltxcforsltx compileandsltxrcforsltx raw-compile.How to runJust runsltxorsltx -hto get the help menu.
If you want to install dependencies from a file likedep.ymlrun:sltxdepdep.ymlIf you have your own configuration, lets say it is name "config.yml" add-c config.yml.If you want to generate agithub workflowjust typesltx gen-gha.
Package: slugathon
Slugathon is a free (licensed under the GPLv2; see slugathon/docs/COPYING.txt)
clone of the classic Avalon Hill boardgame Titan. The focus is on playing
against other humans across the Internet.Installation is currently really easy on Windows (just download and run an
.exe file), pretty easy on Linux (install some dependencies with your package
manager then run a command), and kind of a pain on Mac OS.  I’m working to
make it easier everywhere.1. If you’re on Windows and in a hurry, download the latest .exe from the
Downloads page and skip to step 5.2. Install all the dependencies listed athttp://wiki.github.com/dripton/Slugathon/dependencies.Seehttp://wiki.github.com/dripton/Slugathon/Building-on-Linuxhttp://wiki.github.com/dripton/Slugathon/Building-on-Mac-OShttp://wiki.github.com/dripton/Slugathon/Building-on-Windowsfor details.3. Clone Slugathon with Git, or download and uncompress a zip or tar
version.4. Run “python setup.py install” to install the game.  This will probably
require root permissions, so use su or sudo.In one terminal, run “slugathon server -n”6. In a second terminal (on the same or a different computer) run
“slugathon client”.  Pick the IP or hostname of the computer where you
ran the server, and connect.7. If you want multiple human players, then in a third terminal, (on the same
or a different computer), run “slugathon client”, picking a different player.(You can add up to a total of 6 players.)Chat with each other in the Lobby window.9. Have the first player form a game, then have the other player(s) join it.
If you want AI players, then set “Min players” to more than the number of
human players, and AIs will join in.  When all humans have joined, have the
first player click “Start Game Now”, and play some Titan.For documentation, see the Wiki athttp://wiki.github.com/dripton/Slugathon
Package: sluggard
featuresarchiving (tar)compression (gzip, bzip2, xz)ignore filehow to usewrite ignore filerun sluggard commandignore fileexample (.packignorefile).git/
venv/
dev/
!.gitkeepsluggard command# only need -o option
sluggard -o <output file>
sluggard -o package.tar  # no compress
sluggard -o package.tar.gz  # gz compress
sluggard -o package.tar.xz  # xz compress
sluggard -o package.tar.bz2  # bz2 compress

# package specified directory (if not provided, use current directory)
sluggard -o <output file> /path/to/directory

# show help -h or --help
sluggard -h
Package: slugger
Slugger solves the seemingly simple problem of turning a title into an url
frienly slug:>>>fromsluggerimportSlugger>>>s=Slugger(lang='en_US')>>>s.sluggify(u'Headless-body-in-topless-bar')u'headless-body-in-topless-bar'Unlike many other slugging libraries, it also handles language-specific
ascii-translation. Compare theä,öandüin German>>>s=Slugger(lang='de_DE')>>>s.sluggify(u'Türöffner')u'tueroeffner'against Swedish:>>>s=Slugger(lang='sv_SE')>>>s.sluggify(u'Färsk Ägg')u'farsk-agg'Criterias of what makes a good slug vary, common requirements are a maximum
length and a reduced character set that is highly URL-friendly.To generate high-quality slugs, Slugger leverages the locale information from
glibc (included in the package), theunihandecodelibrary and some hand-written
replacements.>>>s=Slugger('en_US')>>>s.sluggify(u'Bed & Breakfast')u'bed-and-breakfast'>>>s.sluggify(u'Folding@Home')u'foldingathome'These are also language-aware:>>> s = Slugger('fr_FR')
>>> s.sluggify(u'Toi & Moi')
u'toi-et-moi'Help outIf you find a badly generated slug, please report ongithub. Also, any help in implementing better
support for more languages is appreciated; see theofficial documentationon how to get involved in development.
Package: slugifile
=========SlugiFile=========.. image:: https://img.shields.io/pypi/v/slugifile.svg:target: https://pypi.python.org/pypi/slugifile.. image:: https://img.shields.io/travis/codehutlabs/slugifile.svg:target: https://travis-ci.org/codehutlabs/slugifile.. image:: https://readthedocs.org/projects/slugifile/badge/?version=latest:target: https://slugifile.readthedocs.io/en/latest/?badge=latest:alt: Documentation StatusRenames the filenames within the specified directory to be Unix friendly.* Free software: MIT license* Documentation: https://slugifile.readthedocs.io.Features--------* TODOCredits-------This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template... _Cookiecutter: https://github.com/audreyr/cookiecutter.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage=======History=======0.1.14 (2018-12-19)------------------* First release on PyPI.
Package: slugify-cli
Slugify CLI 0.4Installationpip install slugify-cliHelp Pageusage: slugify-cli [-h] [--keep-letter-case] [--separator SEPARATOR]
                   [--decamelize]
                   [string_to_slugify [string_to_slugify ...]]

Slugify string CLI tool

positional arguments:
  string_to_slugify     string to slugify

optional arguments:
  -h, --help            show this help message and exit
  --keep-letter-case    keep letter case as it is
  --separator SEPARATOR
                        specify separator, default is - (hyphen)
  --decamelize          separate string in camelCase words
Package: slugifygui
slugifyguigraphical user interface to slugify textsetupInstall PyQt5.sudoaptinstallpython-qt5It may be that the following steps are needed:python3-setuptoolssudoaptinstallpython3-setuptoolssudopython3-mpipinstallpyqt5Install the package.sudopipinstallslugifyguisudowget--content-disposition-N-P/usr/share/icons/https://raw.githubusercontent.com/wdbm/slugifygui/master/slugifygui/static/slugifygui.svgsudowget--content-disposition-N-P/usr/share/applications/https://raw.githubusercontent.com/wdbm/slugifygui/master/slugifygui/static/slugifygui.desktop
Package: slumba
Put some Numba in your SQLiteFair WarningThis library does unsafe things like pass around function pointer addresses
as integers.Use at your own risk.If you're unfamiliar with why passing function pointers' addresses around as
integers might be unsafe, then you shouldn't use this library.RequirementsPython>=3.7numbaUsenix-shellfrom the repository to avoid dependency hell.Installationpoetry installExamplesScalar FunctionsThese are almost the same as decorating a Python function withnumba.jit.fromtypingimportOptionalfromslumbaimportsqlite_udf@sqlite_udfdefadd_one(x:Optional[int])->Optional[int]:"""Add one to `x` if `x` is not NULL."""ifxisnotNone:returnx+1returnNoneAggregate FunctionsThese follow the API of the Python standard library'ssqlite3.Connection.create_aggregatemethod. The difference with slumba
aggregates is that they require two decorators:numba.experimental.jit_classandslumba.sqlite_udaf. Let's define theavg(arithmetic mean) function for
64-bit floating point numbers.fromtypingimportOptionalfromnumba.experimentalimportjitclassfromslumbaimportsqlite_udaf@sqlite_udaf@jitclassclassAvg:total:floatcount:intdef__init__(self):self.total=0.0self.count=0defstep(self,value:Optional[float])->None:ifvalueisnotNone:self.total+=valueself.count+=1deffinalize(self)->Optional[float]:ifnotself.count:returnNonereturnself.total/self.countWindow FunctionsYou can also define window functions for use with SQLite'sOVERconstruct:fromtypingimportOptionalfromnumba.experimentalimportjitclassfromslumbaimportsqlite_udaf@sqlite_udaf@jitclassclassWinAvg:# pragma: no covertotal:floatcount:intdef__init__(self)->None:self.total=0.0self.count=0defstep(self,value:Optional[float])->None:ifvalueisnotNone:self.total+=valueself.count+=1deffinalize(self)->Optional[float]:count=self.countifcount:returnself.total/countreturnNonedefvalue(self)->Optional[float]:returnself.finalize()definverse(self,value:Optional[float])->None:ifvalueisnotNone:self.total-=valueself.count-=1Calling your aggregate functionSimilar to scalar functions, we register the function with asqlite3.Connectionobject:>>>importsqlite3>>>fromslumbaimportcreate_aggregate,create_function>>>con=sqlite3.connect(":memory:")>>>create_function(con,"add_one",1,add_one)>>>con.execute("SELECT add_one(1)").fetchall()[(2,)]
Package: slumber
SlumberSlumber is a Python library that provides a convenient yet powerful
object-oriented interface to ReSTful APIs. It acts as a wrapper around the
excellentrequestslibrary and abstracts away the handling of URLs, serialization,
and request processing.Getting HelpVisit IRC channel (#slumber on irc.freenode.net) to get help, bounce ideas
or generally shoot the breeze.QuickStartInstall Slumber:$ pip install slumberInstall Optional Requirement:pip install pyyamlUse Slumber!RequirementsSlumber requires the following modules.Python 2.6+requestspyyaml (If you are using the optional YAML serialization)Changelogdevelopment version0.7.1Correct support for UTF encoded responses.0.6.2Further Python 3 compatibility fixes, many thanks to Alexander Shchepetilnikov (irqed)0.6.1Removesimplejsondependency.Support range now Python 2.6 - Python 3.40.6.0All HTTP methods support multipart/form-data.  The newfilesparameter is directly passed torequests.  Thanks to Philip
Neustrom and Diego Gaustein.0.5.2Now compatible withrequests1.0 thanks to Matias Saguir.Fix bug when using default serializer.  Thanks to Andy McKay0.4.2Support decoded unicode url fragments - Thanks @collinwat0.4.1Added asessionkwarg toslumber.APIallowing passing arequestssession
that will be used instead of the slumber created one0.4.0(Backwards Incompatible)Switched fromhttplib2torequests(Backwards Incompatible)Removed the Meta class Magic(Backwards Incompatible)Removed the ability to subclassslumber.APIto specify defaults(Backwards Incompatible)New Syntax for Specifying Authentication0.3.1Fix regression where pre 0.3 urls were assumed to end in slash, and 0.3.0 presumed to end in not slash.
Urls are now assumed to end in a slash, and if you don’t want this behavior you can disable it by the
append_slash kwarg/Meta option (set to False to disable it).Fix regression caused by a mistyped variable name.0.3.0Allowed nesting resources infinitely to allow more complex api usage.Cleaned up the Meta class and allow subclassingslumber.API(Backwards Incompatible)Cleaned up the exception names.(Backwards Incompatible)Renamed theslumber.APIserialization kwarg from
default_format to format to be more consistentImproved the documentationAdded Some Tests (This could still be better)0.2.5Fixed https urls and the accidental force to port 80Fixed the assumption that all urls end in a trailing slash0.2.4Fixed Including of Changelog.rst0.2.3Updated the docs to include a section about url parameters0.2(Backwards Incompatible)Move specifying a non default serializer fromapi.resource.get(format="yaml")toapi.resource(format="yaml").get()Reworked the internalResourceapi to not clobber any kwargs passed to it. This
fixes a bug where you couldn’t useformatorurlas the name for one of
the url parameters.0.1.3Fix forResource.post()not passing kwargs toResource.get()0.1.2Initial public release of Slumber
Package: slumbercache
slumbercacheSlumber is a Python library that provides a convenient yet powerful
object-oriented interface to ReSTful APIs. It acts as a wrapper around the
excellentrequestsand abstracts away the handling of URLs, serialization,
and request processing.Installpip install slumbercacheUsageExample Usage with Cache enabledimport slumbercache

api = slumbercache.API("http://slumbercache.in/api/v1/", auth=("demo", "demo"), cache=True)
## GET http://slumbercache.in/api/v1/note/
api.note.get()Creditslumbercacheis a fork ofslumberwith Cache added for better performanceChangelogdevelopment version0.1.1Minor Fixes0.1.0Initial public release of slumbercache