Saravanan666/pypi-org huggingface dataset:
Package: skytemple-icons
SkyTemple IconsPixelated IconsPixelated symbolic icons for SkyTemple and the SkyTemple Script Engine Debugger.These great icons were created byAviivix!Thesourcedirectory contains the original icons (designed for background color #383c4a).skytemple_iconscontains the GTK+ 3 icon resource (symbolic PNGs, taking theme colors).examplecontains some scaled icons for this README.IllustrationsAdditionally the repository contains icons illustrated byCharburst! These are also inskytemple_icons.LicenseThe icons directly stored in this Git repository are dual-licensed:GNU General Public License Version 3 (GPLv3+) - See LICENSE_GPLv3Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) - See LICENSE_CCChoose whatever license is more convenient for you.BuildingTo convert the pixelated icons insourceinto the format GTK needs (for auto-converting the colors
based on theme color) and also all the different sizes, run./convert_icons.py
Package: skytemple-randomizer
SkyTemple RandomizerRandomizer for Pokémon Mystery Dungeon Explorers of Sky.It is available for Linux, macOS and Windows.DownloadsWindows:https://projectpokemon.org/home/files/file/4235-skytemple-randomizer/MacOS:https://projectpokemon.org/home/files/file/4235-skytemple-randomizer/Linux:https://flathub.org/apps/details/org.skytemple.RandomizerFor build instructions, see theSkyTemplerepository.Source repository for the Flatpak:https://github.com/flathub/org.skytemple.Randomizer
Package: skytemple-rust
Binary rust extensions for SkyTemple.This implements a lot of file handlers for SkyTemple in Rust (prefixedst_). You can read more
about the file types in theSkyTemple Filesrepository. This is also the main
place that these file handlers are used.Additionally it has Python bindings for the following Rust crates:pmd_wanbymarius851000.PLEASE NOTE that versions 1.3.4-1.3.x are intermediate releases. The only stable thing in it are the pmd_wan bindings!Unit TestsUnit tests for thest_modules are located as Python Tests inSkyTemple Files. The reason
for this is that they are tested together with the “legacy” Python implementations. When changing
existing modules, be aware that I will run the Python tests on them before merging any Pull Requests.Pure RustThest_modules are primarily built for being used from Python. However by disabling thepythonfeature, you can also use them from a pure Rust project as a library. Some of the data types normally
provided by PyO3 (the Python binding crate) are replaced by stubs then. See theno-pythonmodule
for more information.However some things may be a bit strange when using it, compared to using “normal” Rust libraries,
due to the fact ownership expectations between Rust and Python are wildly different and the stubs
replace something that would normally be a reference increase on the Python heap with a clone in Rust.
If you run into issues with this (performance- or otherwise) please open an issue. The pure Rust version
of thest_modules is not tested.
Package: skytools
This is the low-level utility module split out from
old Skytools meta-package.  It contains various
utilities for writing database scripts.Database specific utilites are mainly meant for PostgreSQL.FeaturesSupport for background scripts
- Daemonizing
- logging
- config parsingDatabase tools
- Tuned connection
- DB structure examining
- SQL parsing
- COPY I/OTime utilities
- ISO timestamp parsing
- datetime to timestampText utilities
- Natural sort
- Fast urlencode I/OTODOMove from optparse to argparseDoc cleanup
Package: skyun
# skyun仅可用于正常学术研究以及技术搜索需要### 运行环境类unix系统、python3.6+无需安装第三方库### 使用方式安装`bash pip install skyun `服务器`bash nohup skyserver-p[本地监听端口]-P[密码] & `客户端密码必须与服务器密码一致`bash nohup skyclient-lp[本地监听端口]-rp[服务器端口]-rh[服务器地址]-P[密码] & `### 版本特性v1.1 支持UDP协议v1.0 仅支持TCP协议的代理### 协议本项目使用[MIT协议](https://github.com/thingerpig/tepig-bridge-python/blob/master/LICENSE)
Package: skywatchai
Skywatch.ai - Facial Recognition SystemSkywatch.ai is an API wrapper for powerful face detection and recognition models. It enables an efficient and clean way to use these models in your project without having to worry about the backend clusters. The focus of these project is to provide a easy-to-use package that speeds up development of lot of applications and research.UsageYou can install skywatchai usingPyPipip install skywatchaiFace Detectionimportskywatchai.SkywatchAIasskaiimg_path='test/oscar.jpg'detected=skai.detect_faces(img_path)Face Verificationimg1='test/image1.jpg'img2='test/image2.jpg'result=skai.compare(img1,img2)print('Are they same person:',result)Face RecognitionBuilding the DatabaseFor Face Recognition, you need to build the repository of people face images. You can have multiple images of same person under the directory of his name. Please refer to the below directory tree.database
├── people
|   ├── Brad Pitt
|   |   ├── image1.jpg
|   |   ├── image2.jpg
|   |   ├── ..
|   ├── Bradley Cooper
|   |   ├── image1.jpg
|   |   ├── image2.jpg
|   |   ├── ..
|   ├── Chris Hemsworth
|   |   ├── image1.jpg
|   |   ├── image2.jpg
|   |   ├── ..
|   ├── ..importskywatchai.SkywatchDBasskdb# Give face_path directing to folder containing images following the above requirementskdb.build_db(face_path='database/people/',save_path='database/')faceDB,nameMap=skdb.load_db(path='database/')Recognizing the person from Databaseannot_img=skai.find_people(img,faceDB,nameMap)DependenciesMTCNNFaceNetTensorflowKerasNumpyOpenCVAcknowledgementI am very thankful fordeepfacelibrary created bySefin Seringil. His works were very useful for me in creating this project.
Package: sky-wiremock
sky-wiremockPython HTTP client for wiremockFeaturesUsage:from sky_wiremock.sky_wiremock import Wiremock

# get a client object
w = Wiremock("localhost", 8080)


# get the list of all mappings defined
mappings = w.mappings()

# get a mapping by its id
mapping = w.mapping_by_id(id)

# get a mapping by its request path and method
mapping = w.mapping_by_url_and_method(url, method)

# add a single mapping and get back its id
id = w.add_mapping({
    "request": {
        "method": "GET",
        "url": "/some/thing"
    },
    "response": {
        "status": 200,
        "body": "Hello world!",
        "headers": {
            "Content-Type": "text/plain"
        }
    }
})

# populate wiremock with a list of mappings and
# get their ids
ids = w.populate([{
    "request": {
        "method": "GET",
        "url": "/some/thing"
    },
    "response": {
        "status": 200,
        "body": "Hello world!",
        "headers": {
            "Content-Type": "text/plain"
        }
    }
},{
    "request": {
        "method": "GET",
        "url": "/some/thing/else"
    },
        "response": {
        "status": 200,
        "body": "Hello world again!",
        "headers": {
            "Content-Type": "text/plain"
        }
    }
}])

# delete a mapping by its id
# returns the deleted mapping id or -1 in
# case of errors
id = w.delete_mapping(id)

# add a fixed delay to a mapping
delayed_id = w.fixed_delay(url, method, 10000)

# add a global fixed delay
ret = w.global_fixed_delay(300)

# add a random delay to a mapping dictionary
delayed_id = w.random_delay(
    filter={
        "method": "GET",
        "url": "/some/thing/to/delay"
    },
    delayDistribution={
        "type": "lognormal",
        "median": 80,
        "sigma": 0.4
    })

# add a global random delay
ret = w.global_random_delay({
    "type": "lognormal",
    "median": 90,
    "sigma": 0.1
})

# add a chunked dribble delay to a mapping
delayed_id = w.chunked_dribble_delay(mapping, {
    "numberOfChunks": 5,
    "totalDuration": 1000
})

# resets a list of mappings deleting all delays attached to them
# returns the list of mapping ids actually reset
ids_up = w.up([{
    "method": "GET",
    "url": "/some/thing/to/delete"
}])CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2019-02-12)First release on PyPI.
Package: skyworker-dev-electricity-price-random
Skyworker Processor: {processor_name}Template repository for the Skyworker AI ProcessorRequirementsPython >= 3.6pipvenv (recommended)UsageClone this repositoryUpdate todos insetup.pyfileUpdate todos inskyworker_processor/__init__.pyfileDefine your logic inskyworker_processor/core/processor.pymodule'sprocessfunctionThe return value ofskyworker_processor.process()function should be thepandas.DataFrameobject with following columns:measurement- Measurement Namevalue- Calculated Valueand the index of each row should be the unique timestamp.Exampleimportpandasaspdfromdatetimeimportdatetimetime_series=[{"timestamp":1628150400,"measurement":"Electricity Price","value":0.23,},{"timestamp":1628236800,"measurement":"Electricity Price","value":0.25,}]data_frame=pd.DataFrame(time_series)# Set "timestamp" column as index.data_frame.index=data_frame["timestamp"]# Compose "time" column from the "timestamp"data_frame["time"]=data_frame["timestamp"].map(datetime.fromtimestamp)deldata_frame["timestamp"]Build & PublishBuild and Publish is a part of the CI/CD pipeline, but you can publish your package manually:# Check the package.$pythonsetup.pycheck# Build the package.$pythonsetup.pysdist# Publish the package.$twineuploaddist/*ChangelogPlease seeCHANGELOGfor details.AuthorsTemuri Takalandze-Author and MaintainerLicenseCopyright © 2021Omedia.Released under theOther/Proprietary License.
Package: skyworker-dev-electricity-price-random-other
Skyworker Processor: {processor_name}Template repository for the Skyworker AI ProcessorRequirementsPython >= 3.6pipvenv (recommended)UsageClone this repositoryUpdate todos insetup.pyfileUpdate todos inskyworker_processor/__init__.pyfileDefine your logic inskyworker_processor/core/processor.pymodule'sprocessfunctionThe return value ofskyworker_processor.process()function should be thepandas.DataFrameobject with following columns:measurement- Measurement Namevalue- Calculated Valueand the index of each row should be the unique timestamp.Exampleimportpandasaspdfromdatetimeimportdatetimetime_series=[{"timestamp":1628150400,"measurement":"Electricity Price","value":0.23,},{"timestamp":1628236800,"measurement":"Electricity Price","value":0.25,}]data_frame=pd.DataFrame(time_series)# Set "timestamp" column as index.data_frame.index=data_frame["timestamp"]# Compose "time" column from the "timestamp"data_frame["time"]=data_frame["timestamp"].map(datetime.fromtimestamp)deldata_frame["timestamp"]Build & PublishBuild and Publish is a part of the CI/CD pipeline, but you can publish your package manually:# Check the package.$pythonsetup.pycheck# Build the package.$pythonsetup.pysdist# Publish the package.$twineuploaddist/*ChangelogPlease seeCHANGELOGfor details.AuthorsTemuri Takalandze-Author and MaintainerLicenseCopyright © 2021Omedia.Released under theOther/Proprietary License.
Package: skyworker-dev-petroleum-price-random
Skyworker Processor: {processor_name}Template repository for the Skyworker AI ProcessorRequirementsPython >= 3.6pipvenv (recommended)UsageClone this repositoryUpdate todos insetup.pyfileUpdate todos inskyworker_processor/__init__.pyfileDefine your logic inskyworker_processor/core/processor.pymodule'sprocessfunctionThe return value ofskyworker_processor.process()function should be thepandas.DataFrameobject with following columns:measurement- Measurement Namevalue- Calculated Valueand the index of each row should be the unique timestamp.Exampleimportpandasaspdfromdatetimeimportdatetimetime_series=[{"timestamp":1628150400,"measurement":"Electricity Price","value":0.23,},{"timestamp":1628236800,"measurement":"Electricity Price","value":0.25,}]data_frame=pd.DataFrame(time_series)# Set "timestamp" column as index.data_frame.index=data_frame["timestamp"]# Compose "time" column from the "timestamp"data_frame["time"]=data_frame["timestamp"].map(datetime.fromtimestamp)deldata_frame["timestamp"]Build & PublishBuild and Publish is a part of the CI/CD pipeline, but you can publish your package manually:# Check the package.$pythonsetup.pycheck# Build the package.$pythonsetup.pysdist# Publish the package.$twineuploaddist/*ChangelogPlease seeCHANGELOGfor details.AuthorsTemuri Takalandze-Author and MaintainerLicenseCopyright © 2021Omedia.Released under theOther/Proprietary License.
Package: skywriter
This repository contains libraries and examples for the Pimoroni Skywriter boards.Compatible with:Skywriter -https://shop.pimoroni.com/products/skywriter?variant=1047423445Skywriter HAT -https://shop.pimoroni.com/products/skywriter-hat?variant=1002848445Installing SoftwareOne-line InstallerWe've created a super-easy installation script that will install all pre-requisites and get your HAT up and running in a jiffy. To run it fire up Terminal which you'll find in Menu -> Accessories -> Terminal on your Raspberry Pi desktop like so:In the new terminal window type the following and follow the instructions:curl -sS get.pimoroni.com/skywriter | bashFrom PyPi (Stable)Installsmbus:sudo apt install python3-smbusEnable i2c:sudo raspi-config nonint do_i2c 0Install the library:python3 -m pip install skywriterFrom Source (Unstable/Latest)Installsmbus:sudo apt install python3-smbusEnable i2c:sudo raspi-config nonint do_i2c 0Install the library:git clone https://github.com/pimoroni/skywriter-hat
cd skywriter-hat/python/library
python3 setup.py installDocumentation & SupportFunction reference -http://docs.pimoroni.com/skywriter/GPIO Pinout -https://pinout.xyz/pinout/skywriter_hatGet help -http://forums.pimoroni.com/c/supportSkywriter to Pi ConnectionYou can use a full-sized Skywriter board with your Raspberry Pi and our library by mimicking the connections that the HAT users. They are as follows:SkywriterRaspberry PiGNDGNDTRFRGPIO 27RESETGPIO 17SCLGPIO 3 / SCLSDAGPIO 2 / SDAVCC3V0.0.8Fix for deprecated Thread.IsAlive()Linting & tidyup0.0.7Removed dependency upon smbusTweak to Pi version detection0.0.6Added sleep in _do_pollFixed weird reset logicRaising exception on bad firmware0.0.5Tweak to allow the odd IOError0.0.4Added repeat_rate to touch decorator0.0.3Tidying up0.0.2Many changes and fixes0.0.1Initial release
Package: sl4a_pydroid_mock_api
A Mock API for SL4A's Python Android API========================================This project provides an API to mimic the Python API provided by the `ScriptingLanguage for Android`_ project. The SL4A Android API can only be run on anactual Android device, which can make development cumbersome. This projectprovides an API very similar to the one on Android, but it is designed for useon a desktop operating system such as Linux, OSX, and Windows.The SL4A Android API is very large and allows you to interact with almostevery part of the Android operating system. For each of these features I haveto find a similar desktop feature and hook into it. Sometimes there is nothingsimilar available. Because of this, this project will likely never be able toemulate every piece of the API.I am building this project as I come across SL4A Python API features that Ineed to use. At the present time, I am not attempting to simulate the entireAPI. If you need a feature that hasn't yet been implemented, please fork thisproject, code it up, and make a pull request. Your contributions will bewelcomed... _`Scripting Language for Android`: http://code.google.com/p/android-scripting/Installation------------From your SL4A project's virtualenv: *pip install sl4a_pydroid_api*This creates an *android* module which you can import just like a regularSL4A project.Further Instructions for Text To Speech (ttsSpeak)--------------------------------------------------On OSX, it uses the built-in 'say' program. No other action is necessary. Iffor some strange reason 'say' is missing, you can also install and use`espeak`_.On Linux, you can install and use `espeak`_ or `flite`_.On Windows, you can install and use `espeak`_.If no TTS program can be found, it will default to printing the message to theconsole.Special thanks to-------- `androidhelper`_- `modern-package-template`_.. _espeak: http://espeak.sourceforge.net/.. _flite: http://www.speech.cs.cmu.edu/flite/.. _androidhelper: https://groups.google.com/forum/?fromgroups#!topic/python-for-android/a26ponFlgho.. _`modern-package-template`: http://pypi.python.org/pypi/modern-package-templateNews====0.4.1-----*Release date: 4-Oct-2012* Added espeak support to ttsSpeak for OSX, Linux, and Windows0.4---*Release date: 4-Oct-2012* Refactor of ttsSpeak due to no longer using PyTTSx* Added a Makefile for repetative tasks0.3---*Release date: 22-Jul-2012* Added code supplied by clach04:* Made pyttsx optional with a nosound fallback (echoes to output)* Added docstrings for all Android methods from androidhelper project0.2---*Release date: 16-Jul-2012** Added support for makeToast via a Tkinter window.* Added a shim module for TTS on OSX since I couldn't get PyTTSx workingoutside of the OSX system Python.0.1---*Release date: 15-Jun-2012** This initial release of the project includes a working implementation of the**ttsSpeak** method using PyTTSx. It also includes partial implementationsof the **ttsIsSpeaking** and **recognizeSpeech** functions. See theSIMULATED_FUNCTIONS.TXT file for more details.
Package: sl4ng
sl4ngThis package serves as a workflow booster for emailing, iterating, and a veritable smorgasboard of cases scattered in between.You want persistant data but Pickle and Dill ask one too many damned questions?
sl4ng.persistance.save
sl4ng.persistance.loadYou be writing generators so nice that you want to use them twice, thrice, or indefinitely? We gotchu!
sl4ng.types.regeneratorYou're on the brink of the creative breakthrough of the ages but you'll end it all in a fit of rage if you accidentally overwite your projects ever again? We gotchu!
sl4ng.files.paths.namespacerYou want to look at an object's source code but inspect.getsource makes a mess of rendering things in your REPL, or perhaps you want to jump straight into its package-folder or source-file?
sl4ng.debug.getsource
sl4ng.debug.popYou want to want to see if your iterable is the codomain of a constant function? We gotchu
sl4ng.functional.eqYou really like your dictionary, but it's got some duplicate values? We.. Got.. Chu!
sl4ng.iteration.deduplicateYou've read this far and think "Damn, son, this package looks diggity fresh, but some of those functions are deeply nested"? We gotchu
Everything is imported to init
Package: sla
Stellar LOSVD Analysis (SLA)Code for the non-parametrical recovery of stellar Line-Of-Sight Velocity Distributions (LOSVD) from galaxy spectra.Stellar LOSVD recovery from the observed galaxy spectra is equivalent to a deconvolution and can be solved as a linear inverse problem. To overcome its ill-posed nature we apply smoothing regularization. Here we present a non-parametric fitting technique and show real-world application toMaNGAspectral data cubes andlong-slit spectrumof stellar counter-rotating galaxies.More information about this technique can be found inADASS XXXI conference proceedingand inexamplesInstallationUse the package managerpipto installsla.pip install sla==1.3.3Theslapackage uses the following dependencies, which should be installed when installing through the pip manager:pip install -r requirements.txtnumpyscipymatplotlibastropylmfitvorbinpseudoslitglobPyPDF2tqdmUsageSLA usage examples are shown for stellar counter-rotating galaxy PGC 66551 (Gasymov, Katkov et al. in prep.). To run examples, first download test dataset which includes:MaNGA spectral cubelong-slit spectra.sh ./data/download.shUse case examplesExample 1Example of stellar LOSVD recovery along pseudoslit spectrum taken from MaNGA spectral cube along the major axiscd example
python3 example_MaNGA_without_template.pyExample 2LOSVD is determined from the RSS long slit spectrum using the un-broadened stellar population template (SSP PEGASE.HR), which was constructed by applying in advanceNBurstsfull spectral fitting method.cd example
python3 example_NBursts_with_template.pyExample 3The same as in the previous example, but without using NBursts output. The necessary stellar population template is selected from the model grid for given approximate SSP parameterscd example
python3 example_NBursts_without_template.pyThe resulting file fits file PDF figure will be stored in theresultfolder.AuthorsDamir Gasymov(Sternberg Astronomical Institute, Lomonosov Moscow State University)Ivan Katkov(NYU Abu Dhabi, Lomonosov Moscow State University)
Package: slac-alarm-manager
SLAC Alarm MangerA user interface for monitoring and managing alarms written in Python. It is a frontend display forNALMSand
requires a running NALMS deployment to interact with. Specifically it will consume messages from the kafka queue in order to put
together the alarm tree hierarchy, and then continue to read updates to alarm severity in order to display them in the tree
and table views.In addition to displaying data, this interface will allow users to take actions on alarms such as acknowledgments and enabling/disabling
specific alarms. These actions will be written into the kafka queue so that if multiple users have multiple copies of this
application running, each user will receive any commands run by each other user.RequirementsPython 3.6+pydmkafka-pythonqtpyA Qt Python wrapperMost requirements are listed in therequirements.txtfile, but the qt wrapper is not allowing flexibility in the choice.InstallationThis package can be installed from PyPI using the commandpip install slac-alarm-manager.Alternatively, it may also be installed from source by cloning the code from the repository, and runningpip install .from the top level slam directory.pip install -e .may also be used for to allow for easier development
on the project.Running TestsIn order to run all of the tests included with this project, a few additional test-only requirements must be installed
as included indev-requirements.txt. This test suite will also be run as part of every pull request, and whenever
a new commit is made to main.User Documentationhttps://slaclab.github.io/slac-alarm-manager/
Package: sla-calculator
SLA CalculatorInstallationpip install sla-calculatorUsageTo use this calculator, you must provide a starting time, the open time
for business, the closing time for business, the country whose holidays
you observe, and the sla time in hours.  The function will then take
into account all holidays and weekends as none working hours, and return
a pendulum object of the time the sla needs to be met by. The following
example will provide you with an SLA time 4 working hours from
12/10/2019 1:02:03 UTCfromsla_calculatorimportSLA_Calculatorsla_calc=SLA_Calculator()sla_time=sla_calc.calculate(start_time="2019-12-10T01:02:03Z",open_hour=9,close_hour=17,country_name="US",sla_in_hours=4)print(sla_time.to_iso8601_string())Locale SpecificationYou can also specify the province or state that you are in to get a more
specific set of holidays:sla_time=sla_calc.calculate(start_time="2019-12-10T01:02:03Z",open_hour=9,close_hour=17,country_name="US",sla_in_hours=4,state="CO")Or:sla_time=sla_calc.calculate(start_time="2019-12-10T01:02:03Z",open_hour=9,close_hour=17,country_name="Switzerland",sla_in_hours=4,province="Zurich")Run testsTest are written for the pytest framework. Install it with:$ poetry install pytestRun the tests with:$ poetry run pytest