Saravanan666/pypi-org huggingface dataset:
Package: skykit
Sky KitEasy to use out-of-the-box satellite imagery package for Python aficionado.Addingfunto satellites coolness 😎Warning: This is still a work in progress. Please do not use in production, yet.Seriously, what is it? 🧐Sky kit is an ensemble of methods to ease satellite imagery processing, from and to developers and data scientists. Working with any satellite imagery provider, should be as easy as:from skykit.providers import <ProviderName>Install 🚀As with any python package,pipis your friend:pip install skykitUsage 🎡Quick StartThe following shows details of a tile from Sentinel-2, that includes Paris (France), from 01/03/2019 to 08/03/2019:fromdatetimeimportdatefromskykit.providersimportSentinel2sat=Sentinel2(username="xxx",password="yyy")tiles=sat.query(coordinates=(2.349014,48.864716),# Paris (FR) coordinatesdates=(date(2019,3,1),date(2019,3,8))# From march 1, 2019 to march 8, 2019)len(tiles)# returns 6tile=tiles[0]# Pick any tile you want, or filter moreprint(tile['summary'])# returns 'Date: 2019-03-02T10:50:29.024Z, Instrument: MSI, Mode: , Satellite: Sentinel-2, Size: 730.27 MB'In the previous example, thetilesvariable will include meta information of every tile returned from Sentinel-2 query.FeaturesConnecting to satellite images providersActually, Sky kit support the following ticked providers (others coming):Sentinel 1Sentinel 2Landsat 7Landsat 8ModisCbers-4AquaAll image providers are grouped intoskykit.providersmodule. Invoking a provider (like Sentinel-2) can be done like this:fromskykit.providersimportSentinel2We then need to initialize the connection with the provider. eg with Sentinel-2:sat=Sentinel2(username="xxx",password="yyy")Nota: Sentinel 1 & 2 require having credentials to connect toCopernicus Open Access Hub. Once created, insert your credentials in the code above.Todo 🔭Write a better documentation. Look for readthedocs.ioAdd providersCreate a reusable abstraction ofTile, to create a uniform use of tiles, no matter which providerEase working with tiles meta data (usually about the scene and satellite)Allow querying using a polygonAllow querying using an addressUse friendly dates (like text:"26/03/2019"), of usefrom="..."andto="..."instead ofdate=(...)Allow working on specific bands. Something like:image=tile.get('b04')# or tile.b04() ???More tests <-- ⚠ URGENTCreate a CI/CD pipeline to publishtagsinto PyPiThis list is not exhaustive.Contribution 💪Please suggest contributions using Github'sPull Requests.License 🤮Read theLICENSE.txtfile.Thanks 🙏
Package: skylab
SkylabSkylab is a text user interface (TUI) tool that displays upcoming space launches in a user-friendly way.Skylab is built using theTextualframework.InstalationTo install Skylab using pip, run the following command:$ pip install skylabUsageTo use Skylab, simply enter the following command in your terminal:$ skylabContributingHelp in testing, development, documentation and other tasks is
highly appreciated and useful to the project.To get started with developing skylab, seeCONTRIBUTING.md.AcknowledgmentsThis project makes use of theThe Space Devs APIto retrieve data about upcoming space launches. We would like to thank the creators of this API for providing this valuable service.LicenseSkylab is released under theMIT License.
Package: skylark
A micro python orm for mysql and sqlite.Sample Usage>>>frommodelsimportUser>>>user=User(name='Tom',email='tom@gmail.com')>>>user.save()# insert1>>>user.email='tom@github.com'>>>user.save()# update1>>>[user.nameforuserinUser.select()]# select[u'Tom']>>>query=User.where(name='Tom').delete()>>>query.execute()# delete1>>>user=User.create(name='Kate',email='kate@gmail.com')# another insert>>>user{'email':'kate@gmail.com','name':'Kate','id':2}>>>user.destroy()# another delete1Installation$pipinstallskylarkLinksDocumentationCode on GithubNOTICE: skylark may not be stable before version 1.0
Package: skylight
The skylight projectThis Python package implements three models that provide skylight information.1. The Prague sky modelThis model (proposed byVévoda P. et al., 2022; original C++ codehere) interpolates the skylight properties by using stored data for a range of parameters, and it does not
include data for the angle of polarisation (this is calculated by using the analytical solution).There are three available datasets that work with the Prague Sky Model, which can be downloaded form here:Google Drive with the near-infrared (SWIR) dataset(omits data in different altitudes)Google Drive with the full model(omits near infrared data)Google Drive with the hemispherical model(omits polarisation data and different altitudes)2. Analytic sky modelThis model (proposed byWilkie A. et al., 2004; andPreetham A. J. et al., 1999) includes radiance and polarisation
information.3. Uniform modelThis model provides the same information for any sky conditions and viewing directions, and it could be used as a
baseline model.InstallationYou can easily install the package by using pip as:pip install git+https://github.com/evgkanias/sky.gitAlternatively you need to clone the GitHub repository, navigate to the main directory of the project, install the dependencies and finally
the package itself. Here is an example code that installs the package:Clone this repo.mkdir ~/src
cd ~/src
git clone https://github.com/evgkanias/sky.git
cd skyInstall the required libraries.using pip :pip install -r requirements.txtusing conda :conda env create -f environment.yml
conda activate sky-envInstall the package.using pip :pip install .using conda :conda install .Note that thepipproject might be needed for the above installation.Graphical User Interface (GUI)If you prefer to use a graphical user interface for this package, there is a separate package that you can install and
use. This is named thesky-guiand it allows for interactive exploration of the
skylight properties for the different models. However, in this version, only the Prague Sky Model is supported.Report an issueIf you have any issues installing or using the package, you can report ithere.AuthorThe code is written byEvripidis Gkanias.CreditsThe original (C++) code for this model was written byPetr Vévodaet al. fromAlexander Wilkie'sgroup in Charles University, which was part of theirwide spectral range sky radiance model.CopyrightCopyright © 2022, Evripidis Gkanias; Institute of Perception,
Action and Behaviour; School of Informatics; the University of Edinburgh.
Package: skylight-gui
Graphical User Interface (GUI) for models of skylightThis (Python-based) GUI allows for interactive exploration of the skylight information provided by the different models.
The GUI is based on the one implemented byVévoda et al. (2022)for their Prague Sky Model
(original C++ codehere).
There are three available datasets that work with this model, which can be downloaded form here:Google Drive with the near-infrared (SWIR) dataset(omits data in different altitudes)Google Drive with the full model(omits near infrared data)Google Drive with the hemispherical model(omits polarisation data and different altitudes)InstallationYou can easily install the package by using pip as:pip install git+https://github.com/evgkanias/sky-gui.gitAlternatively you need to clone the GitHub repository, navigate to the main directory of the project, install the dependencies and finally
the package itself. Here is an example code that installs the package:Install theskylightpackage by using the instructions fromhere, or run:pip install skylightClone this repo.mkdir ~/src
cd ~/src
git clone https://github.com/evgkanias/sky-gui.git
cd sky-guiInstall the required libraries.using pip :pip install -r requirements.txtusing conda :conda env create -f environment.ymlInstall the package.using pip :pip install .using conda :conda install .Note that thepipproject might be needed for the above installation.Run the graphical user interface (GUI)To run the GUI, open a Python terminal and run the below.fromskylight_guiimportSkyModelGUIgui=SkyModelGUI()gui()Alternatively, go to the examples directory and run the script that opens the graphical environment.cd examples
python run_gui.pywThis will open the GUI which should look like this:By clicking the file-name filed, you can choose the dataset file, which will load automatically.
Once loaded, you can click "Render" (or choose the auto-update option) and this will print an image
of the sky radiance, sun radiance, degree of polarisation, transmittance, or angle of polarisation (depending on the
rendering mode), as shown below:By clicking the saving file-name, you can define the file-name and type of data you want to save. Theses
are:Image file (PNG or JPEG)Raw data (CSV or EXCEL)The raw data option will save the data of the chosen mode but for all the available wavelengths and the
extracted visible light (RGB).Report an issueIf you have any issues installing or using the package, you can report ithere.AuthorThe code is written byEvripidis Gkanias.CreditsThe original (C++) code for this model was written byPetr Vévodaet al. fromAlexander Wilkie'sgroup in Charles University, which was part of theirwide spectral range sky radiance model.CopyrightCopyright © 2022, Evripidis Gkanias; Institute of Perception,
Action and Behaviour; School of Informatics; the University of Edinburgh.
Package: skyline-cli
Skyline is a tool used withAtomto profile, visualize, and
debug the training performance ofPyTorchneural
networks.Note:Skyline is still under active development and should be considered a
beta product. Its usage and system requirements are subject to change
between versions. SeeVersioningfor more details.More information about Skyline, including its documentation, can be found on
theSkyline website.Installing SkylineGetting StartedVersioningLicenseAuthorsInstalling SkylineSkyline works withGPU-basedneural networks that are implemented inPyTorch.To run Skyline, you need:A system equipped with an NVIDIA GPUPyTorch 1.1.0+Python 3.6+Skyline is installed usingpipand the Atom Package Manager (apm).pipinstallskyline-cli
apminstallskylineGenerally you needbothpackages to use Skyline. However, depending on your
use case and development setup, you may only need thepippackage or you may
need to install the packages on different machines.See theinstallation
page on the websitefor detailed
installation instructions tailored to different use cases.After installing Skyline, you will be able to invoke the command line tool by
runningskylinein your shell.Getting StartedTo get started quickly, check out theGetting Started page on the Skyline
website.For more information about using Skyline, including standalone profiling and
setting up a remote project, pleasesee the Skyline
documentation.VersioningSkyline uses semantic versioning. Before the 1.0.0 release, backward
compatibility between minor versions will not be guaranteed.The Skyline command line tool and plugin useindependentversion numbers.
However, it is very likely that minor and major versions of the command line
tool and plugin will be released together (and hence share major/minor version
numbers).Generally speaking, the most recent version of the command line tool and plugin
will be compatible with each other.LicenseSkyline is open source software that is licensed under the Apache 2.0 License.
Please see theLICENSEandNOTICEfiles in this repository for more
information.Inside thesamplesdirectory, we include code samples from third party
developers that carry their own open source licenses. Please see theREADME.mdandLICENSEfiles inside those directories for more information.AuthorsSkyline was written by and is primarily maintained by Geoffrey Yu
(gxyu@cs.toronto.edu).Skyline began as a research project at theUniversity of
Torontoin collaboration withTovi
GrossmanandGennady
Pekhimenko.
Package: skyline-console
简体中文| EnglishTable of contentsInstructionsResourcesPrerequisitesLocal EnvironmentUsageDocsHow to developHow to testResourcesWikiBug TrackerPrerequisitesnode: lts/erbium (v12.*)yarn: 1.22.4 +Local EnvironmentTake CentOS as an exampleInstall nvm ( version control system for nodejs )wget-P/root/--tries=10--retry-connrefused--waitretry=60--no-dns-cache--no-cachehttps://raw.githubusercontent.com/nvm-sh/nvm/master/install.shbash/root/install.sh./root/.nvm/nvm.shInstall nodejsNODE_VERSION=erbiumnvminstall--lts=$NODE_VERSIONnvmaliasdefaultlts/$NODE_VERSIONnvmusedefaultVerify nodejs and npm versionsnode-v# v12.*.*npm-v# 6.*.*Install yarnnpminstall-gyarnInstall the project dependency under the root directory, withpackage.jsonin the same place.yarninstallAfter those steps, please just wait until the installation is
complete.UsageUnder the root directory, withpackage.jsonin the same place.yarn run mock: Use the mock interface ofrap2yarn run dev: To use the actual interface, you can copyconfig/config.yamltoconfig/local_config.yaml, and
replace theservervalue with the correct address.yarn run build: Build packages and then you can hand over the
contents of the generateddistdirectory to the back end.DocsHow to developPreparation before
developmentDirectory structureDevelop a new resource
pageBaseList
introductionBaseTabList
introductionBaseDetail
introductionBaseDetailInfo
introductionBaseStore
introductionFormAction
introductionModalAction
introductionConfirmAction
introductionStepAction
introductionFormItem
introductionAction introductionMenu introductionRoute introductionI18n introductionHow to testTwo kinds of testsDirectory structureHow to edit e2e caseE2E - Form operationE2E - Table operationE2E - Detail operationE2E - Resource
operation
Package: skylinesms
Python module for sending sms with Skylinesms----------------------------------------Installation~~~~~~~~~~~~.. code:: bashpip install skylinesmsUsage example~~~~~~~~~~~~~.. code:: pythonimport timefrom skylinesms import SkylineSmsnumber = '256700123456'message = 'Hello from Skyline!'client = SkylineSms(your_api_key)print("Sending '%s' to %s" % (message, number))response = client.send_message(number, message)message_id = response['reference']response = client.check_status(message_id)while response['delivery'] != 'Delivered':print(response['status'])time.sleep(1)response = client.check_status(message_id)print(response['status']).. note::You will need a Skyline sms account for getting your api key and secret. Visit www.skylinesms.com to get started.Using as command line script~~~~~~~~~~~~~~~~~~~~~~~~~~~~.. code:: bash./skylinesms.pyusage: skylinesms.py <application key> send <number> <message> <from_number>skylinesms.py <application key> status <message_id>skylinesms.py <application key> balance
Package: skyline-solver
Skyline SolverSkyline Solver is a Python library for solving a linear set with symmetric andskyline matrixof coefficients. It usesCholesky decompositionfor matrix factorization.InstallationUse the package managerpipto install Skyline Solver.pipinstallskyline_solverFor installation from the source:pythonsetup.pyinstallUsageThe following example has been used for usage and validation.
This is a combination ofExample 8.4and8.5ofFinite Element Proceduresby K.J. Bathe.fromskyline_solverimportskyline_solver# Skyline vector of a symmetric matrix# 1-based indexing must be usedm=[1,1,2,3,1]# The matrix initializationsk=skyline_solver(m)# The matrix is initialized with zero values by default.# However, the initial values can be set using the set method:sk.set(0.0)print("The rank is:",sk.rank)print("The number of non-zero values is:",sk.nnz)# Adding values according to 1-based indexing scheme.sk.add_value(1,1,2.0)sk.add_value(1,2,-2.0)sk.add_value(1,5,-1.0)sk.add_value(2,2,3.0)sk.add_value(2,3,-2.0)sk.add_value(3,3,5.0)sk.add_value(3,4,-3.0)sk.add_value(4,4,10.0)sk.add_value(4,5,4.0)sk.add_value(5,5,10.0)print("The matrix in the dense format is:")print(sk.to_dense())# The factorization is done inplace.sk.decompose()print("The factorized matrix in the dense format is:")print(sk.to_dense())# Constants or load vectorsf=[0,1,0,0,0]# Providing in place solutionf=sk.solve(f)print("The solution is:")print(f)print("The solution from Finite Element Procedures By K. J. Bathe (Example 8.5) is:")print([636,619,292,74,34])LicenseMIT
Package: skyllh
SkyLLH[Full documentation].The SkyLLH framework is an open-source Python3-based package licensed under the
GPLv3 license. It provides a modular framework for implementing custom
likelihood functions and executing log-likelihood ratio hypothesis tests.
The idea is to provide a class structure tied to the mathematical objects of the
likelihood functions, rather than to entire abstract likelihood models.The math formalism used in SkyLLH is described in the[math formalism document].InstallationUsing pipThe latestskyllhrelease can be installed fromPyPIrepository:pipinstallskyllhThe current development version can be installed using pip:pipinstallgit+https://github.com/icecube/skyllh.git#egg=skyllhOptionally, the editable package version with a specified reference can be
installed by:pipinstall-egit+https://github.com/icecube/skyllh.git@[ref]#egg=skyllhwhere-eis an editable flag[ref]is an optional argument containing a specific commit hash, branch name
or tagCloning from GitHubTheskyllh(and an optional privatei3skyllh) package can be
installed by cloning the GitHub repository and adding it to the Python path:importsyssys.path.insert(0,'/path/to/skyllh')sys.path.insert(0,'/path/to/i3skyllh')# optionalPublicationsSeveral publications about the SkyLLH software are available:IceCube Collaboration, C. Bellenghi, M. Karl, M. Wolf, et al. PoS ICRC2023 (2023) 1061DOIIceCube Collaboration, T. Kontrimas, M. Wolf, et al. PoS ICRC2021 (2022) 1073DOIIceCube Collaboration, M. Wolf, et al. PoS ICRC2019 (2020) 1035DOIDeveloper GuidelinesThese guidelines should help new developers of SkyLLH to join the development
process easily.Code styleThe code follows PEP8 coding style guidelines as close as possible.Code lines are maximum 80 characters wide.4 spaces are used as one indentation level.BranchingWhen implementing a new feature / change, first an issue must be created
describing the new feature / change. Then a branch must be created referring
to this issue. We recommend the branch namefix<ISSUE_NUMBER>, where<ISSUE_NUMBER>is the number of the created issue for this feature / change.In cases when SkyLLH needs to be updated because of a change in the i3skyllh
package (see below), we recommend the branch namei3skyllh_<ISSUE_NUMBER>,
where<ISSUE_NUMBER>is the number of the issue created in the i3skyllh
repository. That way theanalysis unit testsworkflow will be able to find
the correct skyllh branch corresponding to the i3skyllh change automatically.Releases and VersioningRelease version numbers follow the formatv<YY>.<MAJOR>.<MINOR>, where<YY>is the current year,<MAJOR>and<MINOR>are the major and minor
version numbers of type integer. Example:v23.2.0.Release candidates follow the same format as releases, but have the additional
suffix.rc<NUMBER>,  where<NUMBER>is an integer starting with 1.
Example:v23.2.0.rc1Before creating the release on github, the version number needs to be updated
in the Sphinx documentation:doc/sphinx/conf.py.i3skyllhThei3skyllhpackage provides
complementary pre-defined common analyses and datasets for theIceCube Neutrino Observatorydetector in a privaterepository.
Package: skylog-sdk
skylog-sdkGithub repository:https://github.com/vahidtwo/skylog-sdk/Documentationhttps://vahidtwo.github.io/skylog-sdk/Python SDK for Skylog IntegrationSkylog is a robust service designed for seamless integration with various platforms like Sentry, Telegram,
and more, enabling the efficient transmission of logs and rapid identification of issues.This Python SDK facilitates easy interaction with Skylog services, allowing users to:fire alertstop alertnotifyHow to installinstall from gitlabpipinstallskylog-sdkSetup and ConfigurationEnvironment Variables: Configure the following variables in your project environment:DEFAULT_SKY_LOG_ALERTING_TELEGRAM_ALERT_NAME: Default alert name for TelegramDEFAULT_SKY_LOG_ALERTING_PHONE_CALL_ALERT_NAME: Default alert name for phone callsDEFAULT_SKY_LOG_ALERTING_SMS_ALERT_NAME: Default alert name for SMSSKY_LOG_ALERTING_BASE_URL: Base URL for Skylog API callsSKY_LOG_ALERTING_TOKEN: Your Skylog authentication tokenProxy Configuration: If using a proxy, include the following additional variables:PROXY_USERNAMEPROXY_PASSWORDPROXY_IPPROXY_PORTUsage ExamplefromskylogimportAlertingSkyLogClient,AlertingProvider# Initialize the Skylog client with the desired provider (e.g., Telegram)client=AlertingSkyLogClient(provider=AlertingProvider.telegram)# Example Operations:client.fire_alert(description='Issue detected',instance_name='unique_key',provider=AlertingProvider.sms)client.stop_alert(description='Issue resolved',instance_name='unique_key',provider=AlertingProvider.sms)client.notify(description='Alert notification',instance_name='unique_key',provider=AlertingProvider.telegram)Concepts to UnderstandAlertname and InstanceAlertname: Represents the provider or service. It identifies where Skylog sends alerts.Instance: A unique identifier within a group alert, specifying a particular part of a universal alert.Alerts ManagementFiring an Alert: Triggering an alert, resulting in immediate notifications sent to relevant endpoints.Stopping an Alert: Removing a fired alert, resolving it and stopping further notifications.Notifying an Alert: Sending messages to endpoints without adding records to the triggered list.
Package: skynet
SkynetThis module demonstrates the usage of Pythons exit-hook, exception hook and signals handling.
It does so by using these hooks to prevent you from exiting Python to the best if its ability.ContributorsLennart Regebro <regebro@gmail.com>Changes1.1 (2016-02-29)Tried to make it work on OS X.1.0 (2013-10-19)Original release.
Package: skype-chatsync-reader
Skype stores conversations locally in two places. One is a SQLite database file, for which there are several convenient viewers out there.
Another is a set ofdatfiles in thechatsyncsubdirectory of the profile. The latter contain, among other things, the “removed” messages
along with all the edits. Unfortunately, the format of those dat files does not seem to be documented anywhere, and the readers are scarce.The package contains a crude file format parser for thedatfiles in thechatsyncdirectory, created based on the hints,
given by userkmninthis discussion.As the format specification used is not official and incomplete, the parser is limited in what it can do.
It may fail on some files, and on other files will only be able to extract messages partially.In addition, the package contains a simple wx-based GUI tool for searching the log files visually.InstallationThe easiest way to install most Python packages is viaeasy_installorpip:$ easy_install skype_chatsync_readerIf you want to use the GUI tool, you will also need to installwxPython 2.8or later (it is not installed automatically).A standalone executable version of the GUI tool for Windows can be downloadedhere.UsageIf you want to parse chatsync files programmatically, check out theSkypeChatSyncScannerandSkypeChatSyncParserclasses inskype_chatsync_reader.scanner.
A typical usage example is:with open(dat_file, 'rb') as f:
    s = SkypeChatSyncScanner(f)
    s.scan()
    p = SkypeChatSyncParser(s)
    p.parse()Then usep.timestamp,p.participants, andp.conversationto read out the messages. There convenience functionparse_chatsync_profile_dirwill scan
through all thedatfiles in the providedchatsyncdir and parse all of them (which can be parsed).If you want to use the GUI tool, simply run the script:$ skype-chatsync-viewerwhich is installed into your python’s scripts directory together with the package.IssuesThis is a very crude implementation, written up in a single evening for fun. It is not meant to be production-quality software. There are numerous known and unknown issues.
I do not plan to maintain this actively. Feel free to contribute viaGithub.CopyrightCopyright 2015,Konstantin TretyakovMIT LicenseThe icon used in the single-file executable is (c)Umut Pulat, licensed under LGPL.