Saravanan666/pypi-org huggingface dataset:
Package: setuptools_subversion
Subversion support for setuptoolsSetuptools has built-in support for subversion repositories; it’ll find all
files tracked by subversion and include them when building a distribution.However, this support directly reads the private subversion repository
metadata files, and these have been know to change from version to version.
For example, subversion 1.7 switched to one top-level.svndirectory with
a sqlite database, instead of separate directories throughout the working
copy with proprietary or XML text files in preceding versions. As of the time
of this package development, setuptools does not yet support working copies
using the subversion 1.7 sqlite database format.This package uses thesvn listcommand instead to list files in a repository,
avoiding having to know about every version of subversion and it’s particular
metadata formats.Note that when using setuptools on a subversion 1.7 working copy, setuptools
itself will complain about not being able to parse the.svn/entriesfile
before it delegates file listing to this plugin. This is just a warning, and
can safely be ignored.RequirementsPython 2.4 or newer (including python 3.x)Thesvncommand line tool. Any version will do.DevelopmentThe project code is hosted onGitHub, feel free to report issues,
fork the code and issue pull requests.LicenseBSD (simplified), see: LICENSE.txtAuthorMartijn Pieters <mj@zopatista.com>Changelog3.1 (2012-10-15)Re-introduce NFC normalization when using Python 3.
[mj]3.0 (2012-10-12)Usesvn infoto avoid a round-trip to the server, and use a SAX
parser to read the svn XML output instead of a regular expression.
Thanks to Matt Good for thesvn infopointer.
[mj]2.1 (2012-08-08)Do not rely on sys.stdout.encoding, use locale.getpreferredencoding()
instead; when used as a pipe no encoding is set otherwise.
[stefan]2.0 (2012-08-04)Don’t log an error when the target directory is not a Subversion sandbox.
[stefan]Return Unicode strings under Python 3.
[stefan]1.8 (2012-07-11)Fixed compatibility with Python 2.4 once more.
[mj]1.7 (2012-07-11)Fix issue #3: svn ls on Windows may return slashes.
[stefan]1.6 (2011-11-09)Fixed compatibility with Python 3.
[mj]1.5 (2011-11-09)Fixed compatibility with Python 2.4.
[maurits]1.4 (2011-11-02)Return only files, not directories.
[stefan]1.3 (2011-10-19)Metadata and minor documentation updates.
[mj]Improve logging output when the svn command fails; lowering it to INFO
level and prepending the module name.
[mj]1.2 (2011-10-19)Compatibility with python versions 2.4 and 2.5 (thanks to Maurits van Rees)
as well as python 3.
[mj]Documentation updates.
[mj]1.1 (2011-10-17)Packaging metadata update.1.0 (2011-10-17)Initial release.
Package: setuptools-svn
Subversion support for Setuptoolssetuptools_svnimplements the file finder hook for Setuptools according to
theSetuptools documentation.This package is for use by package authors when distributing their
Subversion-hosted project.UsageAdd the following to your setup.py invocation ofsetuptools.setup():setup(
    ...
    setup_requires=['setuptools_svn'],
)
Package: setuptools-template
$package_name="setuptools_template"mkdir$package_name/src/$package_nameecho"">$package_name/src/$package_name/__init__.pyecho"">$package_name/src/$package_name/__main__.pyecho"">$package_name/src/$package_name/_version.pyecho"">$package_name/src/$package_name/main.pymkdirtestsecho"">tests/__init__.pyecho"">tests/test_main.pyecho".venv/">$package_name/.gitignoreecho"venv/">>$package_name/.gitignoreecho"dist/">>$package_name/.gitignoreecho"build/">>$package_name/.gitignoreecho"*_cache/">>$package_name/.gitignoreecho"__pycache__/">>$package_name/.gitignoreecho"*.egg-info/">>$package_name/.gitignorecd$package_namegitinitgitadd.gitcommit-m"feat: init project"gittag-av0.1.0-m"Version 0.1.0"python-mvenv.venv❯python-mpiplistPackageVersion--------------pip23.2.1python-mpipinstall--upgradepipbuildsetuptoolssetuptools_scmwheeltwinepython-mpiplistpython-mpipfreeze>requirements-dev.txtcatrequirements-dev.txtnew_setup-py_commandhttps://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
Package: setuptools_trial
AboutThis is a plugin for setuptools that integrates Twisted trial.  Once
installed, “python ./setup.py trial” will run the package’s unit tests
using Twisted trial.  The package can also optionally be configured so
that “python ./setup.py test” will use Twisted trial instead of pyunit
a.k.a. unittest.InstallationWithpip:pipinstallsetuptools_trialor witheasy_install:easy_installsetuptools_trialAlternative manual installation:tar-zxvfsetuptools_trial-X.Y.Z.tar.gzcdsetuptools_trial-X.Y.Zpythonsetup.pyinstallWhereX.Y.Zis a version number.Alternative to make a specific package use setuptools_trial without
installing setuptools_trial into the system:Putsetup_requires=['setuptools_trial']in the call tosetup()in
the package’ssetup.pyfile.UsageOnce setuptools_trial is installed (either into the system or just for
the current package), thenpython ./setup.py trialwill run trial on
the package.You can then makepython ./setup.py testuse trial instead of pyunit
(unittest) by adding the following stanza to your project’ssetup.cfg:[aliases]
test = trialSee also the output ofpython ./setup.py trial--helpfor usage
options.ReferencesTo learn more about Python modules packaging visithttps://www.pypa.io/en/latest/.Thanks to Yannick Gingras for providing the prototype for thisREADME.rst.
Package: setuptools-twine
setuptools-twineThis package addstwine_checkandtwine_uploadcommands tosetuptools. These commands are equivalent to runningtwine checkortwine upload, but always operate on the latest source distribution and wheel generated bysetup.py sdistandsetup.py bdist_wheel.Basic UsageInstall with pip:pip install setuptools-twineIf you only want to simply your workflow that currently usestwine checkortwine upload, you can invoke thesetup.pycommands manually:python setup.py twine_check
python setup.py twine_uploadNote that you no longer need to specify thedist/*files as withtwine checkortwine upload; they are determined automatically from the results of thesdistandbdist_wheelcommands.Advanced UsageIf you’re a package author or maintainer looking to automate even more, you can addsetuptools-twineas asetup_requiresdependency in your project’ssetup.cfg:[options]
setup_requires =
    setuptools-twineThen, create analiascommand to encapsulate multiplesetup.pycommands in one:[aliases]
pypi_upload = clean sdist bdist_wheel twine_check twine_uploadNow, you can build, check, and upload with a single command:python setup.py pypi_uploadRoadmapAllow passing additional options totwine_checkandtwine_uploadcommands.Allow using only source distributions or wheels, instead of both.Allow uploading other output formats in addition to source distributions and wheels.
Package: setuptools-vcs-version
setuptools-vcs-versionAutomatically sets package version from VCS. This is based ondunamaiand inspired bybetter-setuptools-git-version.IntroductionInstead of hard-coding the package version insetup.pylike:setup(name='foobar',version='1.0',...)this package allows to extract it from tags in the underlying most popular VCS
repository:setup(name='foobar',version_config={"starting_version":"0.1.0","version_style":{"style":"pep440","metadata":True,"dirty":True,},},setup_requires=['setuptools-vcs-version'],...)The tool uses thedunamaito render package version and thus supports most
popular VCS and following version styles:pep440,semver,pvp.
PEP440 is default and may be omitted.  See more aboutdunamai features.
If there are no any VCS, the version specified bystarting_versionwill be used.Note that the "v" prefix on the tag is required, unless you specify
a different tag style withpatternin theversion_config.
Package: setuptools_webdav
setuptools_webdav is a Setuptools/distribute plugin for uploading to webdav serversContentsOverviewQuickStartExample setup.pyExample .pypircExample invokationToDOOverviewThis plugins allows the upload of python packages to webdav enabled servers.The main goal of the plugin was to provide the ability to upload python packages to Maven2 repository’s (Eg. Artifactory).QuickStartIn order to use this plugin you need to addsetuptools_webdavto thesetup_requirescommand in your setup.py. This will instruct setuptools to download and use this plugin.Thesetuptools_webdavplugin provides thewebdav_uploadcommand.The webdav server that will be used for the upload, and the corresponding credentials, can be configured in your.pypircin the.Example setup.pyfrom setuptools import setup, find_packages
setup(
name="DummyProject",
version="3.1.4",
packages=find_packages(),
setup_requires=["setuptools_webdav"],
)Example .pypirc[webdav]
repository = http://example.com/pypi # mandatory
username = # Optional
password = # OptionalExample invokation$ python setup.py sdist bdist webdav_uploadToDOFix Python_WebDAV_Library loggingAdd support for gnome-keyring and kwallet.
Package: setuptools-wrapper
setuptools-wrapper (0.2.6)A simple interface to setuptools's setup function.DocumentationGeneratedBysphinx-apidoc(What'ssphinx-apidoc?)Bypydoc(What'spydoc?)Python Version SupportThis package is tested with the following Python minor versions:python3.10python3.11python3.12Platform SupportThis package is tested on the following platforms:ubuntu-latestmacos-latestwindows-latestIntroductionThat's it. I personally think there are way too many configuration options when
"packaging" software and I want to homogenize my own packages. Thus:setuptools-wrapper.Internal Dependency GraphA coarse view of the internal structure and scale ofsetuptools-wrapper's source.
Generated usingpydeps(viamk python-deps).
Package: setuptools-yaml
setuptools-yamlUseYAMLfor your project descriptionInstallInstall this modulepip install setuptools-yamlUse#!/usr/bin/env python# setup.pyfromsetuptoolsimportsetupsetup(...setup_requires=['setuptools-yaml'],metadata_yaml='project.yml',...)The plugin will read the specified file and populate the relevant metadata fields
of your distribution.See alsopbr
Package: setuptricks
setuptricksConvenience functions for your setup.py.InstallationFrom pip:$pipinstallsetuptricksUsageBefore calling setuptools’ setup:fromsetuptoolsimportsetupimportsetuptrickss=setuptricks.Package("name_of_package")s.before_setup()setup(name=s.package,version=s.version,description=s.description,...)See for example this packages setup.py.Thebefore_setup()allows you to run:$pythonsetup.pypublish$pythonsetup.pytagAs discussed inpydanny’s
blogand as used
indjango-rest-framework.
Package: setuz
pipinstallsetuzfromsetuzimportSetUzsetuz=SetUz('token')# page default = 1# page_size default = 25# last_tm default = 0# get brandbrand=setuz.get_brand(page=1,page_size=25,last_tm=0)brand_result="BrandListSchema(count=6, next=None, prev=None, results=[BrandSchema(id=122, name='CocaCola', tm=1)])"print(brand.results[0].name)# CocaColaprint(brand.count)# 6# get measurementmeasurement=setuz.get_measurement()measurement_result="MeasurementListSchema(count=4, next=None, prev=None, results=[MeasurementSchema(id=4, name='РЁС‚СѓРєР°', short_name='С€С‚', tm=1)])"print(measurement.results[0].name)# РЁС‚СѓРєР°print(measurement.count)# 4# get orderorder=setuz.get_order()order_result="OrderListSchema(count=1, next=None, prev=None, results=[OrderSchema(id=1, tm=123456, total_price=700000.0, status='pending', order_products=[OrderProductSchema(id=1, total_price=600000.0, quantity=12, product=Product(provider_product_id=1, name='Test product'))], created_date=datetime.datetime(2021, 4, 26, 4, 28, 55, 656147))])"print(order.count)# 1print(order.results[0].id)# 1# get categorysetuz.get_category()category_result=[{'id':3,'name':'Notebook','photo':{'id':173,'children':[{"id":4,"name":"Acer Nitro 5","children":[]}]}}]print(category_result[0]['name'])# Notebook# create productfromsetuz.schemes.productimportProductCreateSchema,ProductImagesSchemafile_id=setuz.upload_file('<file_path>')images=ProductImagesSchema(photo_id=file_id,is_main=True)product=ProductCreateSchema(provider_product_id=1,# product_idcategory_id=3,# category set idbrand_id=122,# brand set idmeasurement_id=4,# measurement set idname='Iphone XL 10',description='Iphone GG  WP',price=12.5,barcode='123331244',cashback=0,product_images=[images])result=setuz.create_product(product)ifresultisTrue:print('success create')else:print('error',result)# delete productresult=setuz.delete_product(1)# delete product  id = provider product idifresultisTrue:print('success delete')else:print('error',result)
Package: setvis
setvisSetvis is a python library for visualising set membership and patterns of missingness in data.It can be used both programmatically and interactively in a Jupyter notebook (via Bokeh widgets).  It operates on data using a memory efficient architecture, and supports loading data from flat files, Pandas dataframes, and directly from a Postgres database.DocumentationThe setvis documentationis hosted on Read the Docs.Installation (quick start)For the complete installation instructions, consultthe installation page of the documentation, which includes information on some extra installation options and setting up a suitable environment on several platforms.We recommend installing setvis in a python virtual environment or Conda environment.To install setvis, most users should run:pip install 'setvis[notebook]'This will include everything to run setvis in a notebook, and to run the tutorial examples that do not need a database connection.The Bokeh plots produced by setvis require the packagenotebook >= 6.4to display properly.  This will be included when installing setvis using the command above.TutorialsFor basic examples, please see the two example notebooks:Missingness exampleSet exampleAdditionally, there is a series of Tutorials notebooks, starting withTutorial 1.After installing setvis, to follow theses tutorials interactively you will need to clone or download this repository. Then start jupyter from within it:python -m jupyter notebook notebooksAcknowledgementsThe development of the setvis software was supported by funding from the Engineering and Physical Sciences Research Council (EP/N013980/1; EP/R511717/1) and the Alan Turing Institute.
Package: seu-insitu-tools
insitu-toolsA set of command line tools that find and compareIn situexpression patterns between mRNA expression images, specifically, theDrosophilaembryos.The algorithm used is described in thispaper.Some steps are taken to enhance performance, including:Coversion of Color images to grayscale, differentiating stains and embryo texture.Linear Transformation of intensity to normalize signals across images.4 orientations' comparison to determine the best score.Normalize local GMM scores using the self comparison score.Global GMM scores (mutual information scores) are calculated on the union area of the 2 embryos.Installationpip install seu-insitu-toolsUsagesDetailed descriptions of commands and their arugments are located in ourwiki.TutorialCheck out theexamplein our wiki for quick learning of the tools.
Package: seuratToAdata
Convert Seurat Obj (rds) to Scanpy obj (adata)Usage:conda enve create -f env.yaml
conda activate seuratToAdata

usage: seuratToAdata [-h] -o OUTPUT [--RNA] rds

positional arguments:
  rds                   Use - for STDIN or path for seurat obj(*.rds file)

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        Specify path to write the results (default: None)
  --RNA                 Whether is store in the RNA slot (default: False)Issues might arise:UnicodeDecodeError: 'ascii' codec can't decode byte 0xcf in position 1: ordinal not in range(128).Solved by fixing the locale:https://stackoverflow.com/questions/51026315/how-to-solve-unicodedecodeerror-in-python-3-6/51027262#51027262
Package: seurl
seurlRetrieve domain URLs from Search EnginesUsageSpecify one or several domains by stdin:$ echo gitlab.com | seurl
https://status.gitlab.com/
https://design.gitlab.com/
https://gitlab.com/piveau
https://gitlab.com/dnsmichi
...You can also combine it with other tools:$ echo gitlab.com | seurl | urld -f domain
ERROR:seurl.__main__:Captcha in Duckduckgo
status.gitlab.com
design.gitlab.com
gitlab.com
gitlab.com
about.gitlab.com
...Supported Search EnginesBingDuckduckgoEcosiaGoogle
Package: seurvalencia
Python API Seur Valencia carrier, Spain.Seur Valencia use API methods not equal than Seur (general).FeaturesServicesTest connectionGet cities by zioCreate/Send shipments to Seur ValenciaGet today deliveries (shipments) in PDFUsage ExamplesExample API in test.py fileServicesfromseur.utilsimportservicesservices()Test connectionwithAPI(username,password,debug)asseurvalencia_api:printseurvalencia_api.test_connection()Get CitieswithAPI(username,password,debug)asseurvalencia_api:printseurvalencia_api.get_city('08720')Create/send shipment to Seur ValenciawithPicking(username,password,debug)aspicking_api:data={...}reference,label,error=picking_api.create(data)Get today deliveries (shipments) in PDFwithPicking(username,password,debug)aspicking_api:pdf=picking_api.info()
Package: seutil
Python utilities for SE(+ML) research. This library stays reasonably
up-to-date with the latest Python 3, currently supporting 3.8~3.11.Mature functions:bash: running Bash command;io: loading/dumping files with serialization support, managing files;log: for easy setup logging;project: for batch processing of repositories;Incubating functions:pbar: improve tqdm’s output in emacs-shell like terminals;GitHubUtils: for mining GitHub, usingPyGitHubpackage;MiscUtils: for whatever functions that may not belong to other classes;Stream: similar to java.utils.Stream;TimeUtils: for adding time constrain on an operation;latex.*: for writing macros and tables for latex documents;Deprecated functions:BashUtils: the previous version of bash;IOUtils: the previous version of io;CliUtils: for command line argument parsing without the need to declare each argument, recommended to use jsonargparse library;LoggingUtils: the previous version of log;Full documentation can be found atreadthedocs.
Package: sev3rance-auth-templates
Alliance Auth Template Overrides used by Sev3rance AllianceSev3rance Auth TemplatesTemplate Overrides for Alliance Authpipinstallsev3rance-auth-templatesInlocal.pyright afterINSTALLED_APPS:# -7- Auth Templates - https://github.com/sev3rance/sev3rance-auth-templatesINSTALLED_APPS.insert(0,"sev3rance_auth_templates")ImportantIf you are usingAA-GDPR, the template stuff needs to beaftertheAA_GDPRentry, like this:# GDPR ComplianceINSTALLED_APPS.insert(0,"aagdpr")AVOID_CDN=True# -7- Auth Templates - https://github.com/sev3rance/sev3rance-auth-templatesINSTALLED_APPS.insert(0,"sev3rance_auth_templates")
Package: sevals
Scholar Evals (sevals)This is built onEleuther AI's LM Evaluation Harnessbut has:A simpler command-line interfaceA UI to visualize results and view model outputs (view example)InstallationpipinstallsevalsAPI KeysGo tousescholar.org/api-keysto get an API Key, then enter it into thesevalsCLI when prompted.Usagesevals<model><task>[options]ExamplesMock/Dummy model:sevalsdummygsm8kLocal model:sevals./path/to/modelgsm8kHuggingFace model:sevalsmistralai/Mistral-7B-v0.1gsm8kOpenAI API:sevalsgpt-3.5-turbogsm8kTasksFull list of tasks:sevals--list_tasksDocumentation%sevals--help
usage:sevals[-h][--model_argsMODEL_ARGS][--gen_kwargsGEN_KWARGS][--list_tasks[searchstring]][--list_projects][-pPROJECT][--num_fewshotNUM_FEWSHOT][--batch_sizeBATCH_SIZE][-o[dir/file.jsonl][DIR]][--include_pathINCLUDE_PATH][--verbose][model][tasks]positionalarguments:modelModelnamefromHuggingFaceorOpenAI,orapathtoalocalmodelthatcanbeloadedusing`transformers.AutoConfig.from_pretrained`.E.g.:-HuggingFaceModel:mistralai/Mistral-7B-v0.1-OpenAIModel:gpt-3-LocalModel:./path/to/modeltasksTogetfulllistoftasks,usethecommandsevals--list_tasks

optionalarguments:-h,--helpshowthishelpmessageandexit--model_argsMODEL_ARGSStringargumentsformodel,e.g.'dtype=float32'--gen_kwargsGEN_KWARGSStringargumentsformodelgenerationongreedy_untiltasks,e.g.`temperature=0,top_k=0,top_p=0`--list_tasks[searchstring]Listallavailabletasks,thatoptionallymatchasearchstring,andexit.--list_projectsListallprojectsyouhaveonScholar,andexit.-pPROJECT,--projectPROJECTIDofScholarprojecttostoreruns/resultsin.--num_fewshotNUM_FEWSHOTNumberofexamplesinfew-shotcontext--batch_sizeBATCH_SIZE-o[dir/file.jsonl][DIR],--output_path[dir/file.jsonl][DIR]Thepathtotheoutputfilewheretheresultmetricswillbesaved.Ifthepathisadirectory,theresultswillbesavedinthedirectory.Elsetheparentdirectorywillbeused.--include_pathINCLUDE_PATHAdditionalpathtoincludeifthereareexternaltaskstoinclude.--verboseWhethertoprintverbose/detailedlogs.
Package: sev-attest-tool
sev-attest-toolThis library generates and verifies SEV-SNP attestation reports.PythonTo build the Python package, run:sudo docker run --env MATURIN_PYPI_TOKEN=$MATURIN_PYPI_TOKEN --rm -v $(pwd):/io --entrypoint "" -it ghcr.io/pyo3/maturin bash -c 'yum install -y openssl-devel && maturin publish --compatibility manylinux2014'
Package: seven
sevenis a Python 2.6+ compatibility layer for Python 2.5. It allows you to
import Python 2.6 or 2.7 code in a 2.5 interpreter.It was mainly intended to be used on Google App Engine, before the guys at
Google added Python 2.7 support.The project development is now discontinued, but you are welcome to use it for
whatever you might need it.It is licensed under the MIT licence, except for the lib2to3 code it contains,
which in made available under the PSF licence. Those files contain individual
licence information, so check the source code for more info.Check thedocumentationfor more info.Changelog1.0.0 (2012-02-04)Documentation update.Logging can now be turned off completely.0.6   (2011-04-05)Logging and pickling can now be turned off.0.5   (2010-12-04)Initial public release.
Package: seven2one
UsageConnectInteractive with client id from your OAuth 2 provider:fromseven2oneimportTechStackclient=TechStack(host,client_id)In unattended scripts via service account:fromseven2oneimportTechStackclient=TechStack(host,client_id,service_account_name='my-serviceuser',service_account_secret='some token')LoggingBy default the Python lib writes logs to console and to the server the user connects to.Configure log levels and server endpoint by environment variables if needed:VariableDescriptionDefaultLOGLEVELSet the log level for console output'INFO'LOGLEVEL_SERVERSet the log level for logs sent to the server (Loki). Log levels are 'ERROR', 'WARNING', 'INFO' and 'DEBUG'.'ERROR'LOG_TO_SERVERDisable logging to Loki server'TRUE'LOG_SERVEROverwrite the log server endpoint if e.g. running inside the same cluster'https://{host}/logging/loki/api/v1/push'Basic read operationsclient.inventories()client.items('appartments',references=True)client.inventoryProperties('appartments')client.propertyList('appartments',references=True,dataTypes=True)Write operationsCreate inventoryproperties=[{'dataType':'DATE_TIME_OFFSET','name':'fieldDATETIMEOFFSET','nullable':True},{'dataType':'BOOLEAN','name':'fieldBOOLEAN','nullable':True}]client.createInventory('testInventory',properties)Add (basic) itemsitems=[{"fieldSTRING":"bla","fieldDECIMAL":0,"fieldLONG":0,"fieldINT":0,"fieldBOOLEAN":True,"fieldDATETIME":"2021-09-14T00:00:00.000Z","fieldDATETIMEOFFSET":"2021-09-14T00:00:00.000Z"}]addBasicItems('testInventory',items)AdvancedTo change one or more used service endpoints (e.g. for tests against custom deployments) you can overwrite them by environment variables. You have to provide complete URL's.Environment variableDescriptionExampleIDENDITYPROVIDER_URLIdentity provider base urlhttps://authentik.mytechstackDYNAMIC_OBJECTS_ENDPOINTDynO graphQL endpointhttps://run.integrationtest.s2o.dev/itest-375545a3-dynamic-objects/graphql/AUTOMATION_ENDPOINTAutomation service graphQL endpointSCHEDULE_ENDPOINTSchedule service graphQL endpointPROGRAMMING_ENDPOINTProgramming service graphQL endpointTIMESERIES_ENDPOINTTimeSeries gateway graphQL endpointLOGGING_ENDPOINTLogging reverse proxy endpointhttp://mytechstack:8123/loki/api/v1/pushAUTHORIZATION_ENDPOINTAuthorization service graphQL endpoint