Saravanan666/pypi-org huggingface dataset:
Package: oskat
OSKATOpen Source Kamera-Arts ToolsA set of command line tools for batch processing photos without opening up a photo-editing application.Current Tools (v0.1.2):varimat: adds borders to fit certain aspect ratio.instamat: adds borders to fit 4:5 aspect ratio, e.g. for InstagramQuickstart Guide1. InstallationThe simplest way to installoskatas a globally-available command-line tool is to usepipx. Find the guidehere.Once you havepipxinstalled, simply run either of the following commands from your terminal:pipx install oskator, alternatively:pipx install git+https://github.com/kl819/oskat.gitThe second command installs directly from the GitHub repository and is recommended.Oncepipxis done installing, you should receive a message like this:These apps are now globally available
  - oskat
done! ✨ 🌟 ✨You should be able to verify this withpipx list, which lists out the apps installed throughpipx. One of them should beoskat. If it shows up on the list, you've successfully installedoskat!2. UsingoskatThe easiest way to useoskatis to navigate to the folder with the photos you'd like to process. If no path and output is specified on anyoskatcommand, it will process all images in the directory in which it is run and output the results to a separate folder.ex. 1:instamatYou've just exported a fresh set of photos from Lightroom, almost ready to post to Instagram butoh, no, every photo's a different aspect ratio!You can useinstamatto add white borders as needed to make all the images the same (Instagram-optimal) 4:5 aspect ratio!First, navigate to the folder with all your photos and open a terminal there (or navigate there via the terminal). Then, just typeoskat instamatinto the terminal. Give it a few seconds, and you should see a message like this:matted 3 images in 0.9s!All done!Your Instagram-ready photos will be in a new folder within the folder in which you ran the command.
Package: os-ken
A component-based software defined networking framework in OpenStack.This is a fork of the Ryu library tailored for OpenStack Neutron.License: Apache License, Version 2.0Documentation:https://docs.openstack.org/os-ken/latest/Source:https://opendev.org/openstack/os-ken/Bugs:https://storyboard.openstack.org/#!/project/openstack/os-kenRelease Notes:https://docs.openstack.org/releasenotes/os-ken
Package: osl
OHBA Software Library (OSL)Install from Source CodeThe recommended installation depends on your operating system. OSL can be installed from source using:git clone https://github.com/OHBA-analysis/osl.git
cd osl
conda env create -f envs/<os>.yml
conda activate osl
pip install -e .where the environment file<os>.ymlcan be:linux.ymlfor a generic linux machine.m1_mac.ymlif you are using a modern Mac computer.hbaws.ymlif you are using an OHBA workstation at Oxford.bmrc.ymlif you are using the BMRC at Oxford.Note, all of the above environments come with Jupyter Notebook installed. Thehbaws.ymlandm1_mac.ymlenvironments also comes with Spyder installed.Deleting oslIf you installed osl using the instructions above then to completely remove it simply delete the conda environment and delete the repo on your local machine:conda env remove -n osl
rm -rf oslFor DevelopersRun tests:cd osl
pytest testsor to run a specific test:cd osl/tests
pytest test_file_handling.pyBuild documentation:python setup.py build_sphinxCompiled docs can be found indoc/build/html/index.html.
Package: oslex
oslexoslexis an OS-independent wrapper forshlexandmslex.Its main purpose is to provide functions similar in functionality toshlex.quote(),shlex.split()andshlex.join()on both Windows and POSIX-compatible platforms.This goal is achieved by simply forwarding the calls to eithershlex(from the standard library) on POSIX-compatible systems, or the excellentmslexlibrary (written by Lawrence D'Anna / @smoofra) on Windows.In other words,oslexis toshlex/mslexwhatos-pathis toposixpath/ntpath.LicensingThis library itself is licensed under the MIT license.oslexuses themslexlibrary, which is distributed under the Apache 2.0 license.
Package: oslicensor
OSlicensorOSLicensor is a tiny CLI tool that allows generates various OSSLICENSEon demand.PrerequisitesPython 3pipInstalling oslicensorpip install OSLicensorUsing OSLicensorTo use OSLicensor, follow these steps:Use the-lor--listcommand line option to list available licenses.Use thegetsubcommand followed by the abbreviated license code found entering the-loption.Use thechoosesubcommand to select a particular license from a list of choicesExamples:>oslicensor--list

>oslicensorgetbsd1

>oslicensorchooseContactIf you want to contact me you can reach me through the issues tab on github
Package: oslili
OSLiLi - Open Source License Identification LibraryOpen Source License Identification Library is an experimental code, that use Scikit-learn to implement a Multinomial Naive Bayes classifier trained with SPDX data to identify Open Source Licenses. This should be consider as a proof of concept for identify Open Source licenses using Machine Learning.This is an experimental project, please don't use it for production. For a more robust implementation, please check the project Askalonohttps://github.com/jpeddicord/askalonoUsageOn the command lineYou can use OSLiLi in your terminal as command line, please install the oslili-cli package:$ pip3 install oslili-cli
$ oslili-cli LICENSE
License: MIT (0.89 probability)
Copyright: ('2021', '(c)  Andrew Barrier')As a libraryIn order to use the library, you need to import and use identify_license or identify_copyright.import argparse
from oslili import LicenseAndCopyrightIdentifier


def main():
    msg = 'Identify open source license and copyright statements'
    parser = argparse.ArgumentParser(description=msg)
    parser.add_argument('file_path', help='Path to the file to analyze')
    args = parser.parse_args()
    file_path = args.file_path

    with open(args.file_path, 'r') as f:
        text = f.read()

    identifier = LicenseAndCopyrightIdentifier()
    license_spdx_code, license_proba = identifier.identify_license(text)
    print(f'License: {license_spdx_code} ({license_proba:.2f} probability)')
    year_range, statement = identifier.identify_copyright(text)
    if statement:
        if None not in statement:
            print(f'Copyright: {statement}')


if __name__ == '__main__':
    main()NoticeThis tool does not provide legal advice; I'm not a lawyer.The code is an experimental implementation to match your input to a database of similar license texts and tell you if it's a close match. Refrain from relying on the accuracy of the output of this tool.Remember: The tool can't tell you if a license works for your project or use case. Please should seek independent legal advice for any licensing questions.Where do the licenses come from?License data is sourced directly from SPDX:https://github.com/spdx/license-list-dataContributingContributions are very welcome! SeeCONTRIBUTINGfor more info.LicenseThis library is licensed under theApache 2.0 License.
Package: oslili-cli
OSLiLi - CLICommand Line Interface for usingOSLiLi.This is an experimental project, please don't use it for production. For a more robust implementation, please check the project Askalonohttps://github.com/jpeddicord/askalonoUsageOn the command lineYou can use OSLiLi in your terminal as command line, please install the oslili-cli package:$ pip3 install oslili-cli
$ oslili-cli LICENSE
License: MIT (0.89 probability)
Copyright: ('2021', '(c)  Andrew Barrier')As a libraryTo learn how to use OSLiLi as library, please check the projecthttps://github.com/oscarvalenzuelab/osliliNoticeThis tool does not provide legal advice; I'm not a lawyer.The code is an experimental implementation to match your input to a database of similar license texts and tell you if it's a close match. Refrain from relying on the accuracy of the output of this tool.Remember: The tool can't tell you if a license works for your project or use case. Please should seek independent legal advice for any licensing questions.ContributingContributions are very welcome! SeeCONTRIBUTINGfor more info.LicenseThis library is licensed under theApache 2.0 License.
Package: oslo.cache
Team and repository tagsoslo.cacheoslo.cacheaims to provide a generic caching mechanism for OpenStack projects
by wrapping thedogpile.cachelibrary. The dogpile.cache
library provides support memoization, key value storage and interfaces to common
caching backends such asMemcached.Free software: Apache licenseDocumentation:https://docs.openstack.org/oslo.cache/latest/Source:https://opendev.org/openstack/oslo.cache/Bugs:https://bugs.launchpad.net/oslo.cacheRelease notes:https://docs.openstack.org/releasenotes/oslo.cache/
Package: oslo.concurrency
Team and repository tagsoslo.concurrencyThe oslo.concurrency library has utilities for safely running multi-thread,
multi-process applications using locking mechanisms and for running
external processes.Free software: Apache licenseDocumentation:https://docs.openstack.org/oslo.concurrency/latest/Source:https://opendev.org/openstack/oslo.concurrencyBugs:https://bugs.launchpad.net/oslo.concurrencyRelease Notes:https://docs.openstack.org/releasenotes/oslo.concurrency/
Package: oslo.config
Team and repository tagsOslo Configuration LibraryThe Oslo configuration API supports parsing command line arguments and
.ini style configuration files.License: Apache License, Version 2.0Documentation:https://docs.openstack.org/oslo.config/latest/Source:https://opendev.org/openstack/oslo.config/Bugs:https://bugs.launchpad.net/oslo.configRelease notes:https://docs.openstack.org/releasenotes/oslo.config/
Package: oslo.config.comparator
OverviewWhenever you have to upgrade your OpenStack clusters, you have to
rewrite your config files like nova.conf, cinder.conf, neutron.conf,
etc.Althoughoslo.config.generatorhelps you generate new config files automatically, there is no feature
to migrate existed config data to newly generated config.This program deals with the tedious task that compares the old config to
new config line by line, and updates the config value old config had.FeaturesCheck two OpenStack configuration files. It shows set of attributes
which are categorized to 5 types. This distinction is based on the
old config file and commented attributes which means to have default
value does not appear.AddedNewly added attributes. Old config does not have these
attributes.RemovedRemoved attributes. Old config had but new config does
not have.UnchangedUnchanged attributes. Both of new and old config
have.ChangedChanged attributes. Group or name is changed at new
release.AmbiguousAmbiguous attributes. These attributes are changed
but cannot be categorized since the name is duplicated.Upgrade new config file with new contents based on existed config
file. It fills out the new config file with the old config data which
belongs toChangedandUnchangedattributes.Note that
Ambigouos attributes should be treated by manual.Installationpip3installoslo.config.comparatorUsageCheck two OpenStack configuration files.oslo-config-comparatorcheck[FILE1][FILE2](-v)FILE1Base config file which has old data.FILE2New config file which generated by
oslo-config-generator.-vShow datails.Upgrade new config file with new contents based on existed config
file.oslo-config-comparatorupgrade[FILE1][FILE2](-oOUTPUT)-o OUTPUTFile to be written. Defaults to stdout.LimitationIt only parses “key = value” formatted string, so if the config file
has template engine syntax such as Jinja, ruby ERB, additional
content surrounding the attributes must be written manually.LicensesMIT
Package: oslo.context
The Oslo context library has helpers to maintain useful information
about a request context. The request context is usually populated in
the WSGI pipeline and used by various modules such as logging.License: Apache License, Version 2.0Documentation:https://docs.openstack.org/oslo.context/latest/Source:https://opendev.org/openstack/oslo.contextBugs:https://bugs.launchpad.net/oslo.contextRelease notes:https://docs.openstack.org/releasenotes/oslo.context/Team and repository tags
Package: oslo-core
O S L OOpenSource framework forLarge-scale transformerOptimizationWhat's New:December 30, 2021Add Deployment Launcher.December 21, 2021Released OSLO 1.0.What is OSLO about?OSLO is a framework that provides various GPU based optimization technologies for large-scale modeling. 3D Parallelism and Kernel Fusion which could be useful when training a large model likeEleutherAI/gpt-j-6Bare the key features. OSLO makes these technologies easy-to-use by magical compatibility withHugging Face Transformersthat is being considered as ade factostandard in 2021. Currently, the architectures such as GPT2, GPTNeo, and GPTJ are supported, but we plan to support more soon.InstallationOSLO can be easily installed using the pip package manager.
All the dependencies such astorch,transformers,dacite,ninjaandpybind11should be installed automatically with the following command.
Be careful that the 'core' is in the PyPI project name.pip install oslo-coreSome of features rely on the C++ language.
So we provide an option,CPP_AVAILABLE, to decide whether or not you install them.If the C++ is available:CPP_AVAILABLE=1 pip install oslo-coreIf the C++ is not available:CPP_AVAILABLE=0 pip install oslo-coreNote that the default value ofCPP_AVAILABLEis 0 in Windows and 1 in Linux.Key FeaturesimportdeepspeedfromosloimportGPTJForCausalLM# 1. 3D Parallelismmodel=GPTJForCausalLM.from_pretrained_with_parallel("EleutherAI/gpt-j-6B",tensor_parallel_size=2,pipeline_parallel_size=2,)# 2. Kernel Fusionmodel=model.fuse()# 3. DeepSpeed Supportengines=deepspeed.initialize(model=model.gpu_modules(),model_parameters=model.gpu_parameters(),...,)# 4. Data Processingfromosloimport(DatasetPreprocessor,DatasetBlender,DatasetForCausalLM,...)# 5. Deployment Launchermodel=GPTJForCausalLM.from_pretrained_with_parallel(...,deployment=True)OSLO offers the following features.3D Parallelism: The state-of-the-art technique for training a large-scale model with multiple GPUs.Kernel Fusion: A GPU optimization method to increase training and inference speed.DeepSpeed Support: We supportDeepSpeedwhich provides ZeRO data parallelism.Data Processing: Various utilities for efficient large-scale data processing.Deployment Launcher: A launcher for easily deploying a parallelized model to the web server.SeeUSAGE.mdto learn how to use them.Administrative NotesCiting OSLOIf you find our work useful, please consider citing:@misc{oslo,
  author       = {Ko, Hyunwoong and Kim, Soohwan and Park, Kyubyong},
  title        = {OSLO: Open Source framework for Large-scale transformer Optimization},
  howpublished = {\url{https://github.com/tunib-ai/oslo}},
  year         = {2021},
}LicensingThe Code of the OSLO project is licensed under the terms of theApache License 2.0.Copyright 2021 TUNiB Inc.http://www.tunib.aiAll Rights Reserved.AcknowledgementsThe OSLO project is built with GPU support from theAICA (Artificial Intelligence Industry Cluster Agency).
Package: oslo.db
Team and repository tagsoslo.db – OpenStack Database Pattern LibraryThe oslo db (database) handling library, provides database
connectivity to different database backends and various other helper
utils.Free software: Apache licenseDocumentation:https://docs.openstack.org/oslo.db/latestSource:https://opendev.org/openstack/oslo.dbBugs:https://bugs.launchpad.net/oslo.dbRelease notes:https://docs.openstack.org/releasenotes/oslo.db/
Package: oslo.i18n
Team and repository tagsoslo.i18n – Oslo Internationalization UtilitiesThe oslo.i18n library contain utilities for working with
internationalization (i18n) features, especially translation for text
strings in an application or library.Free software: Apache licenseDocumentation:https://docs.openstack.org/oslo.i18n/latestSource:https://opendev.org/openstack/oslo.i18nBugs:https://bugs.launchpad.net/oslo.i18nRelease notes:https://docs.openstack.org/releasenotes/oslo.i18n/
Package: oslo.limit
Team and repository tagsoslo.limitOslo.limit is the limit enforcement library to assist with quota calculation.
It aims to provide support for quota enforcement across all OpenStack services.Free software: Apache licenseDocumentation:https://docs.openstack.org/oslo.limit/latest/Source:http://opendev.org/openstack/oslo.limitBugs:http://bugs.launchpad.net/oslo.limit
Package: oslo.log
Team and repository tagsoslo.log – Oslo Logging LibraryThe oslo.log (logging) configuration library provides standardized
configuration for all openstack projects. It also provides custom
formatters, handlers and support for context specific
logging (like resource id’s etc).Free software: Apache licenseDocumentation:https://docs.openstack.org/oslo.log/latest/Source:https://opendev.org/openstack/oslo.logBugs:https://bugs.launchpad.net/oslo.logRelease notes:https://docs.openstack.org/releasenotes/oslo.log/
Package: oslo.messaging
Oslo Messaging LibraryThe Oslo messaging API supports RPC and notifications over a number of
different messaging transports.License: Apache License, Version 2.0Documentation:https://docs.openstack.org/oslo.messaging/latest/Source:https://opendev.org/openstack/oslo.messagingBugs:https://bugs.launchpad.net/oslo.messagingRelease notes:https://docs.openstack.org/releasenotes/oslo.messaging/
Package: oslo.middleware
Oslo middleware library includes components that can be injected into
wsgi pipelines to intercept request/response flows. The base class can be
enhanced with functionality like add/delete/modification of http headers
and support for limiting size/connection etc.Free software: Apache licenseDocumentation:https://docs.openstack.org/oslo.middleware/latest/Source:https://opendev.org/openstack/oslo.middlewareBugs:https://bugs.launchpad.net/oslo.middlewareRelease notes:https://docs.openstack.org/releasenotes/oslo.middleware/
Package: oslo.policy
Team and repository tagsoslo.policyThe Oslo Policy library provides support for RBAC policy enforcement across
all OpenStack services.Free software: Apache licenseDocumentation:https://docs.openstack.org/oslo.policy/latest/Source:https://opendev.org/openstack/oslo.policyBugs:https://bugs.launchpad.net/oslo.policyBlueprints:https://blueprints.launchpad.net/oslo.policyRelease Notes:https://docs.openstack.org/releasenotes/oslo.policy
Package: oslo.privsep
Team and repository tagsoslo.privsepOpenStack library for privilege separationThis library helps applications perform actions which require more or
less privileges than they were started with in a safe, easy to code
and easy to use manner. For more information on why this is generally
a good idea please read over theprinciple of least privilegeand
thespecificationwhich created this library.Free software: Apache licenseDocumentation:https://docs.openstack.org/oslo.privsep/latest/Source:https://opendev.org/openstack/oslo.privsepBugs:https://bugs.launchpad.net/oslo.privsepRelease Notes:https://docs.openstack.org/releasenotes/oslo.privsep
Package: oslo.reports
Team and repository tagsoslo.reportsWhen things go wrong in (production) deployments of OpenStack collecting debug
data is a key first step in the process of triaging & ultimately resolving the
problem. Projects like Nova has extensively used logging capabilities which
produce a vast amount of data. This does not, however, enable an admin to
obtain an accurate view on the current live state of the system. For example,
what threads are running, what config parameters are in effect, and more.The project oslo.reports hosts a general purpose error report generation
framework, known as the “guru meditation report”
(cfhttp://en.wikipedia.org/wiki/Guru_Meditation) to address the issues
described above.Models: These classes define structured data for a variety of interesting
pieces of state. For example, stack traces, threads, config parameters,
package version info, etc. They are capable of being serialized to XML / JSON
or a plain text representationGenerators: These classes are used to populate the model classes with the
current runtime state of the systemViews: views serialize models into say JSON, text or xml. There is also
a predefined view that utilizes Jinja templating system.There will be a number of standard models / generators available for all
OpenStack servicesStackTraceModel: a base class for any model which includes a stack trace
ThreadModel: a class for information about a thread
ExceptionModel: a class for information about a caught exception
ConfigModel: a class for information about configuration file settings
PackageModel: a class for information about vendor/product/version/package informationEach OpenStack project will have the ability to register further generator
classes to provide custom project specific data.Free software: Apache licenseDocumentation:https://docs.openstack.org/oslo.reports/latestSource:https://opendev.org/openstack/oslo.reportsBugs:https://bugs.launchpad.net/oslo.reportsRelease notes:https://docs.openstack.org/releasenotes/oslo.reports/
Package: oslo.rootwrap
Team and repository tagsoslo.rootwrap – Escalated Permission Controloslo.rootwrap allows fine-grained filtering of shell commands to run
asrootfrom OpenStack services.License: Apache License, Version 2.0Documentation:https://docs.openstack.org/oslo.rootwrap/latest/Source:https://opendev.org/openstack/oslo.rootwrapBugs:https://bugs.launchpad.net/oslo.rootwrapRelease notes:https://docs.openstack.org/releasenotes/oslo.rootwrap/
Package: oslo.serialization
Team and repository tagsoslo.serializationThe oslo.serialization library provides support for representing objects
in transmittable and storable formats, such as Base64, JSON and MessagePack.Free software: Apache licenseDocumentation:https://docs.openstack.org/oslo.serialization/latest/Source:https://opendev.org/openstack/oslo.serializationBugs:https://bugs.launchpad.net/oslo.serializationRelease notes:https://docs.openstack.org/releasenotes/oslo.serialization/
Package: oslo.service
Team and repository tagsoslo.service – Library for running OpenStack servicesoslo.service provides a framework for defining new long-running
services using the patterns established by other OpenStack
applications. It also includes utilities long-running applications
might need for working with SSL or WSGI, performing periodic
operations, interacting with systemd, etc.Free software: Apache licenseDocumentation:https://docs.openstack.org/oslo.service/latest/Source:https://opendev.org/openstack/oslo.serviceBugs:https://bugs.launchpad.net/oslo.serviceRelease notes:https://docs.openstack.org/releasenotes/oslo.service/
Package: oslosphinx
oslosphinx is obsolete. The openstackdocstheme package should be used
instead. oslosphinx will be maintained for the pike, ocata, and newton
release series and completely remove after that pike is marked
end-of-life.The contents of this repository are still available in the Git source
code management system.  To see the contents of this repository before
it reached its end of life, please check out the previous commit with
“git checkout HEAD^1”, or check out one of the supported stable
branches.For any further questions, please emailopenstack-dev@lists.openstack.orgor join #openstack-oslo on Freenode.
Package: oslotest
Team and repository tagsoslotest – OpenStack Testing Framework and UtilitiesThe Oslo Test framework provides common fixtures, support for debugging, and
better support for mocking results.Free software: Apache licenseDocumentation:https://docs.openstack.org/oslotest/latest/Source:https://opendev.org/openstack/oslotestBugs:https://bugs.launchpad.net/oslotestRelease notes:https://docs.openstack.org/releasenotes/oslotest
Package: oslo.upgradecheck
Common code for writing OpenStack upgrade checksThis project contains the common code necessary for writing upgrade checks
in OpenStack projects. It includes a module (oslo_upgradecheck.upgradecheck)
for the common code as well as an example (oslo_upgradecheck.__main__) of
integrating that code into a project.Free software: Apache licenseDocumentation:https://docs.openstack.org/oslo.upgradecheck/latest/Source:https://opendev.org/openstack/oslo.upgradecheckBugs:https://bugs.launchpad.net/oslo.upgradecheck