Saravanan666/pypi-org huggingface dataset:
Package: sekube
It does two(and a half) things:It lists kubernetes secretsIt prints kubernetes secretsIt caches availible secrets for fast tab-completionKubeCTL is fine and dandy but when you are doing OPS and some one asks
you “we can’t get it to work, can you confirm the content of this
secret” or “could you check the certificate in this secret and see if
you can figure out what is wrong..” you have to do this little dance
withkubectl [blah]-ojson | jq-r.data[] |base64-dand it gets
quite tedious after a while. This script aims to be stupid and simple
and just simplify those steps.Further more trying to use kubectl for tab-completion can be quite a
chore due to the long response time. In order to aliviate this sekube
tries to keep a local cache of availible keys in order to make
tab-completion faster.Usage exampleentering a non-existant secret (not using tab-complete)$ sekube certi
Error: "certi" not found in "None", did you mean:
  sec-certificate-monitor in default
  certificate-controller-token in kube-system
  sec-webscale in default
  ipfs in ipfsPrinting the content of a secret to the screen$ sekube sec-certificate-monitor
============= github_token =============
coffebeef39aa0f530e231709895700911232f0c
============== sentry_dsn ==============
https://badb0xcas9ae5bd8c956a35b5c50d3e9@sentry.io/555It supports tab-completionAddeval"$(_SEKUBE_COMPLETE=bash_sourcesekube)"to your .bashrc to
enable itWhy is it called sekube? and not kube-secrets or similar ?Because I useku-<TAB>as a shortcut for kubectl waay to ofte to
want to have things interfearing with that (yes I could create an alias
forkubectl, but I wont)
Package: sekve
SEKV-ESEKV-E is a Python-based parameters extractor for the simplified EKV model, which is developed by ICLAB, EPFL. While it has been developed to serve the needs of low-power analog circuit designs. You could find the tutorial from15_minutes_to_sekve. Please seePaperfor the published technical report.InstallThe project is present onpipandconda-forge.CondaTo get the package in yourcondaenvironment:conda install -c conda-forge sekvePyPITo install the project viapip:pip install sekveGitTo clone directly the project in your local directory:git clone https://gitlab.com/moscm/sekv-e.gitAuthors and acknowledgmentHung-Chi Han, doctoral assistant in ICLAB, EPFL, Lausanne, Switzerland.Vicente Carbon, master student in ICLAB, EPFL, Lausanne, Switzerland.Christian Enz, director of ICLAB, EPFL, Lausanne, Switzerland.PaperIf you use SEKV-E in your research, please cite the paperH. -C. Han, A. D’Amico and C. Enz, "SEKV-E: Parameter Extractor of Simplified EKV I-V Model for Low-Power Analog Circuits," in IEEE Open Journal of Circuits and Systems, vol. 3, pp. 162-167, 2022, doi:10.1109/OJCAS.2022.3179046.LicenseseeLICENSE.
Package: sel
# selselis an inline field selection and table transformation tool
that aims to replacecut.pip install sel## SimpleSelecting a field from a line requires a single character:$ echo a b c d e | sel 3
cselunderstands field ranges, in python style:$ echo “a b c d e” | sel 2:4
b c d$ echo “a b c d e” | sel 2:-2
b c d$ echo “a b c d e” | sel 3:
c d e## FlexibleBy default,selsplits the input on whitespace. It can also
use a custom string or regular expression:$ cat users.csv
1241,Bob
3192,MitM
3255,Alice$ cat users.csv | sel 1 –delim ,
1241
3192
3255$ echo 1a2b3c4d | sel –regex [a-z] 2:3
2 3## Powerfulselworks well on multiline input, and can take advantage
of table headers if present. It can also produce tabular outputs.$ ps aux | sel 1 –skip-header
root
user1
user2$ ps aux | sel –align %MEM PID COMMAND
PID  COMMAND                          %MEM
2414 /opt/google/chrome/chrome        1.7
5272 /opt/sublime_text_2/sublime_text 1.6
4662 /usr/bin/python3                 1.5
2470 /opt/google/chrome/chrome        1.5
Package: sel2driver
A sample Python projectA sample project that exists as an aid to thePython Packaging User
Guide'sTutorial on Packaging and Distributing
Projects.This project does not aim to cover best practices for Python project
development as a whole. For example, it does not provide guidance or tool
recommendations for version control, documentation, or testing.The source for this project is available here.Most of the configuration for a Python project is done in thesetup.pyfile,
an example of which is included in this project. You should edit this file
accordingly to adapt this sample project to your needs.This is the README file for the project.The file should use UTF-8 encoding and can be written usingreStructuredTextormarkdownwith the appropriatekey set. It will be used to generate the project webpage on PyPI and will be
displayed as the project homepage on common code-hosting services, and should be
written for that purpose.Typical contents for this file would include an overview of the project, basic
usage examples, etc. Generally, including the project changelog in here is not a
good idea, although a simple “What's New” section for the most recent version
may be appropriate.
Package: selanneal
selannealSelanneal is a simple package for optimising multivariate selections via a figure of merit.
The optimisation is performed for all given features simultaneously by utilising the simulated annealing method.
It relies onnumbafor just-in-time compilation of the algorithm.
The procedure works on binned data, so an n-dimensional histogram needs to be provided.Currently, two modes of operation exist:edges: cut only the edges of each feature (results in "rectangular cuts")bins: select individual bins from a grid (for now limited to 2 feature dimensions)This package was written for applications in high energy physics but can apply to general problems in statistical data analysis.usageinstall withpython3 -m pip install selannealtutorial notebooks for basic usage inexamplestraining data is to be provided as numpy arrays representing the histogrammed number of signal and background eventshyper-parameters to tune the optimisation:the implemented figure of merit is
Package: selcom-apigw-client
SELCOM API ACCESS CLIENTHomepagehttps://developers.selcommobile.com/DescriptionThis is a library containing functions that aid in the accessing of selcom api. IT is made up pf 4 functions.Installationpip install selcom_apigw_clientUse# import apigwClient modulefromselcom_apigw_clientimportapigwClient# initalize a new CLient instace with values of the base url, api key and api secretclient=apigwClient.Client(baseUrl,apiKey,apiSecret)#computeHeader  a dictionary/json containing data to bes submitted#computeHeader returns a tuple with values for the following header fields:# Authorization, Timestamp, Digest, Signed-Fieldsclient.computeHeader(dictData)#postFuct takes relative path to base url and dictionary containing data to be submitted#It performs a POST request of the submitted data to the destniation url generatingg the header internally#IT returns a json containing the response to the requestclient.postFunc(path,dictData)#ggetFuct takestakes relative path to base url and dictionary containing data to be submitted#It performs a GET request adding the query to the  url and generatingg the header internally#IT returns a json containing the response to the requestclient.getFunc(path,dictData)#deletetFuct takestakes relative path to base url and dictionarycontaining data of wuery#It performs a DELETE request adding the query to the  url and generatingg the header internally#IT returns a json containing the response to the requestclient.deleteFunc(path,dictData)Example#import packagefromselcom_apigw_clientimportapigwClient# initalize a new apiAccess instace with values of the base url, api key and api secretapiKey='202cb962ac59075b964b07152d234b70'apiSecret='81dc9bdb52d04dc20036dbd8313ed055'baseUrl="http://example.com"client=apigwClient.Client(baseUrl,apiKey,apiSecret)#order dataorderDict={"vendor":"VENDORTILL","order_id":"1218d5Qb","buyer_email":"john@example.com","buyer_name":"John Joh","buyer_phone":"255082555555","amount":8000,"currency":"TZS","buyer_remarks":"None","merchant_remarks":"None","no_of_items":1}#path relatiive to base urlorderPath="/v1/checkout/create-order-minimal"#crate new orderresponse=client.postFunc(orderPath,orderDict)#get response dataprint(response)
Package: seldonian
FairML libraryAn easy to use Python Library to train and develop new Machine Learning models within some fairness constraints. This is an implementation ofthis Sciencepaper.InstallationCurrently, you can install the library only from source usingpip:pipinstallhttps://github.com/hannanabdul55/seldonian-fairness/archive/master.zipUsageUse this notebook as a reference to train a basic Logistic Regression Model.A quickstart tutorial on how to get quickly get started with developing your own model is presenthere.
Alternatively, you could use theLogisticRegressionSeldonianModelto train a Logistic Regression model with anyscipy.optimize.minimizemethod by specifying it when calling thefitmethod.
Package: seldonian-engine
EngineThis is the source code repository for a framework for creating and runningSeldonianalgorithms.InstallationTo use the latest stable version:pip install seldonian-engineTo run this code as a developer, create a virtual environment. Then install the package locally, e.g.python setup.py developorpip install -e .If you want to view the parse tree graphs using the built-in tools this library provides, installgraphvizonto your system. The Seldonian library uses a Python API for graphviz, and the API requires that graphviz be installed system-wide. This should resolve mysterious error messages like "dot" not found. "dot" is a command line program included with graphviz for rendering the graphs from code.TestingTo run the unit tests, from the command line do:pytestThis will automatically run all tests intests/.To get more introspection into the tests see thePytest documentation.VersioningThe naming of versions of this software adheres tosemantic versioning. Pre-release versions use a major version of "0", e.g. "0.0.1" is the very first pre-release version.
Package: seleccion-voluntariado-2023
Selección de voluntario para Ciencia de Datos en GECI, 2023Introducción a la kataPor favor lee la siguiente nota:Códigos de cuatro letras para las avesInstruccionesDebes crear una función que reciba el nombre común de un ave y devuelva el código de cuatro letras correspondiente.
Esperamos ver avances graduales en ciclos cortos.
Nos gustaría que la función la desarrolles con variospull requestsy que cadapull requesttenga un avance pequeño.
Por lo que te proponemos:Crea unforkdel repositoriohttps://github.com/IslasGECI/seleccion_voluntariado_${TU_NOMBRE}Cubre tu código con pruebasHaz múltiplespull requestspequeñosUsa GitHub (issuesypull requests) como el medio de comunicación principalPor favor no esperes a que la función esté terminada para someter tu primerpull request.
Recuerda que no podrás crear ningúnpull requesthasta que tengas tufork.SugerenciasCreapull requestpequeños; unpull requestde 100 líneas es demasiado grande.Se amable, explica el porqué de las cosas, respeta nuestrocódigo de
conducta, usa lenguaje simple y claro.Comunícate mucho y hazlo mediante GitHub.
Package: select26
The select26 extension is a backport of the new API functions of Python
2.6 for Python 2.3 to 2.5. It contains object oriented wrappers for epoll
(Linux 2.6) and kqueue/kevent (BSD).>>> try:
...     import select26 as select
... except ImportError:
...     import select>>> ep = select.epoll()
>>> kq = select.kqueue()This release is based upon Python svn trunk r62498.
Package: selecta
selecta - Interactively search and select entries from your bash/zsh history.This is a Python3 clone of François Fleuret's excellentselectortool.UsageJust type some characters and see which entries match your words.You can search for whole sentences by prefixing your search with a double quote.Useupanddownarrows to navigate the list.Escape/Backspaceon the result list returns to the search input.Escapeon the search input closes selecta.PressEnterto copy the selected entry to the console.CTRL+atoggles case sensitivityCTRL+rtoggles regex searchInstallationpip install selectaInstall the keyboard shortcut ALT+{key}:selecta_add_keybinding {the alt key you want to use}This will append one of the following lines to your ~/.bashrc/zshrc:bind -x '"\C-[{key}":"\selecta --bash -y <(history)"'bindkey -s "^[{key}" "selecta --zsh -y <(history)^M"Upgrade from older version to 0.2.xDelete your old keybinding from .bashrc/.zshrc and register the new version with:selecta_add_keybinding--help outputusage: selecta [-h] [-i] [-b] [-z] [-e] [-a] [-d] [-y] [--bash] [--zsh]
                   [infile]

    positional arguments:
      infile                the file which lines you want to select eg. <(history)

    optional arguments:
      -h, --help            show this help message and exit
      -i, --reverse-order   reverse the order of the lines
      -b, --remove-bash-prefix
                            remove the numeric prefix from bash history
      -z, --remove-zsh-prefix
                            remove the time prefix from zsh history
      -e, --regexp          start in regexp mode
      -a, --case-sensitive  start in case-sensitive mode
      -d, --remove-duplicates
                            remove duplicated lines
      -y, --show-matches    highlight the part of each line which matches the
                            substrings or regexp
      --bash                standard for bash history search, same as -b -i -d
      --zsh                 standard for zsh history search, same as -b -i -d
Package: select_backport
The select_backport extension is a backport of the new API functions of Python
2.7/SVN for Python 2.3 to 2.6. It contains object oriented wrappers for epoll
(Linux 2.6) and kqueue/kevent (BSD).>>> try:
...     import select_backport as select
... except ImportError:
...     import select>>> ep = select.epoll()
>>> kq = select.kqueue()This release is based upon Python svn.NOTE: I made this package because python2.5 and python2.6 lacked features
I’m using from select.kqueue and the select26 package isn’t being maintained.
Package: selected-area
Selected AreaCalculates if plot/segment intersects the selected area.Installationpipinstallselected-areaUsagefromselected_areaimportSegment,SelectedAreaarea=SelectedArea((1,2),(4,4))segment=Segment((2,1.5),(4.5,3.5))ifarea.contains(segment):print('Segment was selected.')else:print('Segment wasn\'t selected.')
Package: selectinf
This project contains software for selective inference, with emphasis on
selective inference in regression.Some key referencesA significance test for the lasso:http://arxiv.org/abs/1301.7161Tests in adaptive regression via theKac-Riceformula:http://arxiv.org/abs/1308.3020Post-selectionadaptive inference for Least Angle Regression and the Lasso:http://arxiv.org/abs/1401.3889Exactpost-selectioninference with the lasso:http://arxiv.org/abs/1311.6238Exact Post Model Selection Inference for Marginal Screening:http://arxiv.org/abs/1402.5596Installgitsubmoduleinit# travis_tools and C-softwaregitsubmoduleupdatepipinstall-rrequirements.txtpythonsetup.pyinstallPotential speedupsWe can condition on “parts” of each draw of the sampler, in
particular if we condition on the projection of the rejectionsample - centeronto direction then resampling on the ray can be
sped up for some things like LASSO. Could be some cost in power.Learning a higher dimensional function can perhaps save some time –
proper conditioning has to be checked.
Package: selection
Selection DocumenationAPI to query DOM tree of HTML/XML document.Usage Examplefrom selection import XpathSelector
from lxml.html import fromstring

html = '<div><h1>test</h1><ul id="items"><li>1</li><li>2</li></ul></div>'
sel = XpathSelector(fromstring(html))
print(sel.select('//h1')).text()
print(sel.select('//li').text_list()
print(sel.select('//ul').attr('id')InstallationRun:pip install -U selectionCommunityTelegram English chat:https://t.me/grablabTelegram Russian chat:https://t.me/grablab_ru
Package: selectionfunctions
selectionfunctionsTheselectionfunctionspackage aspires to provide a uniform interface to the selection functions of the major astronomical surveys.
This package is entirely derivative of the truly excellentdustmapspackage created by Gregory M. Green.
Theselectionfunctionspackage is a product of theCompleteness of theGaia-verse (CoG)collaboration.Supported Selection FunctionsThe currently supported selection functions are:Gaia DR2 source catalogue (cog_ii.dr2_sf, Boubert & Everall 2020, submitted)To request addition of another selection function in this package,file an issue on
GitHub, or submit a pull request.InstallationDownload the repository fromGitHuband
then run:python setup.py install --large-data-dir=/path/where/you/want/large/data/files/storedAlternatively, you can use the Python package managerpip:pip install selectionfunctionsGetting the DataTo fetch the data for the GaiaDR2 selectionfunction, run:python setup.py fetch --map-name=cog_iiYou can download the other selection functions by changing "cog_ii" to (other selection functions will be added in future).Alternatively, if you have usedpipto installselectionfunctions, then you can
configure the data directory and download the data by opening up a python
interpreter and running:>>> from selectionfunctions.config import config
>>> config['data_dir'] = '/path/where/you/want/large/data/files/stored'
>>>
>>> import selectionfunctions.cog_ii
>>> selectionfunctions.cog_ii.fetch()Querying the selection functionsSelection functions are queried using Source objects, which are a variant on theastropy.coordinates.SkyCoordobject. This means that any coordinate system supported byastropycan be
used as input. For example, we can query the Gaia DR2 selection function as follows:>>> import selectionfunctions.cog_ii as CoGII
>>> from selectionfunctions.source import Source
>>>
>>> dr2_sf = CoGII.dr2_sf()
>>>
>>> c = Source(
        '22h54m51.68s',
        '-51d11m44.19s',
        photometry={'gaia_g':16.02},
        frame='icrs')
>>> print(dr2_sf(c))Above, we have used the ICRS coordinate system (the inputs are RA and Dec). We
can use other coordinate systems, such as Galactic coordinates, and we can
provide coordinate arrays. The following example uses both features:>>> c = Source(
        [75.00000000, 130.00000000],
        [-89.00000000, 10.00000000],
        photometry={'gaia_g':[2.3,17.8]},
        frame='galactic',
        unit='deg')
>>> print(dr2_sf(c))DocumentationRead the full documentation athttp://selectionfunctions.readthedocs.io/en/latest/.CitationIf you make use of this software in a publication, please always citeGreen (2018) in The Journal of Open Source Software.You should also cite the papers behind the selection functions you use.cog_ii.dr2_sf - Please cite Completeness of the Gaia-versePaper IandPaper II.DevelopmentDevelopment ofselectionfunctionstakes place on GitHub, athttps://github.com/gaiaverse/selectionfunctions. Any bugs, feature requests, pull requests,
or other issues can be filed there. Contributions to the software are welcome.
Package: selectionfunctiontoolbox
selectionfunctiontoolboxTheselectionfunctiontoolboxpackage provides general tools to estimate the selection functions of subsets of astronomical catalogues.
Theselectionfunctionspackage is a product of theCompleteness of theGaia-verse (CoG)collaboration.Tools in the toolboxLarge catalogues are ubiquitous throughout astronomy, but most scientific analyses are carried out on smaller samples selected from these catalogues by carefully chosen cuts on catalogued quantities. The selection function of that scientific sample - the probability that a star in the catalogue will satisfy these cuts and so make it into the sample - is thus unique to each scientific analysis. We have created a general framework that can flexibly estimate the selection function of a sample drawn from a catalogue as a function of position, magnitude and colour. Our method is unique in using the binomial likelihood and accounting for correlations in the selection function across position, magnitude and colour using Gaussian processes and one of three different bases in the spatial dimension.The tools we provide only differ in the basis they use to capture correlations in the selection function in the spatial dimension.Hammer - uses spherical harmonicsChisel - uses spherical waveletsWrench - assumes no correlationIf you have any difficulties using any of these tools,file an issue on
GitHub.InstallationDownload the repository fromGitHuband
then run:python setup.py installAlternatively, you can use the Python package managerpip:pip install selectionfunctiontoolboxExamplesThere are two papers associated with theselectionfunctiontoolboxpackage.Boubert & Everall (2021, submitted) introduce the methodology and apply it to deduce the selection function of the APOGEE DR16 red giant sample as a subset of 2MASS. All of the code needed to reproduce the plots in that paper can be found in the Examples folder.Everall & Boubert (2021, submitted) apply the methodology to deduce the selection functions of the astrometric and spectroscopic subsets of Gaia EDR3.CitationIf you make use of this software in a publication, please cite Boubert & Everall (2021, submitted) and Everall & Boubert (2021, submitted).
Package: selective-copy-files
Selective copyCopy to a specific folder, all files within a directory, that match a particular extensionInstall$pipinstallselective-copyHow to use# Import pakagefromselective_copy_filesimportselective_copy#  Save local foldersfrom_folder="c:\\user\\my_files"to_folder="c:\\user\\backup_of_my_files"extention="png"# backup folderselective_copy.Copy(from_folder,to_folder,extention)
Package: selective-linter
Selective (Swift) LinterThis is a package to be used to lint changes in .swift files usingSwiftlint Installed via Homebrew. It's meant to be used as a run script in Xcode.Installation and  DependenciesTo install swiftlint from the terminal use Homebrew:$brewinstallswiftlintTo install this Python3 package$pip3installselective_linterTo install this into an Xcode project, add the following run script build phase in project settings:Shell:/usr/bin/env bashif["${CONFIGURATION}"=="Debug"];thenifwhichselective_linter>/dev/null;thenselective_linterfifi