Saravanan666/pypi-org huggingface dataset:
Package: sedate
Date/time helper functions used by various Seantis packages.There are projects likeArroworDeloreanwhich provide ways to work
with timezones without having to think about it too much.Seantis doesn’t use them because wewantto reason about these things,
to ensure they are correct, and partly because of self-loathing.Adding another layer makes this reasoning harder.Run the TestsInstall tox and run it:pip install tox
toxLimit the tests to a specific python version:tox -e py37ConventionsSedate follows PEP8 as close as possible. To test for it run:tox -e lintSedate usesSemantic VersioningDevelopmentSetup your local development environment:python3.8 -m venv venv
source venv/bin/activate
pip install .[dev]
pre-commit installLicensesedate is released under GPLv2Changelog1.0.3 (2023-03-30)Fixes up packaging ofpy.typedmarker
[Daverball]1.0.2 (2022-08-10)Adds back removedweeknumberfunction
[Daverball]1.0.1 (2022-08-09)Fixes GPLv2 License Classifier insetup.cfg[Daverball]1.0.0 (2022-08-09)Fixesalign_to_weekandalign_to_monthnot behaving consistently withalign_to_dayduring DST transitions
[Daverball]Fixes DST related issues inget_date_range,dtrangeandweekrangeWith this change these functions now accept additional arguments
that determine what happens with ambiguous, non-existent times
during daylight savings transitions.
[Daverball]Adds type annotations
[Daverball]Removes support for Python 2.7 and 3.6 and below
[Daverball]Removes explicit support for Python 3.3 (might or might not work).
[href]0.3.0 (2018-02-12)Adds a weeknumber function.
[href]0.2.0 (2017-03-02)Adds the ability to iterate over custom deltas between a start and an end.
[href]Adds the ability to iterate over weeks between a start and an end.
[href]0.1.0 (2016-05-12)Adds methods to align dates to months and weeks.
[href]0.0.5 (2016-04-25)Adds a time parsing function which accepts anything from 00:00 to 24:00.
[href]0.0.4 (2015-11-18)Fixes an issue with daylight savings time andalign_date_to_day.With this change,align_date_to_dayensures that the resulting date is
in the timezone the date was aligned to, not in the timezone it originally
was in.
[href]0.0.3 (2015-08-05)Adds a function to turn date-ish objects into datetimes.
[href]0.0.2 (2015-08-04)Fix align_date_to_day failing with certain timezones.
[href]0.0.1 (2015-06-30)Initial Release
Package: sedcreator
sedcreatorsedcreatorhelps you to construct your spectral energy distribution
by providing tools to measure fluxes on any image. It also provides a set
of models to fit your SED with massive star formation models.
It is an open source Python package.Installationtype the following in the terminal to install:pip install sedcreatorCitationIf you use sedcreator for a project that leads to a publication, whether directly or as a dependency of another package, please include the following acknowledgment:This research made use of sedcreator (Fedriani et al. 2022).sedcreator uses multiple resources from Photutils, so please also acknowledgment their work:https://photutils.readthedocs.io/en/stable/citation.html
Package: seddy
seddyMulti-workflow SWF decider and workflow management service.Features:Start a decider on many workflowsSpecify a directed graph (aka DAG) of activity (via dependencies) tasks in the
workflowSupports coloured loggingExtensible decision-building: just subclassseddy.DecisionsBuilderRegister workflowsCustomise task inputWhatseddydoesn't do:Activity workersAnythingAWS CLIcanWorkflows listing and detailingWorkflow execution management and history detailingTag managementDomain managementActivities managementValidate workflow execution inputManage workflows definition file (seddyjust uses it)Installationpip3installseddyInstall extra packages for further functionalityColoured logging:coloredlogsYAML workflows specs file:pyyamlorruamel.yamlJSON-format logging:python-json-loggerUsageGet the CLI usageseddy-hAPI documentationpydoc3seddyDockerInstead of installingseddylocally, you can use our pre-built Docker imagedockerrun-v/path/to/workflow/file/parent:/seddy-dataseddy-h
Package: sed-ecfp
sedPredicting Bioactivities of Ligand Molecules Targeting G Protein-coupled Receptors by Merging Sparse Screening of Extended Connectivity Fingerprints and Deep Neural Nets
Accurate prediction and interpretation of ligand bioactivities are essential for virtual screening and drug discovery.
SED, was proposed to predict ligand bioactivities and to recognize key substructures associated with GPCRs through the coupling of screening for Lasso of long extended-connectivity fingerprints (ECFPs) with deep neural network training.
Package: sed_eval
sed_eval - Evaluation toolbox for Sound Event Detectionsed_eval is an open source Python toolbox which provides a standardized,
and transparent way to evaluate sound event detection systems.AuthorsToni Heittola (toni.heittola@tut.fi,GitHub,http://www.cs.tut.fi/~heittolt/)Annamaria Mesaros (annamaria.mesaros@tut.fi,http://www.cs.tut.fi/~mesaros/)DocumentationSeehttp://tut-arg.github.io/sed_evalfor manual and tutorials.Installation instructionsThe latest stable release is available on PyPI, and you can install with pip:pip install sed_evalAlternatively you can download or clone toolbox and usepipto handle dependencies:unzip sed_eval.zip
pip install -e sed_evalor:git clone https://github.com/TUT-ARG/sed_eval.git
pip install -e sed_evalDependenciesThe toolbox is tested to work with Python 2.7 and Python 3.6.numpy >= 1.7.0dcase_util >= 0.2.4CitingIf you use sed_eval in a research project, please cite the following paper:Annamaria Mesaros, Toni Heittola, and Tuomas Virtanen, “Metrics for polyphonic sound event detection”, Applied Sciences, 6(6):162, 2016 [HTML][PDF]LicenseCode released underthe MIT license.
Package: sedex
SEDEX Messagebox ManagerPurposeThis module simplifies the management of your message boxes with asynchronous data exchange viaSEDEX.You can search your inbox for specific message types or receiving times, clean up your inbox or send messages.
All this with a few simple lines of Python.This module never interferes with the SEDEX core functionality of secure data transmission but simplifies the management of in- and outbox.Installpip install sedexThat's it.VersionsVersionRelease Notes1.0.0universal package for py2 and py30.1.5optional outbox parameter0.1.4detailed documentation0.1.3filter for latest message0.1.2publication for testing0.1.1initial publicationExamplesGet startedCreate instance by specifying in- and outbox.fromsedeximportsemebomessagebox=semebo.MessageBox(inbox=r"C:\sedex\inbox",outbox=r"C:\sedex\outbox")Search for MessagesScan your inbox for messages fullfilling secified criteria.Get all messages receivedwithin the last 24h:importdatetimeformessageinmessagebox.scan_inbox(from_date=datetime.datetime.now()-datetime.timedelta(hours=24)):print(message.data_file,message.envelope.sender_id,message.envelope.message_type)Get the most recent message with message type1819:message=messagebox.scan_inbox(message_type=1819,latest=True):print(message.data_file,message.envelope.sender_id,message.envelope.message_date)Send MessagesSend the entire content of a folder:data=r"C:\delivery\ready_to_ship"transfer_id,envelope=messagebox.send_data(file_or_folder=data,recipient_id="CH1848",sender_id="Z!1819",message_type=1819)print(transfer_id,envelope.message_id,envelope.message_date)Clean-up InboxList candidates older than a week to preview cleanup:messagebox.purge_inbox(older_than_days=7,dry_run=True)
Package: sedexercises
Sed ExercisesThis TUI application includes 50+ questions meant to be solved usingGNU sed. Some exercises will require you to combinesedwith other standard commands such astac,wcandtr.Note:This application is intended to be run in a Linux-like environment. You might still be able to solve the exercises on other platforms, but I do not know if that'll work.ScreenshotGuideSeeapp_guide.mdLicenseCode snippets are licensed underMIT LICENSEExercise questions and associated files (likequestions.json) are licensed underCreative Commons Attribution-NonCommercial-ShareAlike 4.0 International License
Package: sedfitter
AboutThis is a Python port of the SED fitter fromRobitaille et al., 2007, ApJS 169
328. It replaces the
original Fortran code which can be foundhere.At this stage, it should be used cautiously as it is still beta-quality
software and may contain bugs. Please make sure that you verify your results
using an independent method if at all possible.The documentation is available athttp://sedfitter.readthedocs.orgStatus
Package: sedml
sedmlASED-MLPython reader based onpydantic.Currently supports:L1V1L1V2L1V3L1V4UsageTo parse from a string,
usesedml.loads:>>>importsedml>>>s=sedml.loads("""<sedML xmlns="http://sed-ml.org/sed-ml/level1/version4" level="1" version="4">...   <listOfSimulations>...     <uniformTimeCourse id="sim1" initialTime="0" outputStartTime="0" outputEndTime="1000" numberOfSteps="1000">...       <algorithm kisaoID="KISAO:0000019"/>...     </uniformTimeCourse>...   </listOfSimulations>...   <listOfModels>...     <model id="model1" language="urn:sedml:language:sbml.level-3.version-1" source="https://example.com/model.xml"/>...   </listOfModels>...   <listOfTasks>...     <task id="task1" modelReference="model1" simulationReference="sim1"/>...   </listOfTasks>... </sedML>... """)>>>sSEDML(level='1',version='4',models=[Model(id='model1',source='https://example.com/model.xml',language='urn:sedml:language:sbml.level-3.version-1')],simulations=[UniformTimeCourse(id='sim1',algorithm=Algorithm(kisaoID='KISAO:0000019'),initialTime=0.0,outputStartTime=0.0,outputEndTime=1000.0,numberOfSteps=1000)],tasks=[Task(id='task1',modelReference='model1',simulationReference='sim1')])To export a SED-ML model,
usesedml.dumps:>>>b=sedml.dumps(s)>>>print(b.decode())<?xmlversion='1.0'encoding='UTF-8'?><sedMLxmlns="http://sed-ml.org/sed-ml/level1/version4"level="1"version="4"><listOfModels><modelid="model1"source="https://example.com/model.xml"language="urn:sedml:language:sbml.level-3.version-1"/></listOfModels><listOfSimulations><uniformTimeCourseid="sim1"initialTime="0.0"outputStartTime="0.0"outputEndTime="1000.0"numberOfSteps="1000"><algorithmkisaoID="KISAO:0000019"/></uniformTimeCourse></listOfSimulations><listOfTasks><taskid="task1"modelReference="model1"simulationReference="sim1"/></listOfTasks></sedML>By default,
it includes the XML declaration with UTF-8 encoding,
and it is pretty-printed.
This can be customized when callingsedml.dumps.To read from or write to aos.PathLike,
usesedml.loadorsedml.dump,
respectively.Installationpip install sedmlDevelopmentWe are using pytest for testing,
and pre-commit hooks to format and lint the codebase.To easily set-up a development environment,
run the following commands:git clone https://github.com/maurosilber/sedml
cd sedml
conda env create --file environment-dev.yml
pre-commit installwhich assume you have git and conda preinstalled.
Package: sed-processor
Backend to handle photoelectron resolved datastreams.InstallationPip (for users)Create a new virtual environment using either venv, pyenv, conda, etc. See below for an example.python-mvenv.sed-venvActivate your environment:source.sed-venv/bin/activateInstallsed, distributed assed-processoron PyPI:pipinstallsed-processorThis should install all the requirements to runsedin your environment.If you intend to work with Jupyter notebooks, it is helpful to install a Jupyter kernel for your environment. This can be done, once your environment is activated, by typing:python-mipykernelinstall--user--name=sed_kernelFor ContributorsTo contribute to the development ofsed, you can follow these steps:Clone the repository:gitclonehttps://github.com/OpenCOMPES/sed.gitcdsedInstall the repository in editable mode:pipinstall-e.Now you have the development version ofsedinstalled in your local environment. Feel free to make changes and submit pull requests.Poetry (for maintainers)Prerequisites:Poetry:https://python-poetry.org/docs/Create a virtual environment by typing:poetryshellA new shell will be spawned with the new environment activated.Install the dependencies from thepyproject.tomlby typing:poetryinstall--withdev,docsIf you wish to use the virtual environment created by Poetry to work in a Jupyter notebook, you first need to install the optional notebook dependencies and then create a Jupyter kernel for that.Install the optional dependenciesipykernelandjupyter:poetryinstall-EnotebookMake sure to run the command below within your virtual environment (poetry runensures this) by typing:poetryrunipythonkernelinstall--user--name=sed_poetryThe new kernel will now be available in your Jupyter kernels list.
Package: sedpy
sedpy[sedpyis an open-source project being built as a cross-platform alternative ofsedfor easier and more flexible stream line editing across BSD and GNU systems.What is sed and what is sedpy?Thesedcommand, short for stream editor, performs editing operations on text coming from standard input or a file. sed edits line-by-line and in a non-interactive way.This means that you make all of the editing decisions as you are calling the command, and sed executes the directions automatically. This may seem confusing or unintuitive, but it is a very powerful and fast way to transform text, especially as part of a script or automated workflow.The problem withsedis that it's not purely cross-platform. Linux uses GNU-basedsedwhile macOS has the BSD version ofsed.As a result - both have quite important sytnatic and usage difference. At the same time,sedthough exteremly powerful is quite complex to use.Thesedpyproject exactly tries to solve both these problems. Thesedpyproject intially supports only stream text replacement (supports regex). The future scope of the project is huge and requires continuous feedback and support from all of you amazing folks out there!Quick InstallationThe easiest way to install sedpy is using PyPipip:pip install sedpy
       or
pip3 install sedpyInstallation using Source:Clone the repo:git clone https://github.com/mritunjaysharma394/sedpy.gitEnter thesedpydirectory:cd sedpyInstall using:pip3 install -e .This should successfully install thesedpycli package.As an alternative for Step 3, you can also use:./install.shIf./install.shfails to work, try running it after changing it's access:$ sudo chmod a+x install.shHow to use?As a sample, you can download thetest.txtfile. We can play with it to learn about it's very basic usage:The contents oftest.txtfile as of now reads:7 + 4 = 13We will usesedpycli to change the '4' to '6' without opening thetest.txtfile.Just enter below command and see the magic:sedpy "4" "6" test.txtNOTE:test.txtargument may differ according to the location where you have stored it.Now when you opentest.txt, file will now read as:7 + 6 = 13So you can observe thatsedpycan be used as:sedpy "inital string" "string to replace it" "path to the file where changes have to be made"Thank you so much for having fun with this! This is just the inital release. More major updates on the cards :tada:Stay Tuned!Your contributions are welcome and highly appreciated. All you need to begin is to go through the guidelines inCONTRIBUTING.md
Package: see
seeis an alternative todir(), for Python 2.6+ and 3.3+.It neatly summarises what you can do with an object.
Use it to inspect your code or learn new APIs.ContentsExampleDocumentationContributingExampleSay you have an object which you’d like to know more about:>>> from datetime import timedeltaTry inspecting the object withsee:>>> see(timedelta)
    isclass             +                   -
    *                   /                   //
    %                   +obj                -obj
    <                   <=                  ==
    !=                  >                   >=
    abs()               bool()              dir()
    divmod()            hash()              help()
    repr()              str()               .days
    .max                .microseconds       .min
    .resolution         .seconds            .total_seconds()Here we can discover some things about it, such as:The object is a class.You can add something to it with the+operator.It has asecondsattribute.It has atotal_secondsattribute which is a function.Compare with the output ofdir:>>> dir(timedelta)
['__abs__', '__add__', '__bool__', '__class__', '__delattr__', '
__dir__', '__divmod__', '__doc__', '__eq__', '__floordiv__', '__
format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '
__init__', '__init_subclass__', '__le__', '__lt__', '__mod__', '
__mul__', '__ne__', '__neg__', '__new__', '__pos__', '__radd__',
 '__rdivmod__', '__reduce__', '__reduce_ex__', '__repr__', '__rf
loordiv__', '__rmod__', '__rmul__', '__rsub__', '__rtruediv__',
'__setattr__', '__sizeof__', '__str__', '__sub__', '__subclassho
ok__', '__truediv__', 'days', 'max', 'microseconds', 'min', 'res
olution', 'seconds', 'total_seconds']You can filter the results ofseeusing a wildcard pattern
or a regular expression:>>> see(timedelta).filter('*sec*')
    .microseconds       .seconds            .total_seconds()

>>> see(timedelta).filter('/^d/')
    dir()       divmod()DocumentationDocumentation is available athttps://ljcooke.github.io/see/InstallationUsageStartup FileDeveloper ReferenceContributingThe source code is maintainedon GitHub.
Contributions are welcome.Change LogCode of ConductAuthorsLicense
Package: seealgo
seealgoA Python library to visualize a data structure as it changes throughout a functionOverviewWhen writing algorithms, I often find that visualizing the data structures are necessary, but it can be difficult and time-consuming to do so. The goal of the seealgo library is to allow users to visualize a given data structure as it changes in a given function.So far, the seealgo library provides visualization for the following data structures and methods:List:append(value),insert(index, value),remove(value),__setitem__(index, value)Binary Search Tree (provided as a nested dictionary):insert(child),remove(value)Set:add(value),remove(value),clear(),update(values)Dictionary (nested and non-nested):update(iterable),pop(key)InstallationThis library requires you to havegraphvizinstalled on your system using theinstructionsappropriate for your system, or by using the following command if you are on a macOS device:brew install graphvizThen, installseealgousing the following command:pip install seealgoUsing seealgo(for examples of all data structures available with seealgo, visit ourGitHub Pages!)This is an example of using the List module to visualize appending 5 to a list:fromseealgoimportListvisual_list=List()test_list=[1,2,3,4]defappend_to_list(input_list):input_list.append(5)returninput_listvisual_list.see(append_to_list,test_list)This is an example of using the Tree module to visualize adding a leaf node with value 2 to a binary search tree:fromseealgoimportTreevisual_tree=Tree()test_tree={'8':{'3':{'1':None,'6':None},'10':None}}definsert_func(init_tree):init_tree.add_child(2)returninit_treevisual_tree.see(insert_func,test_tree)
Package: seebotesttrix
This package is an automation infrastructure kit tool for GUI and API tests.
This package made by Qualitest-GroupPackage Capabilities:selenium e2e base - initiate driver, basic actions, proxy server, and moreAPI base - validation options, wrapper for API's requests [get, post, put, patch, delete]shared utilities - run tests in parallel, DB connections, JSON actions, and moreunit tests - test for every function for saving the infrastructure accuracyIn our next versions:API Protocols capabilities, schema test validation by API's requestsdevelop a mobile e2e base - initiate driver, basic actions, proxy serveradding GUI report and wrapper any function in the packagecode-less automation framework for web, mobile, and API platforms
This package is an automation infrastructure kit tool for GUI and API tests. This package made by Qualitest-GroupPackage Capabilities:
selenium e2e base - initiate driver, basic actions, proxy server, and more
API base - validation options, wrapper for API's requests [get, post, put, patch, delete]
shared utilities - run tests in parallel, DB connections, JSON actions, and more
unit tests - test for every function for saving the infrastructure accuracyIn our next versions:
API Protocols capabilities, schema test validation by API's requests
develop a mobile e2e base - initiate driver, basic actions, proxy server
adding GUI report and wrapper any function in the package
code-less automation framework for web, mobile, and API platformsExample diagram:This is an example showing the relationship between the packages.
Driver (Selenium) and Test(Pytest/Unitest) share 1 to many relationship -> 1 Driver can run multiple tests.
Package: seebuoy
Easily access real time and historical data from theNational Data Buoy Center.DOCUMENTATION.seebuoy provides an easy to use python interface to theNational Data Buoy Center. Easily access realtime data, historical data, and metadata about buoys, gliders, and ADCPs.Quick StartfromseebuoyimportNDBCndbc=NDBC()# Information on NDBC's ~1800 buoys and glidersdf_buoys=ndbc.stations()# list all available data for all buoysdf_data=ndbc.available_data()# get all data for a buoystation_id="41037"df_buoy=ndbc.get_station(station_id)See thedocumentationfor more detailed description.ExamplesIn addition to this documentation, we also provide standalone jupyter notebooks. You can see them rendered on github:North Carolina Stations: Find all buoys near North Carolina, list all available data, and pull data for a specific buoy.Historical Data: Get all historical data for the South Hatteras buoy going back to 1973.Installationpip install seebuoyOther ResourcesThe Distributed Oceanographic Data SystemsMeasurement DescriptionsNDBC File Directory
Package: seed-auth-api
Seed Auth APISeed Auth API. User and permissions store, authentication and authorization.Runningpip install-e.psql-Upostgres-c"CREATE DATABASE seed_auth;"./manage.py migrate./manage.py createsuperuser./manage.py runserver--settings=seed_auth_api.testsettingsRunning testspip install-e.pip install-rrequirements-dev.txtpy.test--ds=seed_auth_api.testsettingsauthapi
Package: seedbank
Python Seed ManagerPython programs, particularly data science applications, often need to
interact with multiple different random number generators.This package provides a unified interface to seeding them, along with
APIs for deriving additional RNG seeds in a predictable way (using NumPy
1.17's new random infrastructure) and constructing random generators.Quick StartTo get started, just use the seedbank.initialize() function to seed all available random number generators:importseedbankseedbank.initialize(65000)SeedBank will seed all of the known generators that will be available, including:Python standard randomNumPy legacy randomnumpy.randomPyTorch (withtorch.manual_seed())Numba’s NumPy randomTensorFlow (withtf.random.set_seed())cupy (withcupy.random.seed())In addition, it will initialize a root seed for constructing new-style NumPyGeneratorinstances.If SeedBank doesn’t support your RNG yet, please submit a pull request!Developing SeedBankSeedBank uses Flit for managing dependencies.  To set up in a fresh
virtual environment:python -m pip install flit
flit install --pth-file[conda-lock][] can help you set up a Conda environment (replacelinux-64with your platform):# install conda-lock in base environment
# alternatively: pip install conda-lock
conda install -c conda-forge conda-lock
# create the lock file
conda-lock -p linux-64 -f pyproject.toml
# create the environment
conda env create -n seedbank -f conda-linux-64.lockAcknowledgementsThis material is based upon work supported by the National Science Foundation
under Grant No. IIS 17-51278. Any opinions, findings, and conclusions or
recommendations expressed in this material are those of the author(s) and do not
necessarily reflect the views of the National Science Foundation.
Package: seedboxsync
SeedboxSyncProvides synchronization functions between your NAS and your seedbox:Syncs a local black hole (ie: a NAS folder) with the black hole of your seedbox.Downloads files from your seedbox to your NAS. Stores the list of downloaded files in a sqlite database, to prevent to download a second time.Also provides queries to know last torrents, last downloads, etc.Full documentationSee:https://llaumgui.github.io/seedboxsync/LicenseReleased under theGPL v2.