Saravanan666/pypi-org huggingface dataset:
Package: scrum-tools
scrum-tools===========A set of tools for batch management of Scrum infrastructure.Provides simple wrappers for mass management of:* code repositories on [Github](https://github.com);* boards and cards on [Trello](https://trello.com).Installation------------Using [PIP](https://pypi.python.org/pypi/pip):``` bashpip install scrum-tools```Usage-----Create a config file named `.scrum-settings.conf` in your `$HOME` folder. Here is a sample config file that you can use as a start:```ini[core]users_file                    = /path/to/users.csvusers_file_skip_first         = trueusers_file_delimiter          = ;users_file_escape_char        =users_schema                  = ID;Username;Name;Surname;E-Mail;Group;Github;Trellousers_schema_key_id           = IDusers_schema_key_username     = Usernameusers_schema_key_group        = Groupusers_schema_key_github       = Githubusers_schema_key_trello       = Trello[github]auth_id                       =auth_token                    =organization                  = TU-Berlin-DIMAteam_admins                   = IMPRO-3.SS14.Adminsteam_admins_group             = 0team_users                    = IMPRO-3.SS14.Usersteam_pattern                  = IMPRO-3.SS14.G%02drepo_admins                   = IMPRO-3.SS14.Adminsrepo_users                    = IMPRO-3.SS14repo_pattern                  = IMPRO-3.SS14.G%02d[trello]auth_key                      = 8cfa18b4d674cba889c466680f4d06d7auth_token                    =organization                  = impro3ss14board_admins                  = IMPRO-3.SS14.Adminsboard_pattern                 = IMPRO-3.SS14.G%02dboard_admins_group            = 0board_lists                   = Product Backlog;To Do;Doing;Done[evaltool]course_id                     = 1000group_pattern                 = IMPRO-3.SS14.G%02d```You gen then get the list of the available commans like this:```bash$ scrum-tools```In order to get access to the GitHub and Trello APIs, you need to authorize the `scrum-tools` app as an API client. Type```bash$ scrum-tools github authorize$ scrum-tools github authorize```and update the `auth_*` parameters under the `[github]` and `[trello]` sections in your `.scrum-settings.conf` file accordingly.Before issuing batch-management commands, you may want to validate the account names provided in your `users_file`:```bash$ scrum-tools github validate-users$ scrum-tools github validate-users```You can create the corresponding project structure with the following commands:```bash$ # for Github$ scrum-tools github create-teams  # creates group, users and admin teams$ scrum-tools github create-repos  # creates group, users and admin repos$ # for Trello$ scrum-tools trello create-boards # creates group boards```You can also create a Trello card accross all Trello boards like that:```bash$ scrum-tools trello create-card \>   --card-list="Backlog">   --card-name="Initialize your project!">   --card-description="Create and push an initial project structure at GitHub!"```
Package: scrutinize
scrutinizeThis is the python client for thescrutinize experimentation platform.InstallationTo install the client, use pip:pip install scrutinizeUsageOnce installed, you can publish metrics and conduct experiments using the client API.Publishing MetricsfromscrutinizeimportScrutinizeClientscrutinize=ScrutinizeClient('https://scrutinize-location')awaitscrutinize.observe(user_id='wilma_rudolph',metric='purchased_coffee',value=True,)Running an experimentfromscrutinizeimportScrutinizeClientfrommy_libraryimportcan_user_have_free_coffeescrutinize=ScrutinizeClient('https://scrutinize-location')give_free_coffee=awaitscrutinize.call(experiment_name='eng.give_user_free_coffee',user_id='wilma_rudolph',control=False,experiment=lambda:can_user_have_free_coffee('wilma_rudolph'),)
Package: scrutinizer-ocular
Uploads code coverage data toscrutinizer-ci.com.InstallationTo install the code coverage reporter, simply run:pipinstallscrutinizer-ocularIntegration with your CI serverAfter your code coverage was generated, simply run the following command:ocular--access-token"your-access-token"For closed-source projects, make sure togenerate an access token.
For open-source projects, this is not necessary and should be avoided.Customizing Locations of Coverage Data/ConfigIf your coverage data or configuration is not placed in the current working directory, you need to pass these paths
as options to the ocular command:ocular--access-token"your-access-token"--data-file"../.coverage"--config-file"../.coveragerc"
Package: scryfall-cache
scryfall-cacheScryfall Cache is a library which minimizes the number of requests made to the Scryfall API.Free software: MIT licenseDocumentation:https://scryfall-cache.readthedocs.io.Example>>> from scryfall_cache import ScryfallCache, ScryfallCacheException
>>> import os

>>> cache = ScryfallCache(application="scryfall_tests")

>>> card = cache.get_card(mtgo_id=12345)
>>> str(card)
'ScryfallCard[Phyrexian Processor @ 6875ce99-badd-44da-8e5d-509600efa1d0]'

>>> # Download the card image as a PNG.
>>> image_path = card.get_image_path("png")
>>> os.path.basename(image_path)
'6875ce99-badd-44da-8e5d-509600efa1d0.png'

>>> card_two = cache.get_card(name="Black Lotus")
>>> str(card_two)
'ScryfallCard[Black Lotus @ bd8fa327-dd41-4737-8f19-2cf5eb1f7cdd]'CreditsThis package was created withCookiecutterand thecmeister2/cookiecutter-pypackageproject template.ChangelogAll notable changes to this project will be documented in this file.The format is based onKeep a Changelog,
and this project adheres toSemantic Versioning.UnreleasedAdded0.2.2- 2019-05-28ChangedCreate a new database object when accessing a database.0.2.1- 2019-01-13ChangedFix foil MTGO lookup.0.2.0- 2019-01-13AddedAdded the ability to download images to the cache.Added the ability to query by name.0.1.1- 2019-01-09ChangedFixed docs and added an example.0.1.0- 2019-01-09AddedInitial commit.
Package: scryfallscraper
Scryfall Scraper ScriptsDo you see yourself scraping the Scryfall database often?Me, too! Here is a collection of scripts to help you with that.Note: I am not affiliated with the Scryfall Team. Follow their rules:https://scryfall.com/docs/apiThings You Can Do (right now)More to come later.Bulk Scrapinghttps://scryfall.com/docs/api/bulk-datascrape_oracle_cards()   # oracle_cards on Scryfall.
scrape_unique_artwork() # unique_artwork on Scryfall.
scrape_default_cards()  # default_cards on Scryfall.
scrape_all_cards()      # all_cards on Scryfall.
scrape_rulings()        # rulings on Scryfall.Set datahttps://scryfall.com/docs/api/setsscrape_all_sets()       # all sets
scrape_by_code()        # one set by set code
scrape_by_scryfall_id() # one set by scryfall id
scrape_by_tcgplayer_id()# one set by tcgplayer idCompressionNot a Scryfall Scrape, but nifty tools you may need.compress_dir()          # Compress a directory a bunch of .gz files
Package: scryfall-wrapper
scryfall_wrapperThe easiest way to get fresh data on every Magic TCG for your software in a simple and intuitive way.Usage/Examplesfromscryfall_wrapperimport*# Easily fetch data from scryfall with string search argssol_ring=Card("Sol Ring")# Get up to date prices with a single methodprice=sol_ring.price()# Along with support for almost any type of data scryfall hascmc=sol_ring.cmcartist=sol_ring.artistrarity=sol_ring.rarityset_code=sol_ring.set# Get data on collections of cards with one callevery_reprint=sol_ring.reprints()# Use Card_Set objects to represent a set of MTG and related datacommander_legends=Card_Set("CMR")all_cmr_cards=commander_legends.cards()## Authors-[@atharvashirke](https://www.github.com/atharvashirke)
Package: scryp
scrypt (Simple String Encyption)Simple string encyption package is written in python.scryptis used for string encryption with password.INSTALLATIONInstallation with pip$pip3installscrypEncrypt Stringencrypt()function is used for  encrypt string.encrypt("STRING","PASSWORD")function takes 2 arguments. 1st Is string for encrypt and second is password string.fromscrypimportencryptencrypted_string=encrypt('my name','AStrongPassword')print(encrypted_string)###Output5038525S5593225S1479200S5084750S4483825S5038525S4668725Decrypt Stringdecrypt()function is used for  encrypt string.decrypt("STRING","PASSWORD")function takes 2 arguments. 1st Is string for decrypt and second is password string.fromscrypimportencrypt,decryptencrypted_string=encrypt('my name','AStrongPassword')decrypted_string=decrypt(encrypted_string,'AStrongPassword')print(decrypted_string)###Outputmyname
Package: scrypter
scrypterAn encrypter.Example40387509113504109504119407395111045161094023441493410324129951111941790502111507119510108511100413295091254129950512551810841442- Key: No key3184323731963185319531793127312031923242319231783126323231943176312732333194318431863222317931893127323631793187320132333196317431943168- Key:PyPIUse with argumentsusage: scrypter [-h] [-e | -d | -g] [-k KEY] [text]

this script will encrypt/decrypt text.

positional arguments:
  text               Text to encrypt/decrypt.

optional arguments:
  -h, --help         show this help message and exit
  -e, --encrypt      do encrypting.
  -d, --decrypt      do decrypting.
  -g, --gui          show gui.
  -k KEY, --key KEY  key for encrypting/decrypting.Use on script>>>importscrypter>>>scrypter.encrypt("Hello, Python!")'4017350610750811650110951610541242416264058551012150111751110351310850911941033'>>>scrypter.encrypt("Good morning, Python!","Python")'315132323227320431433219319132353226320932213213312431533196322532273214319132313149'>>>scrypter.decrypt('4017350610750811650110951610541242416264058551012150111751110351310850911941033')'Hello, Python!'>>>scrypter.decrypt('315132323227320431433219319132353226320932213213312431533196322532273214319132313149',..."Python")'Good morning, Python!'
Package: scryptomath
scryptomath for PythonWhyIn more complex Scrypto blueprints you need to calculate your test values against which you want to compare your outputs first.
A good approach to achieve that is to calculate them on a higher level without optimisations staying close to the mathematical specification.This allows you to validate your mathematical specification more easily, including numerical precision boundaries, by investigating and resolving differences in the calculation results between the Scrypto and Python implementations.FeaturesFixed precision decimal types in PythonThis library supports you implementing your Python prototype by providing Scrypto decimal types with fixed precision math in Python:Decimal(18 decimal places)PreciseDecimal(36 decimal places)Currently the following operations are implemented (more can be added):__abs____add____sub____mul____truediv__("normal" division)__pow__(exactpowresult)sqrt()(exacts)powi()(powiimplementation Scrypto is using to match results and not identical to result of__pow__)However, use this wisely if necessary only because depending on the use case you rather want to calculate your test assertion outputs with very high precision (like 500 decimal places) in Python first. That's what we are doing by default for Ociswap and only use the fixed decimal point types if it is required to match the test values.Disclaimer: if you are using other operations than the ones above a normal Pythondecimal.Decimalwith the full precision you have specified is returned. In that case the return value is not being trimmed down to the fixed decimal places of the Scrypto decimal.Code generation for decimal constants in ScryptoCurrently, the macrosdec!andpdec!can't be used for constants in Scrypto.
To workaround that limitation we have implemented Scrypto code generation for initialising decimal constants directly in Scrypto:>>> from scryptomath import Decimal
>>> Decimal(3).powi(4).scrypto
'Decimal(I192::from_digits([7213023705161793536, 4, 0]))'Which can be directly used in your Scrypto blueprint like this:const MY_CONST: Decimal = Decimal(I192::from_digits([7213023705161793536, 4, 0]));Eventually, we assume Scrypto probably will support compile time macros fordec!andpdec!, but in the meantime this is working very well as a workaround.ContributeIf you have any requirements for additional data types just open an issue or pull request. Happy to add more :)
Package: scsampler
scSamplerOverviewscSampleris a Python pacakge for fast diversity-preserving subsampling of large-scale single-cell transcriptomic data.InstallationPlease install it from PyPI:pipinstallscsamplerQuick startFirst we load all modules.importnumpyasnpimportpandasaspdimportscanpyasscfromtimeimporttimefromscsamplerimportscsamplersc.settings.verbosity=3# verbosity: errors (0), warnings (1), info (2), hints (3)sc.logging.print_header()sc.settings.set_figure_params(dpi=80,facecolor='white')Read in dataThe example data can be downloaded fromhttps://doi.org/10.5281/zenodo.5811787in theanndataformat byscanpy. Here we use the ~68'000 PBMC cells. Please modify the path as your own path.adata = sc.read_h5ad('/home/dongyuan/scSampler/data/final_h5ad/pbmc68k.h5ad')anndata as inputSubsample 10% cells and return a new anndata. The space is top PCs.adata_sub = scsampler(adata, fraction = 0.1, copy = True)If you want to speed it up, you can use therandom_split. It will lead to slightly less optimal result, of course.start = time()
adata_sub = scsampler(adata, fraction = 0.1, obsm = 'X_pca', copy = True, random_split = 16)
end = time()
print(end - start)matrix as inputYou can also use thenumpy.ndarrayas the input.mat = adata.obsm['X_pca']
print(type(mat))
res = scsampler(mat, fraction = 0.1, copy = True, random_split = 16)
subsample_index = res[1]
subsample_mat = res[0]ContactAny questions or suggestions onscSamplerare welcomed! If you have any questions, please report it onissuesor contact Dongyuan (dongyuansong@ucla.edu).
Package: scs-analysis
scs_analysisInformation management and analysis utilities for South Coast Science data consumersDetailed information at thescs_analysis wiki.Installation:The package can be installed either by git clone, or as apypi project:pip install scs-analysisWindows 10 users may need to install the PyCurl executable for the PIP installer to run
which can be found here:https://dl.bintray.com/pycurl/pycurl/Linux users may need to install an open SSL library for the PIP installer to runsudo apt install libcurl4-openssl-dev libssl-devhttps://uoa-eresearch.github.io/eresearch-cookbook/recipe/2014/11/26/python-virtual-env/
Package: scsapi
SpeedCubeShop APIA third-party API to connect to, browse, and interact withSpeedCubeShop.This API uses BeautifulSoup and requests to sign in and web scrape the site.It is currently a work in progress, but will hopefully be finished soon.What it can doAs mentioned, the API is not finished. Here's a list of what it can do so far:Finding ProductsSearchView categoriesFind salesFind new itemsOrdersGet order historyAddressesAdd addressesDocumentationDocumentation is available on theWiki.
Package: scs-core
scs_coreThe root of all South Coast Science environmental monitoring applications.Contains library classes only.Required libraries:Third party: AWSIoTPythonSDK, pytz, tzlocalBranches:The stable branch of this repository is master. For deployment purposes, use:git clone --branch=master https://github.com/south-coast-science/scs_core.gitPython installation on LinuxHow to install Python 3.7 with SSL?How To Install the Latest Python Version on Raspberry Pi?wgethttps://www.python.org/ftp/python/3.11.3/Python-3.11.3.tgzImportError: No module named _sslscipy:as root...apt-get install --reinstall python3-aptapt install gfortranapt install libopenblas-devas scs...pip install cmakepip install openblaspip install scipyUnable to install Scipy with MKL using MesonINSTALLATIONERROR: Failed building wheel for ninja #6381Installing GFortran
Package: sc-search-gav
A simple utility for searching GAVThis project provides a utility for searching GAV(groupId artifactId and version) using hash values.InstallationIt is possible to install the tool withpip:pip install sc-search-gavConfigurationFirst, make sure /var/opt/sc directory exists, if not create this directory and make sure current user has the right
to create files in this directory.You can copydefault.ymlto /var/opt/sc/.sc-search-gav/production.yml to initialize the production configuration.The default configuration file looks like this:dev:
  # whether this program is running is development mode
  dev_mode: False

search:
  # search url
  url: "https://search.maven.org"
  # retry times
  retries: 3

# directories to be scanned for jars
scan_libs:
  - /tmp/libsDependenciessc-utilities>= 0.0.2sc-config>= 0.0.3sc-generate-hash>= 0.0.3LicenseThe script is released under the MIT License.  The MIT License is registered
with and approved by the Open Source Initiative[1].[1]https://opensource.org/licenses/MIT
Package: scseg
scseg========scseg中文分词，是基于mmseg的简单分词组件Feature========* 支持pinyin分词* 支持用户自定义词典* 支持单位合并* 支持汉字数字识别Install==========* `pip install scseg`* 通过`import scseg`来引用Algorithm==========* 采用mmseg算法进行切分* 采用规则方式支持中文数字分词功能 1)：分词`scseg.seg_text`方法==============* `scseg.seg_text`函数接受3个参数:* `text`参数为需要分词的字符* `ext_dict_words`为用户自定义的扩展字典* `use_combine`代表是否需要合并处理代码示例( 全功能分词 )#encoding=utf-8import geniusseg_list = scseg.seg_text(u'中国人民站起来了pinyin')print '\n'.join(seg_list)功能 2)：面向索引的分词==============* `scseg.seg_keywords`为面向索引的切割方式* 其作用是枚举出所有可能的切割方式* `text`参数为需要分词的字符代码示例( 全功能分词 )#encoding=utf-8import scsegseg_list = scseg.seg_keywords(u'中国人民站起来了pinyin')print '\n'.join(seg_list)
Package: scselpy
scSELpyscSELpy (Single-cellselection inPython) is a manual cell selection tool to support Scanpy-based pipelines. It calls Scanpy generated plots and allows to user to draw polygons on top of them, in order to select cells. The cells located within these drawn polygons are assigned an identity, which will be stored in the Anndata object as an observation. Cells located within multiple Polygons will have multiple identities for in the same observation, separated by a comma.InstallationPython3-7+pip install scselpyInstallation and import are fully in lower-case.BackendWhen running scSELpy on Jupyter Notebook, the backend will temprary change to an interactive backend. The default interactive backend is Qt5Agg. If you are getting this error:ImportError: Failed to import any of the following Qt binding modules: PyQt6, PySide6, PyQt5, PySide2please install PyQt5 withpip install PyQt5.If the backend does not work on your computer, try using to a different one by runningscselpy.pl.umap(adata,interactive_backend="TkAgg"). All matplotlib supported backends can be foundhere.While running scSELpy in a Python shell such as ipython the default backend is usually interactive and therefore a switch will not be conducted, however, if you are experiencing troubles, it is possible to temporary switch the interactive backend to e.g. Qt5Agg or TkAgg by using the command above.Running scSELpyIn order to get started with scSELpy, please refer to thedocumentation.
The Tutorial can also be found as a notebook on this github/folder.
Package: scsgate
This python module allows to interact with aSCSGatedevice.The module has been written to manage a SCSGate device withhome-assistant.InstallationThe scsgate module can be installed using pip:sudo pip install scsgateMonitoring the SCS busThe scsgate pip package provides a script namedscs-monitorthat has
two purposes:interactively create a configuration file for home-assistantsniff all the messages going over the SCS busCreation of a home-assistant configuration filescs-monitorcan be used to create a home-assistant configuration
file defining all the available devices.This can be done by using the--homeassistant-configflag.Once startedscs-monitorwill start sniffing all the events going
over the SCS bus. For each captured message it will extract the ID of
the relevant device and will ask the user to enter an ID for
home-assistant and the name of the device.By pressingCTRL-Cthe program will exit and generate the
home-assistant configuration file.Sniffing messagesBy defaulscs-monitorwill print all the messages going over the SCS
buffer.It’s possible to filter the messages related with a list of known
devices. This can be done using the-fflag followed by the name of
the file containing the devices to ignore. The file is a yaml document
like the one created in the previous step.It’s also possible to redirect all the output to a text file by using
the-oflag.LicenseThis code is licensed under the MIT license.
Package: scs-host-posix
scs_host_posixHost abstractions for data consumers running POSIX-compliant operating systems, including Windows 10.Contains library classes only.Required libraries:Third party (always required): AWSIoTPythonSDK, tzlocalThird party (to enable OSIO data access) paho-mqttSCS root: scs_coreBranches:The stable branch of this repository is master. For deployment purposes, use:git clone --branch=master https://github.com/south-coast-science/scs_host_posix.git
Package: scsit
Introductionscsit: A high-efficiency cell types identification tool for single-cell sequencing data from SPLiT-seqEg:Program: scsit (A high-efficiency preprocessing tool for single-cell sequencing data from SPLiT-seq)
  
  Contact: Shangqian Xie <sqianxie@foxmail.com>
    Usage: scsit [options] -r1 input_r1.fastq -r2 input_r2.fastq -p primer.list -b barcode.list -o output
    
  params:
    "   -r1 R1File        Paths to files that contain input read1 of SPLiT-seq pair-end files
    "   -r2 R2File        Paths to files that contain input read2 of SPLiT-seq pair-end files
    "   -p primerList     Primer list of all oligonucleotide sequences used
    "   -b barcodeList    The 96 well plate oligonucleotides used for each round of barcodes
    Options:
    "   -t int            Maximum number of threads to use [default:4]
    "   -o output_prefix  Paths to files that contain output file prefix [default:output]
    "   -h                show this help message and exit
Package: scsit-tools
IntroductionSCSit: A high-efficiency cell types identification tool for single-cell sequencing data from SPLiT-seqParameter descriptionAll file_path areAbsolute path, cause thread work direction may different with
file path. So path from content root is not suitable here.Eg:Program: SCSit (A high-efficiency preprocessing tool for single-cell sequencing data from SPLiT-seq)
  
  Contact: Shangqian Xie <sqianxie@foxmail.com>
    Usage: SCSit [options] -r1 input_r1.fastq -r2 input_r2.fastq -p primer.list -b barcode.list -o output
    
  params:
    "       -r1 R1File        Paths to files that contain input read1 of SPLiT-seq pair-end files
    "       -r2 R2File        Paths to files that contain input read2 of SPLiT-seq pair-end files
    "       -p primerList     Primer list of all oligonucleotide sequences used
    "       -b barcodeList    The 96 well plate oligonucleotides used for each round of barcodes
    Options:
    "       -t int            Maximum number of threads to use [default:4]
    "       -o output_prefix  Paths to files that contain output file prefix [default:output]
    "       -h                show this help message and exit