Saravanan666/pypi-org huggingface dataset:
Package: sgdml
Symmetric Gradient Domain Machine Learning (sGDML)For more details visit:sgdml.orgDocumentation can be found here:docs.sgdml.orgRequirements:Python 3.7+PyTorch (>=1.8)NumPy (>=1.19)SciPy (>=1.1)Optional:ASE (>=3.16.2) (to run atomistic simulations)Getting startedStable releaseMost systems come with the default package manager for Pythonpipalready preinstalled. Installsgdmlby simply calling:$ pip install sgdmlThesgdmlcommand-line interface and the corresponding Python API can now be used from anywhere on the system.Development version(1) Clone the repository$ git clone https://github.com/stefanch/sGDML.git
$ cd sGDML...or update your existing local copy with$ git pull origin master(2) Install$ pip install -e .Using the flag--user, you can tellpipto install the package to the current users's home directory, instead of system-wide. This option might require you to update your system'sPATHvariable accordingly.Optional dependenciesSome functionality of this package relies on third-party libraries that are not installed by default. These optional dependencies (or "package extras") are specified during installation using the "square bracket syntax":$ pip install sgdml[<optional1>]Atomic Simulation Environment (ASE)If you are interested in interfacing withASEto perform atomistic simulations (seeherefor examples), use theasekeyword:$ pip install sgdml[ase]Reconstruct your first force fieldDownload one of the example datasets:$ sgdml-get dataset ethanol_dftTrain a force field model:$ sgdml all ethanol_dft.npz 200 1000 5000Query a force fieldimportnumpyasnpfromsgdml.predictimportGDMLPredictfromsgdml.utilsimportior,_=io.read_xyz('geometries/ethanol.xyz')# 9 atomsprint(r.shape)# (1,27)model=np.load('models/ethanol.npz')gdml=GDMLPredict(model)e,f=gdml.predict(r)print(e.shape)# (1,)print(f.shape)# (1,27)AuthorsStefan ChmielaJan HermannWe appreciate and welcome contributions and would like to thank the following people for participating in this project:Huziel SaucedaIgor PoltavskyLuis GálvezDanny PankninGrégory FonsecaAnton Charkin-GorbulinReferences[1] Chmiela, S., Tkatchenko, A., Sauceda, H. E., Poltavsky, I., Schütt, K. T., Müller, K.-R.,Machine Learning of Accurate Energy-conserving Molecular Force Fields.Science Advances, 3(5), e1603015 (2017)10.1126/sciadv.1603015[2] Chmiela, S., Sauceda, H. E., Müller, K.-R., Tkatchenko, A.,Towards Exact Molecular Dynamics Simulations with Machine-Learned Force Fields.Nature Communications, 9(1), 3887 (2018)10.1038/s41467-018-06169-2[3] Chmiela, S., Sauceda, H. E., Poltavsky, I., Müller, K.-R., Tkatchenko, A.,sGDML: Constructing Accurate and Data Efficient Molecular Force Fields Using Machine Learning.Computer Physics Communications, 240, 38-45 (2019)10.1016/j.cpc.2019.02.007[4] Chmiela, S., Vassilev-Galindo, V., Unke, O. T., Kabylda, A., Sauceda, H. E., Tkatchenko, A., Müller, K.-R.,Accurate Global Machine Learning Force Fields for Molecules With Hundreds of Atoms.Science Advances, 9(2), e1603015 (2023)10.1126/sciadv.adf0873
Package: sgdot
SG-DOTSGDOT is a Package created to help design and optimize the network
topology for swarm-grids. It uses satellite imagery of villages to be
electrified and enables designing and optimizing a grid with a tree-star
configuration.The grids module containes the Grid class. A grid essentially contains two
DataFrames representing the nodes and the links composing the network as well as
a set of attributes representing the price of the grid’s components.
The nodes represent houses to be connected to the grid and the links represent
wires connecting pairs of houses together. There is a price associated with
each link and node. The price of a Grid is the sum of the prices of each
nodes and links.The tools sub-package contains thegrid_optimizer, grid_visualizer, ioandplotmodules.Thegrid_optimizermodules encapsulates GridOptimizer class which contains methods for optimizing a Grid object.Thegrid_visualizermodules encapsulates GridVisualizer class which contains methods for visualise a Grid object using opencv.Theiomodule contains functions to handle files.Theplotmodule enables to display the grid object in a 2D plot as well as displaying the plot of the results of the optimizations
Package: sgdotlite
SG-DOTSGDOT is a Package created to help design and optimize the network
topology for swarm-grids. It uses satellite imagery of villages to be
electrified and enables designing and optimizing a grid with a tree-star
configuration.Thegridsmodule containes the Grid class. A grid essentially contains two
DataFrames representing the nodes and the links composing the network as well as
a set of attributes representing the price of the grid’s components.
The nodes represent houses to be connected to the grid and the links represent
wires connecting pairs of houses together. There is a price associated with
each link and node. The price of a Grid is the sum of the prices of each
nodes and links.The tools sub-package contains thegrid_optimizer, grid_visualizer, ioandplotmodules.Thegrid_optimizermodules encapsulates GridOptimizer class which contains methods for optimizing a Grid object.Theiomodule contains functions to handle files.Theplotmodule enables to display the plot of the results of the optimizations
Package: sgearnbot
~>SGEARNBOT FOR PYTHONInstallingpipinstallsgearnbotInfoYou Can Earn Money From Your Python Scripts By This Lib And Your Telegram Account, Just Make User Skip ShortLink and Get Code.Using~>Replace telegram_id with your Telegram ID from ourSGEARNBOT#import sgearnbot Library.fromsgearnbotimport*#setup your Telegram Id.sg=sgearnbot(id="telegram_id")#Get ShortLink.link=sg.get_link()iflink:print(f"Skip This Link :{link}")#wait for user to get code and print it here.code=input("write code")#check code if correct.res=sg.check_code(code)ifres:print("code is correct")else:print("code is wrong")else:print("no links available now")You Can Use default() Function To Skip Doing All That.#import sgearnbot Library.fromsgearnbotimport*#setup your Telegram Id.sg=sgearnbot(id="telegram_id")#run default() function.sg.default()#after this function put your scriptContact UsTelegram :https://t.me/hellhour
Package: sgen
Your welcome <3DescriptionSgen is a tool for generating test data structures in Python.frompprintimportpprintfromsgenimportSgen,fieldsclassPet(SGen):name=fields.String()classUser(SGen):name=fields.String()pet=fields.Nested(Pet(),required=True)defmain():datasets=list(User().positive())pprint(datasets,indent=2)if__name__=='__main__':main()# [ {'name': None, 'pet': {'name': None}},#   {'name': None, 'pet': {}},#   {'name': None, 'pet': {'name': 'fszxSnf'}},#   {'pet': {'name': None}},#   {'pet': {}},#   {'pet': {'name': 'RzGTdNzhr'}},#   {'name': 'ttr', 'pet': {'name': None}},#   {'name': 'ttr', 'pet': {}},#   {'name': 'ttr', 'pet': {'name': 'ZpvMOyR'}}]In short, SGen can be used to:Generating positive data structuresGenerating negative data structuresChecking the functionality of data validation at the application inputGet It Nowpip install sgenDocumentationFull documentation is available athereRequirementsPython >= 3.8Project LinksRepoDocsChangelogIssuesLicenseMITlicensed.
Package: sgenet
SGnetComprehensive Python library for spelling and grammar.Getting Startedspellygrammarc(SGnet) is a comprehensive library for performing spelling and grammar corrections.Installationpip install spellygrammarcBuild Statusin processCode Stylefrom spellygrammarc import spelly
spelly('What is your domicil city')
>>['what','is','your','domicile','city']ScreenshotsTechnology StackPython 3.5.2NumpyPandasFeaturesCode ExampleAPI ReferenceTestsHow to useContributing to sgnetAll contributions, bug reports, bug fixes, documentation improvements, enhancements and ideas are welcome.A detailed overview on how to contribute can be found in the contributing guide. There is also an overview on GitHub.If you are simply looking to start working with the sgnet codebase, navigate to the GitHub "issues" tab and start looking through interesting issues. There are a number of issues listed under Docs and good first issue where you could start out.You can also triage issues which may include reproducing bug reports, or asking for vital information such as version numbers or reproduction instructions.Or maybe through using you have an idea of your own or are looking for something in the documentation and thinking â€˜this can be improvedâ€™. You can do something about it!Feel free to ask questions on the mailing list or onSlack.CreditsAkshat GuptaLicenseBSD-3
Package: sgeparse
Simple python module for parsing the output of SGE qstat. There is only one top level function:get_jobswhich returns a list of dictionaries of currently queued (running or waiting) jobs.RequirementsThe only requirements are Python version 2.7+ or 3.3+. All code uses the standard library. The binaryqstatmust be available and in your$PATH.Example>>> from sgeparse import get_jobs
>>> jobs = get_jobs()
>>> # => {"name": "jobname", "owner": "me", ... }The user argument can be used to specify which user to query:>>> from sgeparse import get_jobs
>>> jobs = get_jobs(user='nobody')
>>> # => {"name": "jobname", "owner": "nobody", ... }Available keysjob_numberprioritynameownerstatestart_timequeuehostslots
Package: sget
SGETINSTALL WITH AND PIPpipinstallsgetINSTALL WITH GIT AND PIPgitclonegit@github.com:ONordander/sget.gitcdsget
pipinstall.QUICKSTART# Add a snippetsgetadd"grep -r sget"# Add a snippet template with <$>, will prompt for a value at <$>.sgetadd"scp sget@192.168.0.10:<$> ."# Add many snippets from a .toml filecurlhttps://raw.githubusercontent.com/ONordander/snippets/master/unix.toml-ounix.toml
sgetinstallunix.toml# Run a snippet from search promptsget# Run a snippet by namesgetrungrep_sget# Remove snippet by name (leaving the name blank will start a search prompt)sgetrmgrep_sget# List all snippets (with optional group)sgetlist-gunix# Clear all snippetssgetclearVim integrationnnoremap<expr><Leader>s":!sget cp<Space>".input("Snippet name (leave blank to search): ")."<CR>"
Package: sgex
Sketch Grammar ExplorerIntroductionSketch Grammar Explorer is an API wrapper forSketch Engine, a corpus management software useful for linguistic research. The goal is to build a flexible scaffold for any kind of programmatic work with Sketch Engine andNoSketch Engine.UPDATESGEX0.7.0+is another redesign of the package meant to facilitate enhancements. The workflow is improved and it's streamlined for adapting to SkE's updated API schema. Old methods are deprecated and unavailable in new releases.InstallationClone SGEX or install it withpip install sgex(main dependencies arepandas pyyaml aiohttp aiofiles).Get aSketch Engine API key. Be sure to reference SkE's documentation and schema:wget https://www.sketchengine.eu/apidoc/openapi.yaml -O .openapi.yamlGetting startedA quick intro on the API (examples use a local NoSketch Engine server).Most things are identical for SkE's main server, apart from using credentials and more call types being available. SGEX currently uses the Bonito API, with URLs ending in/bonito/run.cgi, not newer paths like/search/corp_info.Package modulesjob: the primary module - makes requests and manipulates datacall: classes and methods for API call typesquery: functions to generate/manipulate CQL queriesutil: utility functionsThe Job classCalls are made with thejobmodule, which can also be run as a script. TheJobclass has a few options:fromsgex.jobimportJobj=Job(# define API callsinfile:str|list|None=None,params:str|dict|list|None=None,# set server infoserver:str="local",default_servers:dict=default_servers,# supply credentialsapi_key:str|None=None,username:str|None=None,# manage cachingcache_dir:str="data",clear_cache:bool=False,# run asynchronous requeststhread:bool=False,# control request throttlingwait_dict:dict=wait_dict,# make a dry rundry_run:bool=False,# change verbosityverbose:bool=False,)j.run()See thecode repositoryfor full documentation.
Package: sgfmill
Sgfmill is a Python library for reading and writing Go game records
using Smart Game Format (SGF).It supports:loading SGF game records to make a Python object representationcreating SGF game objects from scratchsetting properties and manipulating the tree structureserialising game records to SGF dataapplying setup stones and moves to a Go board positionDownload:https://mjw.woodcraft.me.uk/sgfmill/download/sgfmill-1.1.1.tar.gzDocumentation:https://mjw.woodcraft.me.uk/sgfmill/download/sgfmill-doc-1.1.1.tar.gzOnline Documentation:https://mjw.woodcraft.me.uk/sgfmill/doc/1.1.1/Changelog:https://mjw.woodcraft.me.uk/sgfmill/doc/1.1.1/changes.htmlGithub:https://github.com/mattheww/sgfmill
Package: sgframework
Introduction to sgframeworkSecure Gateway is a concept for an Internet Protocol (IP) based in-vehicle
infotainment network, with a secure connection to the safety-critical vehicle
network. This allows the user to install infotainment apps on the infotaiment
head unit (IHU), without compromising the vehicle safety.
The concept is also useful for example in industrial applications,
where serial communication to industrial equipment must be protected,
or in general for Internet-of-things (IoT) applications.This sgframework library is a Python package intended for implementing
demonstration nodes in the suggested architecture.There are several examples available, including examples running
CAN (Controller Area Network) communication on embedded Linux boards
(for example Raspberry Pi and Beaglebone).Web resourcesFree software: BSD licenseSource code on GitHub:https://github.com/caran/SecureGatewayDocumentation:https://sgframework.readthedocs.orgPython Package Index (PyPI):https://pypi.python.org/pypi/sgframeworkFeaturesExamples use the can4python package for CAN communication.Implements Apps and Resources.Supports Python 3.3 and later.Installation and usageSee separate documentation pages.History0.2.1 - 0.2.3 (2016-10-17)Documentation dependency update for readthedocs.orgDocumentation adjustment to display nicely on PyPI.0.2.0 (2016-10-17)Improved documentationExamples included0.1.0 (2016-07-26)First release on GitHub.
Package: sgfutil
sgfutilsgfutil is a Python library (seeGithub repo) for utilizing SGF (Smart Game Format) files. It supports SGF FF4.0 syntax.Installation & DependencyInstallation:python-mpipinstallsgfutilDependency：Python >= 3.6plylibrary：This library is no longer maintained on pip. Users can visit its official Github repodabeza/plyfor the latest version.However, a stable yet a little older version (3.11) of ply is still accessible through pip installation:python -m pip install ply
Package: sgg
DescriptionThis is a simple tool for creating graphs from the terminal. It reads
files contaning two numeric columns and create a graph from it.InstallJust the usual python installation pattern (your python version should
be>= 3.8)pip3 install --user sggExamplesConsider two files:file1.txt0 500
1 550
2 600
3 650
4 700
5 750
6 800
7 850
8 900
9 950file2.txt0 2
1 4
2 8
3 16
4 32
5 64
6 128
7 256
8 512
9 1024To create a graph comparing these two files, we can use the following
command:sgg --title '$f(x) = x$ versus $f(x) = x^{2}$' -y '$f(x)$' -x '$x$' -s '-' ' --' -l '$f(x) = x$' '$f(x) = x^{2}$' -f file1.txt file2.txt -c 'darkorange' 'royalblue' --xmin 0  --dest out.pngNOTE: If you are reading this file in PyPi you will be not able to
see the png file, so go to thegithub
repository.The result are shown below :
Package: sg_helper
SGHelper: a numpy interface for the SG++ adaptive sparse grids libraryRequires the SG++ library of Dirk Pflueger, which can be found athttp://sgpp.sparsegrids.org/.This module provides a class SGHelper for easy interface with SG++ capabilities using numpy arrays.
Functions can be approximated on arbitrary cubes by providing lower and upper bounds for each argument.
The constructor for the class automatically creates a grid that is refined to a set tolerance.
The grid can then be used to evaluate the function on a numpy array of points. Each column should be one input point.
Package: sghmc
sghmc has sghmc, hmc, U, gradU#!/usr/bin/env pythonfrom sghmc import sghmc
from sghmc import hmc
from sghmc import U
from sghmc import gradUsghmc(gradU, eta, L, alpha, x, V)
hmc(U, gradU, m, dt, nstep, x, MH)
gradU(data, minibatch, beta)
U(data, beta)
Package: sgia
InstallationThe following instructions are for installing the SGIA package on a Linux/Windows/MacOS system. The following vector indexing algorithm is implemented in Python 3.6.8. The package is available on PyPI and can be installed using pip. The package is also available on GitHub.Requirementsnumpy
scipyInstallationpip install sgiaSourcehttps://pypi.org/project/sgia/UsagefromsgiaimportSGIA# Create a SGIA objectsgia=SGIA(dimensions=2)sgia.insert([1.0,2.0],"Data A")sgia.insert([3.0,4.0],"Data B")sgia.insert([5.0,6.0],"Data C")# Display the indexsgia.display()# Search for nearest neighbors to a query vectorquery=[2.0,3.0]k_neighbors=sgia.search(query,k=3)print("Nearest neighbors to query:",k_neighbors)
Package: sgid-client
sgid-client-pythonThe official Python client for sgID.Installationpipinstallsgid-clientQuick startRefer to our developer documentation for one of ourframework-specific guides, or check out thequick start.API referenceRefer to theAPI reference in our developer documentation.Supported Runtime and EnvironmentPython >=3.11For contributorsRunning testsTo run the tests locally,Install Poetry.Run the following:poetryrunpytest
Package: sgipupdate
SGIPUpdatePython CLI to update a security group with the current public IP addressFree software: MIT licenseDocumentation:https://sgipupdate.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2020-02-20)First release on PyPI.
Package: sgl2020
sgl2020Data wrapper for SGL2020 aeromagnetic survey.FeaturesAutomatic dataset file download and caching.Support multiple ways to select line data, such as selecting all lines, all lines for specific flights, line range, etc.Provide flight and sensor descriptions to help understand the structure and content of the dataset.Installation# Stablepipinstallsgl2020# Nightlypipinstallgit+https://github.com/dorian-li/sgl2020.gitUsage CasesFetch DataTypical usagefromsgl2020importSgl2020surv_d=(Sgl2020().line([1002.02,1002.20]).source(["ins_pitch","ins_roll","ins_yaw","mag_1_c","mag_5_uc","flux_b_x","flux_b_y","flux_b_z",]).take())# Dict[line, DataFrame]Select lines# The following usage can be combined with each other# Select all lines of all flight in datasetSgl2020().line(["*.*"])# Select all lines in flight 1002Sgl2020().line(["1002.*"])# Select line 1002.02Sgl2020().line(["1002.02"])# Or use floatSgl2020().line([1002.02])# Select more linesSgl2020().line([1002.02,1002.20])# Select line rangeSgl2020().line(["1002.01-1002.05"])The specificlineandsourcecan be found inSgl2020.describe()DescriptionShow all source infomationSgl2020.describe("sensor")Show infomation of flight1002Sgl2020.describe("1002")# Or use integerSgl2020.describe(1002)Show all flight infomationSgl2020.describe("flight")ThanksSincerely thank theMagNav.jlteam for their publicly available resources.DisclaimersRegarding the authorization scope of data, please strictly follow the instructions of the original repo regarding theData Sharing Agreement
Package: sglearn
sglearnPython package for featurizing sgRNAs for machine learningFree software: MIT licenseDocumentation:https://sglearn.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2020-08-06)First release on PyPI.0.1.1 (2020-08-06)Continuous integration setup0.1.2 (2020-08-07)Added functionality to featurize guides0.1.3 (2020-09-11)Added pam interaction feature0.2.0 (2021-04-13)Added PolyN featureAdded Tm guide featureRemoved return values from feature dict functionsRemove comma from Tm feature names1.0.0 (2021-06-01)Change DNA hybridization calculation to RNA/DNA hybridization for guide sequence1.1.0 (2021-06-04)Use RNA/DNA and DNA/DNA melting temperatures1.2.0 (2021-06-08)Add RNA/RNA melting temperatures1.2.1 (2021-06-08)Shrink RNA/RNA tm window for outliers1.2.2 (2021-06-25)Rename Tm RR to DG RR1.2.3 (2021-06-25)Update Travis1.2.4 (2021-07-13)Added parallelization
Package: sgm-data
Helper module for working with data from theSGM BeamlineInstallation:Using pip:pip install sgm-dataor from source:git clone https://github.lightsource.ca/arthurz/sgmdata ./sgmdata
cd sgmdata
python setup.py installUsage:First import the package, and select data to load in.importsgmdatadata=sgmdata.SGMData(["file1.hdf5","file2.hdf5","..."])This will identify the independent axis, signals and other data within the files listed.
The file load list also works withhsdsdomains.data=sgmdata.SGMData(["file1.data.sgm-hdf5.lightsource.ca","..."])Useful functions:data.scans#contains a dictionary of the identified data arrays loaded from your file listdata.interpolate(start=270,stop=2000,resolution=0.5)#bin the data in scans dictionary and interpolates missing pointsdata.mean()#average data with the same sample name, and spec command together.Working with individual scans:df=data.scans['FilePrefix'].entry1.interpolate(start=270,stop=2000,resolution=0.1)#bin data for a single scan.df2=data.scans['FilePrefix'].entry1.fit_mcas()#perform batch gaussian fitting of interpolated SDD signalPlotting (withBokeh):data.scans['FilePrefix'].entry1.plot()data.average.plot()
Package: sgml2dict
sgml2dictConvert SGML text to dictionary.APIInitiateimportsgml2dictconvert(text)parametertext: SGML textreturn: dictimportsgml2dictresult=sgml2dict.convert("<hello world/></hello>")Exampleimportjsonimportsgml2dicttext="<hello world/></hello>"data=sgml2dict.convert(text)print("Dictionary view:",data)print("JSON view:",json.dumps(data))Return:Dictionary view: {'name': 'hello', 'attributes': {'world': True}}
JSON view: {"name": "hello", "attributes": {"world": true}}Supporthttps://gitlab.com/dhbmarcos/sgml2dictLicenseMIT LicenseCopyright (c) 2023 D. H. B. Marcos. All rights reserved.
Package: sgnlp
SG-NLPMachine learning models from Singapore's natural language processing (NLP) research community.sgnlpis a Python package that allows you to easily get started on using various (NLP) models implemented using the
Pytorch and Transformers frameworks.We have an accompanyingdemo sitewhere you can interact with our models and get a
better understanding on how they work.InstallationPython >= 3.8pip install sgnlpDocumentationVisit ourdocumentationfor tutorials.LicenseCode and models from this project are released under the MIT License unless otherwise stated. If a model's code is under
a separate license, it can be found in the respective model's folder.
Package: sg-nric-validator
NRIC MY ValidatorPython NRIC Singapore validatorSimple Validator just for Singapore NRIC validationThere is only 1 function validate_nric.validate_nric  will be used to validate Singaporean NRIC , it
will return true if the Singaporeb NRIC  is input correctly.You just need call the function as the following:from sg_nric import validator


def example():
    number = "S1240535I"
    is_nric_valid = validator.validate_nric(number)

    if is_nric_valid:
        print("Is Valid")
    else:
        print("Not Valid NRIC")#TODO FeatureHTML / Javascript validation if for DjangoSG NRIC generator(Unlikely)
Package: sgp
SGPSimple gaussian process regressionInstallationpip install sgpGetting startedfromsgp.variationalimportVariationalGPasVGPimportnumpyasnpX_train=np.linspace(0,5,1000)y_train=np.sin(X_train)*X_trainmodel=VGP().fit(X_train.reshape(-1,1),y_train)X_test=np.linspace(0,10,100)y_test,std_test=model.predict(X_test.reshape(-1,1),return_std=True)