Saravanan666/pypi-org huggingface dataset:
Package: scriptum
ScriptumA command line utility for storing, documenting, and executing your project's scripts.DocumentationSee documentationhere.A simple use caseWithscriptum, you can easily configure scripts into a repo or directory, by placing defining them in a configuration file. Here is an example of a configuration file:/*
  Scripts for my project!
*/
{
    "serve": "python3 server.py",           // runs the server
    "test": {                               // tests my project
        "permissions": {                    // configures the permissions
            "set": "chmod 777 main.py",     // makes the executable public
        },
        "run": "./main.py $1",              // runs the executable
        "checks": ["mypy **/*.py", "python3 tests/main.py"]       // runs the tests
    },
    "package": {                                                  // distribution
        "build": "python3 setup.py sdist bdist_wheel",            // prepares for release
        "publish": "twine upload --repository pypi dist/*"        // publishes the package
    },
    "deps": {                                                     // dependency management
        "install": ["pip3 install reqs.txt", "brew install pkg"], // installs dependencies
        "list": "cat reqs.txt",                                   // lists dependencies
        "resolve": "python3 -m pip freeze > main/reqs.txt"        // updates the dependency list
    },
    "docs": {                               // manage documentation
        "install": "npm i -g docsify",      // installs docs dependencies
        "serve": "docsify serve",           // runs the server
        "open": "open http://localhost:3000"// opens the preview
    }
}You can now execute any of these scripts conviniently with the scriptum CLI (scr):scr<scriptcategory><script><args>So if you wanted to run the scripts, you can enter the them into the command line like so:scrhelp# open index.htmlscrdepsinstall# python3 -m pip install requirements.txtscrdepsresolve# python3 -m pip freeze > requirements.txtscrtestpermissionsset# chmod 777 main.pyscrtestrun[[production]]# ./main.py 'production'scrtestchecks# mypy **/*.py and ./tests/main.pyIf you check the configuration file into you repo, your team can now run these scripts with ease.FeaturesHighly configurableCross-platform supportSupports dependency management from multiple sources (NPM, pip, etc.)Script categoriesJSON configuration support for comments and documentationSupports command lists that stop on fail
Package: scripture-phaser
Scripture Phaserscripture_phaser helps you to memorize the Bible.InstallationThis package is available through PIP:pip install scripture_phaserUsagescripture_phaser [-h] [--version] [--license]Running scripture_phaser with no arguments launches the interactive CLI.CommandsFrom the interactive CLI, the following commands are available:g/get         - Reload the configuration filew/write       - Save the current configurationl/list        - Lists selected reference, random mode and translationm/random_mode - Toggles the moder/reference   - Sets the referencet/translation - Set the translationi/inquire     - List available translationsp/practice    - Practice the current referencev/view        - Preview current references/stats       - View your statisticsh/help        - Prints this help messagez/reset       - Reset statisticsq/quit        - Quits scripture_phaserUninstallationpip uninstall scripture_phaserWhat's up with the Name?Why is this tool called "scripture_phaser"? The name is actually a reference to a fictional weapon that appeared in an episode on of Focus on the Family's radio drama "Adventures in Odyssey" back in 1995 called "Hidden in My Heart".In one particular segment of the show, the characters are parodying an away mission from the original "Star Trek" series with William Shatner. Sky Trip's own captain, played by William Shattered, along with his trusty sidekick Krok and one expendable crewman beam down to an alien world to rescue a damsel in distress. Among the other trinkets that they take with them are their scripture phasers. These devices thwart attempts to tempt the trio to sin by citing relevant pieces of scripture. The entire segment is very tongue-in-cheek, but absolutely entertaining.The entire episode was released for free by Focus on the Family as a part of an episode of "The Official Adventures in Odyssey Podcast".Link to The Podcast EpisodeThe "Sky Trip" portion of the episode starts at 12:28, if you want to skip directly to it.Licensescripture_phaser is licensed under the BSD 3-Clause License. See LICENSE file or theOpen Source Initiativefor the full text of the license.
Package: script-venv
Script VenvA python package for script (and command) virtualisation with less typing.Free software: BSD licenseDocumentation:https://script-venv.readthedocs.io.FeaturesRun scripts, either console, gui or pure python, in their own virtual environment (venv).Scripts can be registered to a specific venv.Console or gui scripts can be auto registered from their package into a venv.VEnvs can be per user (default), local (under the current directory) or in a relative directory.VEnvs can be registered with requirements, and such venvs can be created as needed.InstallationRun the following command to ensure you have the latest version of Script Venv:$ pip install -U script_venvExamplesIfExample.pyis registered for theexamplelocal venv:$ sv Example.py
Runs ".sv/example/bin/python Example.py"Ifcookiecutteris registered for theccuser venv:$ sv cookiecutter
Runs "~/.sv/cc/bin/cookiecutter"CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.Python dependencies scanned byPyUp.ioHistory0.1.0 (2018-03-10)First release on PyPI.
Package: scripty
Scripty is a simple script runner to execute ELT and load tasks.InstallationScripty requires Python 3.6+python3 -m venv <virtual env name>
source <virtual env name>/bin/activate
pip install scriptyQuickstartRedshift does not have stored procedures so we will use Scripty to execute our ELT and load tasks.Both script runner and SQLWorkbenchJ will use the same notation for variable expansion:$[?variable].  This string will be replaced at runtime by the appropriate variable:There are three types of substitution parameters that can be used through script runner.  The first is a set of standard etl params for ease of use:-f, from_date, default 1776-07-24-t,to_date, default 9999-12-31-b, batch_no, default is -1The second option is for arbitrary variable expansion.  This is passed in the following format because rundeck commands don’t like json quotes:-p, example: -p “param1-val1, param2-val2”The final option is to use the batchy integration-wf, batchy_job, this will substitue parameters from a batchy workflow, this should be a fully qualified batchy job name of the format wf.job, if no job is specified it will assume globalHere is a sample SQL Script.  If run in SQL workbench you will be prompted for values for var1 and var2.drop table if exists  zzztemp;

create table zzztemp (
dt timestamp,
var varchar,
from_date timestamp,
batch_no integer
);

insert into zzztemp
values (getdate(), '$[?var1]', '$[?from_date]', '$[?batch_no]');

insert into zzztemp
values (getdate(), '$[?var2]', '$[?from_date]', '$[?batch_no]');

select * from zzztemp;In the script runner you would use the following params to substitute that value.  It is assumed these params would be dynamically substituted by the calling script or informatica process:python-mscripty.module-s"sample/scripty_test.sql"-p"var1-cat,var2-dog"-f'1980-12-3107:00'-b'9999'Assuming you had workflow config in batchy under wf3, you could also use this script:python-mscripty.module-ssample/scripty_test.sql-wfwf3DevelopmentGetting StartedIt is recommended to use the steps below to set up a virtual environment for development:python3 -m venv <virtual env name>
source <virtual env name>/bin/activate
pip install -r requirements.txtTestingpip install -r requirements-dev.txtTo run the testing suite, simply run the command:toxorpython-munittest discover testsContributingContributions to scripty are welcome!Please reference guidelines to help with setting up your development
environmenthere.
Package: scripyt-MWFN
scripyt-MWFNScript to scrap CP properties of multiwfn outputInstall via setuptools$ git clone https://github.com/jeffrichardchemistry/scripyt-MWFN
$ cd scripyt-MWFN
$ python3 setup.py installInstall via pip$ pip install scripyt-MWFNRun scriptParameters:-p:Path to Multiwfn output file-cp:CPs desired to extract the information$ scripyt-MWFN -p path/to/Multiwfn_output_file -cp 1 2 3 4 5 6Saving terminal output into a file:$ scripyt-MWFN -p path/to/Multiwfn_output_file -cp 1 2 3 4 5 6 > log.txt
Package: scripy-utils
MIT LicenseCopyright (c) [year] [fullname]Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included 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 OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.更多方法请看模块，或者联系作者一起探讨。
Package: scrit
scritA simple cli tool to transcribe audio you are already listening to.UsageWhen%> scritruns in a terminal:It switches audio devices to capture the system output, without interrupting listening.It loads OpenAI's Whisper speech-to-text modelIt continuously transcribes the audio and presents a live-updating transcriptUpon-receiving ctrl-c, it saves the final transcript to file, or copies it to the clipboardInstallationInstallBlackHoleor another audio loopback programSet up a multi-output devices to add loopback to the audio output devices you want to usedetailedherefor BlackHoleI found it helpful to name each multi-output device "{Audio Device} (tapped)"Here is the side bar of Audio MIDI Setup for my computerinstall scrit withpip install scritset up the mapping between tapped and un-tapped audio devices to enable automatic switching.edit the scrit configuration withscrit --edit_configin thetap_mapsection of the configuration file, edit the device names to represent the mapping between normal and tapped versions of the output devices"tap_map":[{"output_device":"External Headphones","tapped_output_device":"External Headphones (tapped)"},{"output_device":"MacBook Pro Speakers","tapped_output_device":"MacBook Pro Speakers (tapped)"},{"output_device":"AirPods","tapped_output_device":"AirPods (tapped)"}]AcknowledgmentsThis tool is based onhttps://github.com/davabase/whisper_real_timeTranscription is performed by the Whisper speech-to-text model from OpenAI (https://github.com/openai/whisper)This tool relies on audio loopback performed byBlackHolebut other tools may also work
Package: scrivener
scrivener is aScribeclient/server framework for use withTwistedapplications.Client APIfromtwisted.internetimportreactorfromtwisted.internet.endpointsimportTCP4ClientEndpointfromscrivenerimportScribeClientdefmain():client=ScribeClient(TCP4ClientEndpoint(reactor,'127.0.0.1',1234))client.log('category','message1')client.log('category','message2')if__name__=='__main__':reactor.callWhenRunning(main)reactor.run()Server APIimportsysfromtwisted.internetimportreactorfromtwisted.internet.endpointsimportTCP4ServerEndpointfromtwisted.python.logimportstartLoggingfromscrivenerimportScribeServerServicefromscrivener.handlersimportTwistedLogHandlerdefmain():service=ScribeServerService(TCP4ServerEndpoint(reactor,1234),TwistedLogHandler())service.startService()if__name__=='__main__':startLogging(sys.stdout)reactor.callWhenRunning(main)reactor.run()Server Plugin> twistd -n scrivener --help
Usage: twistd [options] scrivener [scrivener options]
Options:
  -p, --port=            Port to listen on for scribe service. [default: tcp:0]
  -H, --handlerFactory=  Fully Qualified Name of a callable that returns an
                         ILogHandler
      --version          Display Twisted version and exit.
      --help             Display this help and exit.

> twistd -n scrivener -p 1234 -H example.MyLogHandlerLicenseCopyright (C) 2012 Rackspace Hosting, Inc

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Package: scrmbl
scrmblLibrary and CLI for "scrambled" printing in terminal.Have you ever wanted your text to look like some corny action movie?RequirementsTested on Python >= 3.5InstallCLIpip3 install --user scrmblLibraryUsing pip in a virtualenv.pipinstallscrmblUsing Poetry:poetryaddscrmblUsing Pipenv:pipenvinstallscrmblUsageRefer to the gif to see the effectCLIUsage: scrmbl [OPTIONS] [MESSAGE]

  Scrmbl print the given message.

Options:
  -s, --speed FLOAT         Time in seconds between prints. Default: 0.05
  -i, --iterations INTEGER  Number of iterations per character. Default: 2
  -c, --charset FILE        Set of chars to scramble.
  --version                 Show the version and exit.
  --help                    Show this message and exit.Can also read from stdin.ls-lrtha|scrmblLibrary>>>importscrmbl>>>scrmbl.echo('09:30pm, Washington, NSA HEADQUARTERS')'09:30pm, Washington, NSA HEADQUARTERS'# handle multiline>>>scrmbl.echo('09:30pm, Washington\nNSA HEADQUARTERS')'02:56am, New-York''FBI HEADQUARTERS'# custom settings:# charset = String of characters to scramble with# speed = Time in seconds between prints# iterations = number of iterations before printing the final character>>>scrmbl.echo('NSA OFFICE',charset='ABCDefg/-',speed=0.2,iterations=6)'CIA OFFICE'ThanksSpecial thanks for contributing:@podstava@0jdxt
Package: scrnatools
scrnatools provides helper plotting and analysis functions built on top of the scanpy and scVI packages to perform common tasks in scRNA-seq analysis pipelines. Extensive description of general best practices and detailed default pipeline examples can be found in the scanpy and scvi-tools documentation. For an example walkthrough of a typical scRNA-seq pipeline and the added functionality provided by scrnatools see the jupyter notebooks provided athttps://github.com/j-germino/scrnatools-git/tree/main/examples. These can be uploaded to Google drive and run within a Google colab environemnt, using a GPU session. API documentation is available at:https://scrnatools-git.readthedocs.io/en/latest/.
Package: scrng
The Shadow AlgorithmIntroductionThe Shadow algorithm is an algorithm for generating random digits that utilizes an standard (and popular) algorithm as the core generator. This algorithm is called LFSR (Linear Feedback Shift Register). The algorithm first uses LFSR to generate a random string of digits. The algorithm then uses Python's built-in random number generator the further scramble the output of the LFSR.InstallationYou can check out this repository directly and then build the
package:git clone https://github.com/rsdate/scrng
cd scrng
pip install .Or you can simply install the official package from PyPI:pip install scrngIt is up to you which approach you use to install this package.A Simple Example (in Python)import scrng.main as scrng
print(scrng.scrng())Some dummy output:['2460403941444260529181716075179723041634946086076450300405774318506821593208121188927143953150202887']This example shows the barebones functionality of thescrng()function. See Parameters for details about customizing the function.ParametersnumsToGen (int): How many numbers to generate (default=1)lenOfSeed (int): How long the the returned numbers should be (default=100)strength (tuple[int, list[int]]): The first value determines the size of the core generator and the second value determines the taps for the generator (Read aboutLFSR) (default=(127, [1, 2, 7]))DistrubutionWhen you check out this repository, you might see that there is
already adistfolder. This folder is ignored by default when
the package is being built, but is included folder for the
sake of distrubution. If you want, you can distrubute the
pre-built tar archive to your friends.NotesIMPORTANT! Themaximumnumber of digits generated with the best possible randomness is 5000. Although you can request more than 5000 digits, they might not be generated using the full power of the generator.  Make sure that numsToGen * lenOfSeed is not over 5000 if you want the best random numbers from this algorithm.A follow up to this package calledsctestis being planned. I will most likely release this package in the near future.
Package: scrobblerh
Note: Python 3 is required!UsageThe program can be invoked with one of the following commands:add-user- Add a user to the list of known users.[user]A Last.fm username.[–password, -p]The corresponding password.If a username is provided, you will be prompted for a password.
If the command is invoked without any arguments, a Last.fm authorization
web-page will be opened for you to grant access to the application.[–dont-invoke-browser, -x]When invoking the command without arguments, always show the
authentication URL; never try to automatically open it.list-users- List known users and their corresponding session keys.remove-user- Remove a user from the list of known users.userThe user to remove.scrobble- Scrobble a track.userThe username to scrobble with. If the user isn’t known,
you will be prompted for a password.artistThe name of the artist.trackThe name of the track.timeThe time of listening. Formatted by –time-format. It may also benow,
in which case the current time is used.[–time-format, -tf]Specifies the format oftime, using
the syntax ofstrftime().
Defaults to%Y-%m-%d.%H:%M.[–album, -a]The name of the album.[–duration, -d]Has the format of XXhYYmZZs. At least one of those has to be present,
but any number of them can be specified, and in any order.now-playing- Update the now-playing status.userThe username to use. If the user isn’t known,
you will be prompted for a password.artistThe name of the artist.trackThe name of the track.[–album, -a]The name of the album.[–duration, -d]Has the format of XXhYYmZZs. At least one of those has to be present,
but any number of them can be specified, and in any order.ExamplesAdd a user to the list of known users:$ scrobbler add-user
The Last.fm authentication page will be opened, or its URL printed here.
Press enter to continue.
Press enter after granting access.
User hauzzer added.

$and:$ scrobbler add-user hauzzer
Password:
User hauzzer added.

$also:$ scrobbler add-user hauzzer --password ******
User hauzzer added.

$List all known users:$ scrobbler list-users
hauzzer | b431328fc489a4f6e6eeee3e8a0f5537

$Scrobble a track, “Lamplight Symphony”
byKansas, which was listened to on 07/15/2013 at 15:32:$ scrobbler scrobble hauzzer Kansas "Lamplight Symphony" 2013-15-07.15:32 -a "Song for America" -d 8m16s
Track scrobbled.

$Update the now-playing status with “Incomudro - Hymn to the Atman”
byKansas.:$ scrobbler now-playing hauzzer Kansas "Incomudro - Hymn to the Atman" -a "Song for America" -d 12m17s
Status updated.

$Remove a user from the list of known users:$ scrobbler remove-user hauzzer
User hauzzer removed.

$
Package: scrobblez
scrobblezUser-customizable scrobbler for Last.fm and MPRIS 2.This scrobbler cleans up metadata (e.g. artist, album, track titles) produced
by services with non-standard tagging schemes (e.g. Spotify). The cleaning
process is extensible and can be customized to a user's particular needs.InstallInstall from PyPI:pipinstallscrobblezOr install from source:gitclonehttps://github.com/YodaEmbedding/scrobblezcdscrobblez
pipinstall.UsageSimply run the following command:scrobblezConfigurationWithin~/.config/scrobblez/config.py, you may specify a whitelist of valid
player names:whitelist=["spotify"]Optionally, you can also customize the metadata cleaning process:fromscrobblez.metadata_filterimport*fromscrobblez.typesimportMetadatadeffix_metadata(metadata:Metadata)->Metadata:m=dict(metadata)# Keep first artist only in list of artistsm["artist"]=m["artist"][0]m["album_artist"]=m["album_artist"][0]# Specify which filter rules to userules=(REMASTERED_FILTER_RULES+SUFFIX_FILTER_RULES+VERSION_FILTER_RULES+ORIGIN_FILTER_RULES+FEATURE_FILTER_RULES+CLEAN_EXPLICIT_FILTER_RULES+LIVE_FILTER_RULES+TRIM_WHITESPACE_FILTER_RULES)# Specify manual artist/album/title overridesartist_overrides={"Yusuf":"Cat Stevens","Yusuf / Cat Stevens":"Cat Stevens",}album_overrides={"The Lord of the Rings - The Return of the King - ""The Complete Recordings (Limited Edition)":"The Lord of the Rings: Return of the King - the Complete Recordings",}title_overrides={"Better Get Hit In Your Soul - Instrumental":"Better Git It in Your Soul",}deffix(k,overrides,f=lambdax:x):m[k]=overrides.get(m[k],f(m[k]))# Apply fixesfix("artist",artist_overrides)fix("album_artist",artist_overrides)fix("album",album_overrides,lambdax:apply_filters(rules,x))fix("title",title_overrides,lambdax:apply_filters(rules,x))returnm
Package: scroll
SCROLL: Automatically generates documentation and unit-tests for python programsBuilt with Data processing programs in mindHow it worksThis tool monitors your function calls and returns while you "exercise" you program (i.e run functional tests).
It will collect this information (traces), record the order in which your functions run and generate documentation / tests using that information.Design conceptThe final goal is to enable a developer/user browser through documentation that flows
in the order in which functions in the program run, hence the name SCROLL.InstallationpipinstallscrollTo install using wheel files, Check inDistribution filesExample UsageLets say your file which contains the main entry function is called main.pyAn example main file with an entry function# main.pydefrun():'''this is your singular entry function'''# your code hereif__name__=='__main__':run()Run the file using scroll on bashscrollmain.pyHow about some guidelines?There should be only one main entry function in your codeTo-Doadd creating of url with class name / func name ancored on itadd creating of SCROLL.md that has scroll of all functionsContributingTo get started contributing, visit theCONTRIBUTING GUIDEContributors and acknowledgmentEdison AbahuriresimicodeSimilar Libraries that do Runtime-Introspection:pythoscopefor Auto unit-test generationaugerfor Auto Unit-test generationMonkeyTypefor Auto Type hinting /  Annotationhypothesisfor Auto test-case generationLicenseMITCreditsMonkeyType: When I got this idea, My first option was to just plagiarise their code ;)
I also learned a lot from issue-conversations with@carljm.Flitwhich this wonderful library is packaged with.