Saravanan666/pypi-org huggingface dataset:
Package: oswrite
oswriteCLI tool for running audio through the OpenAI whisper APISee oswrite: a CLI tool for running audio through the OpenAI whisper API.PS: It is inspired by Simon Willamson'sosreadInstallationInstall this tool using pip:pipinstalloswriteUsageoswrite --audio_file "test.mp3"You will need an OpenAI API key. You can set that as an environment variable:export OPENAI_API_KEY="..."Or you can pass it using --token:oswrite --token "..." --audio_file "test.mp3"Saving transcribed resultIf you want to save transcribed result to a file, additionally you can addoutputparameter with a filename.For text file:oswrite --token "..." --audio_file "test.mp3 --output "test.txt"For docx file:oswrite --token "..." --audio_file "test.mp3 --output "test.docx"
Package: osx-colors
osx-colorsSane command line color customisation for osx, no more fiddling about withdefaults, internal apple color constants and rgb color codesSay you want to change yourAccentandHighlightColor toGreenlike thisIf you wanted to change it via terminal, normally you'd need to do this$ defaults write -g AppleAccentColor -string 3
$ defaults write -g AppleHighlightColor -string "0.752941 0.964706 0.678431 Green"Instead.... do this 😄$ osx-colors set greenOr to set yourAccent&Highlightcolor based on the wallpaper pallete generated frompywalalso requiresjq$ osx-colors set $(jq --raw-output '.colors.color9' < ~/.cache/wal/colors.json)FeaturesSane color handling using color names and a single commandProvide it a color in hex and it'll find the "nearest" available apple color to it
and set it to this, this is awesome if you usepywaland want matching accent/highlight colors to your wallpaperRestarts Finder,Docker,System Preferences etc upon setting so colors can be immediately seenWhyI'm a huge fan ofpywaland what I thought would complete the color scheme would beAccent&Highlightcolors in osx that were based on the generated color palette of the wallaper, however I wasn't able to find anything that did it and color management from the commandline simply sucked, so I wrote this for my personal needsLimitationsAt present you can only set both theAccentColorandHighlightColortogether, however theHighlightColorcan be customized to any color in the UI (from what I can see)Finding the nearest "color" isn't perfect but i've found it good enough, welcome alternative algorithms/solutions to thisGetting StartedDependenciesMacOS Monterey (It probably works on others I just haven't tested it!)Python 3.8 or greaterInstallingpip install osx-colorsUsageTo set theAccentandHighlightcolor to Red$ osx-colors set red
Setting the 'Accent Color' to 'red'
Setting the 'Highlight Color' to 'red'
Restarting Finder, Spotlight and System Preferences, others may need to be restarted manuallyTo set theAccentandHighlightcolor to the closest color to the HEX color provided$ osx-colors set 0029ff
Searching for the closest Apple color to '0029ff' we found 'blue'
Setting the 'Accent Color' to 'blue'
Setting the 'Highlight Color' to 'blue'
Restarting Finder, Spotlight and System Preferences, others may need to be restarted manuallyFor more usage instructions see$ osx-colors --helpContributingFeel free to lodge an issue regarding a feature request/bug report and we'll go from there!All contributions welcome 🙂Running the tests$ make testFor other build tasks seeMakefileVersioningWe useSemVerfor versioning. For the versions available, see theReleaseson this repository.TODOAbility to get colors - not sure of use case?Ability to set a customHighlightcolorLicenseThis project is licensed under the MIT licenseAcknowledgmentsThanks toofstackfor the code to match the "nearest" color, i'm no color scientistThanks toquantum_libeton reddit for a rundown on the insanity of color management via the terminal
Package: osxdocker
osxdockerA CLI for working with docker on OSXCurrently it just handles docker logs, because I found it annoying starting up a screen session to get to the docker vm every time I wanted to clear logs.
See:https://stackoverflow.com/questions/42527291/clear-logs-in-native-docker-on-macInstall# python3 onlypip3installosxdockerDependenciesAssumes you havedockerandscreeninstalled. If you don't, you can easily install them throughbrew. e.g.brew cask install docker
brew install screenUsage# clear logsosxdockerclear_log$some_container_name# list available commands and flagsosxdockerThis cli useshttps://github.com/google/python-fireCheck out the docs for more details on usage, setting up bash completion, etc.Also worth noting:Because the package uses fire, it can be imported like a normal python package. e.g.fromosxdocker.docker_logsimportDockerLogsDockerLogs().log_path('foo')This cli doesn't support--versiondue to a quirk with fire.osxdockerversion# works fineosxdocker--version# won't workEdge cases and gotchasContainer names are unique, but containers are filtered by regex, so you can still run into issues.e.g. You have two containers, named foo and foo_too.osxdocker cat_log foowill fail because it matches foo and foo_too.osxdocker cat_log ^foo$will work because it matches foo exactly.Developer notesSeedocs/source/dev.md
Package: os-xenapi
XenAPI library for OpenStack projectsThis library provides the support functions needed to connect to and manage a XenAPI-based
hypervisor, such as Citrix’s XenServer.Free software: Apache licenseSource:http://git.openstack.org/cgit/openstack/os-xenapiBugs:http://bugs.launchpad.net/os-xenapiInstall Devstack on XenServer:https://github.com/openstack/os-xenapi/blob/master/tools/README.rstFeaturesThe following features are supported since 0.3.1:VDI streaming
It will allow the library user to create XenServer VDI from a gzipped
image data stream; or create gzipped image data stream from a specified
XenServer VDI. By comparing to the existing dom0 glance plugin, the
image data gets processed on the fly via streams. So it doesn’t create
intermediate files. And it completely uses the formal VDI import or
export APIs when it exchanges VDI data with XenServer.XAPI pool
With this feature, we can deploy OpenStack on hosts which belong to a
XAPI pool, so that we can get the benefits from XAPI pool features:
e.g. it’s able to live migrate instance between two hosts without
moving the disks on shared storage.The following features are supported since 0.3.2:Bootstrap compute node via a single command
Now we can support to boostrap an OpenStack compute node by running the
command ofxenapi_bootstrapfrom a VM which is running on XenServer.
At the moment, only CentOS 7.x is supported.
Package: osxmmkeys
osxmmkeys is a simple Python library for handling media keys on OS X.
Key presses can be observed with no side effects, or have their default
behaviours overridden entirely.InstallationTo install osxmmkeys with pip, use:$pipinstallosxmmkeysUsageSimple example:importosxmmkeysdefhandler():print("Play/pause key was pressed")tap=osxmmkeys.Tap()tap.on('play_pause',handler)tap.run()Threaded example:importosxmmkeys,timedefhandler():print("Play/pause key was pressed")tap=osxmmkeys.Tap()tap.on('play_pause',handler)tap.start()try:whileTrue:time.sleep(1)except(KeyboardInterrupt,SystemExit):tap.stop()Supported key names:play_pausenext_trackprev_trackmutevolume_downvolume_upbacklight_downbacklight_upkb_backlight_downkb_backlight_up
Package: osxmpdkeys
Control mpd with the OS X media keys.InstallationTo install osxmpdkeys with pip, use:$pipinstallosxmpdkeysUsageIn the simplest case, just runmpdkeys. The default mpd host address islocalhost:6600.usage: mpdkeys [-h] [--host HOST] [--port PORT]

optional arguments:
--host HOST  mpd host address
--port PORT  mpd host portIf you want to have mpdkeys start automatically upon login,
you can create a LaunchAgent like so:$ cat <<EOF> ~/Library/LaunchAgents/com.github.pushrax.osxmpdkeys.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
    <key>Label</key>
    <string>com.github.pushrax.osxmpdkeys</string>
    <key>Program</key>
    <string>/usr/local/bin/mpdkeys</string>
    <key>RunAtLoad</key>
    <true/>
    <key>KeepAlive</key>
    <true/>
  </dict>
</plist>
EOFNext time you log in, launchd will pick up the configuration automatically.
Package: osxnotify
No nonsense OS X notifications for Python scripts (native wrapper).Aboutosxnotify is a wrapper forlibosxnotify. It allows Python scripts to display
native OS X notifications.This module uses a native C extension to interfacelibosxnotify. For
CFFI-based module seeosxnotify-cffi.RequirementsOS X >= 10.9.4 - should work on Mountain Lion but it’s not tested,Python 2.7 (for Python 3.4+ seeosxnotify-cffi),libosxnotify >= 1.0,Xcode and command line utilities.InstallationTo install osxnotify from PyPI, issue the following command:$pipinstallosxnotifyAlternatively, you can install from the source code:$gitclonehttps://github.com/tomekwojcik/osxnotify-python.git$cdosxnotify-python$python2.7setup.pyinstallUsageimportosxnotifyosnotify.notify('Title',subtitle='Subtitle',informative_text='Informative text')Issues and limitationsUTF-8 is the only supported text encoding.Project statusThis project should be consideredbeta. Proceed with caution if you decide
to use osxnotify in production.Licenseosxnotify is licensed under MIT License.Authorosxnotify was written byTomek Wójcik.Source code and issuesSource code is available on GitHub at:tomekwojcik/osxnotify-python.To file issue reports and feature requests use the project’s issue tracker on
GitHub.
Package: osxnotify-cffi
No nonsense OS X notifications for Python scripts (CFFI wrapper).Aboutosxnotify-cffi is a wrapper forlibosxnotify. It allows Python scripts to
display native OS X notifications.This module uses CFFI to interfacelibosxnotify. For a native C extension
based module seeosxnotify.RequirementsOS X >= 10.9.4 - should work on Mountain Lion but it’s not tested,Python 2.7 or 3.4,libosxnotify >= 1.0,Xcode and command line utilities.InstallationTo install osxnotify-cffi from PyPI, issue the following command:$pipinstallosxnotify-cffiAlternatively, you can install from the source code:$gitclonehttps://github.com/tomekwojcik/osxnotify-python-cffi.git$cdosxnotify-python-cffi$pythonsetup.pyinstallUsageimportosxnotify-cffiosnotify-cffi.notify('Title',subtitle='Subtitle',informative_text='Informative text')Issues and limitationsUTF-8 is the only supported text encoding.Project statusThis project should be consideredbeta. Proceed with caution if you decide
to use osxnotify-cffi in production.Licenseosxnotify-cffi is licensed under MIT License.Authorosxnotify-cffi was written byTomek Wójcik.Source code and issuesSource code is available on GitHub at:tomekwojcik/osxnotify-python-cffi.To file issue reports and feature requests use the project’s issue tracker on
GitHub.
Package: osx-openconnect-helper
osx-openconnect-helperThis program is a tiny helper application to connect to different
Cisco VPNs through openconnect on OS X.  It just wraps openconnect
to add some basic profile support.How to make it run on OS X:$ brew install openconnect
$ brew install tuntapNote that the brew version of openconnect comes without RSA token
support.  You will need to manually compile it and stoken support
if you want that.For tuntap follow the guides after installation and don’t forget to
load the kext.If you do not have vpnc-script you can download it:http://www.infradead.org/openconnect/vpnc-script.htmlTo install place it in /etc/vpnc/vpnc-script and make sure it
is executable.To install osx-openconnect-helper use pip or pipsi:$ pipsi install osx-openconnect-helperFrom that point onwards you can add a vpn:$ openconnect-helper add myvpnhttps://myvpn.invalid/–user meAnd connect:$ sudo openconnect-helper connect myvpnIt uses the OS X keychain to manage passwords.
Package: osxstrap
# osxstrapEverything you need to provision your OSX workstation in a standardized, modern, and easily customizable way, powered by Ansible.## UsageSeehttps://osxstrap.org## IssuesPlease report any issues to this repositories issue trackerhttps://github.com/osxstrap/osxstrap/issues.## CreditsCreated by [Jeremy Litten](https://github.com/jeremyltn).Inspired byhttps://github.com/superlumichttps://github.com/spencergibb/ansible-osxhttps://github.com/debopsand many others.See individual repositories athttps://github.com/osxstrapfor Ansible role credits.
Package: osyris
OsyrisA python visualization utility for RAMSES astrophysical simulations data.
Osyris aims to remain portable, lightweight and fast,
to allow users to quickly explore and understand their simulation data,
as well as produce publication grade figures.DocumentationThe documentation forosyriscan be found athttps://osyris.readthedocs.io.InstallationpipinstallosyrisA short exampleYou can download the sample datahere.Plot a 2D histogram of the cell magnetic field versus the gas density.importosyrisdata=osyris.Dataset(8,scale="au",path="data").load()osyris.histogram2d(data["hydro"]["density"],data["hydro"]["B_field"],norm="log",loglog=True)Create a 2D gas density map 2000 au wide through the plane normal toz,
with velocity vectors overlayed as arrows, once again usinglayers:ind=np.argmax(data["hydro"]["density"])center=data["amr"]["position"][ind.values]osyris.map({"data":data["hydro"]["density"],"norm":"log"},# layer 1{"data":data["hydro"]["velocity"],"mode":"vec"},# layer 2dx=2000*osyris.units("au"),origin=center,direction="z")Have a problem or need a new feature?Bug reports or feature requests should be submitted by opening anissueFor general discussions or questions about how to do something withosyris, start a newdiscussionLogo creditIcon vector created by frimufilms - www.freepik.com
Package: oszsave
OSZsave - osu! Beatmap DownloaderVersion 1.3.0AboutOSZsave is a powerful and convenient tool designed to help osu! players download their favorite beatmaps in bulk. Whether you want to import a handful or hundreds of beatmaps from user profiles, OSZsave streamlines the process, saving you time and effort.FeaturesBulk Download: Easily download multiple beatmaps at once from your chosen user profile.Custom Headers: Personalize your download process by adding custom headers.Ease of Use: Simple step-by-step instructions guide you through the setup and download process.Lightweight: OSZsave is designed to be user-friendly, lightweight, and efficient, making it accessible to players of all skill levels.Anti Ratelimit: Avoiding the rate limit to download as many beatmaps as possible.Wide Range: Unlike other tools, this program allows you to get every beatmap from a user's profile.Storage Efficient: This tool ensures that it is only downloading new maps, saving you space and time.Why OSZsave?osu! is a fast-paced rhythm game with a vibrant community that continually creates new beatmaps. OSZsave provides a way to quickly and easily download these beatmaps, whether you're looking to experiment with new challenges or simply expand your collection. With its emphasis on user-friendliness and efficiency, OSZsave is a must-have tool for osu! enthusiasts.Instructions:Getting Headers:Navigate to theosu.ppy.shwebsite.Go to the beatmaps page.Select a random beatmap.Open the network page. This can be achieved by pressingF12or right-clicking the page and selecting 'Inspect'. Once the inspection window is open, navigate to the 'Network' tab.Click the download button on the beatmap. Note that you do not have to save it; just clicking it is enough.In the network tab, find the packet that is titled "download."Right-click this packet and choose 'Copy as cURL (bash).'Paste the copied command into thecurl_command.txtfile.Getting Beatmap Links:When you run the program, it will ask you to input the user profile link.Input the link and the program will generate the beatmap links for you.Running:After the headers and beatmap links are ready, you can run the program.Once all of the beatmaps have finished downloading, the program will automatically move the files to the osu! songs folder.Enjoy the maps!Notes:Please be aware that the program could take up to several hours to complete if you are processing a large list of beatmaps. Make sure to plan accordingly and be patient.If osu! doesn't automatically process the new beatmaps, pressF5in the song select screen to manually refresh the song list.Need Help?If you encounter any problems or have any questions about the process, feel free to reach out to me on Discord: @forgedcore8. I'll be happy to assist you!Alternatively, you can also go to the project'sissue tracker
Package: ot2rec-report
Ot2Rec ReportAutomatic report generation for processing of cryo-electron tomography datasetsOt2Rec reportis a tool to automatically generate reports of tomography reconstructions run inOt2Rec.The reports currently cover the following Ot2Rec plugins:Motioncor2IMOD alignmentIMOD reconstructionAreTomo alignmentAreTomo reconstructionSavu reconstructionThe following Ot2Rec plugins are also covered, but may be stubs or less stable:CTFSimCTFFind4Richardson-Lucy deconvolution with RedlionFish.If you have any ideas on what you'd like included in the reports, file anissueand we will do our best to add it. Or if you'd like to get involved, feel free to make apull request.InstallationWe highly recommend using a virtual environment, e.g., condacondacreate-not2rec_reportpippython=3.10
condaactivateot2rec_reportTo install from PyPI:pipinstallot2rec-reportTo install from source:gitclonehttps://github.com/rosalindfranklininstitute/ot2rec_report.git
condacreate-no2r_report
condaactivateo2r_report
pipinstall-e.If you encounter any issues withpydot, with your conda environment activated:conda install -c conda-forge graphvizUsageIn your terminal, navigate to the folder where yourOt2Recprocessing has been done (hint: this is where the o2r_plugin.log files live.Once you're there:o2r.report.runA GUI will pop up to capture your input:Project name is the project name of your experiment, same as you'd have used for Ot2Rec. This is normally the first part of the filename, e.g.TSwould be the project name forTS_001_0.0.mrc.Choice of sections to include in the report. Hold down Ctrl to select more than one.Export to html: If you'd like this Jupyter notebook without the code as a html report. Your report.html will be created in the same directory. You can print this as a pdf if you'd like to.Export to slides: This creates a report.slides.html file which you can view and present in your browser.By default, a Jupyter notebookreport.ipynbis produced which contains the report.ContributingContributions are very welcome, it does not have to be through code! If you have any suggestions, you can raise anissue.Pull requestsare also welcome, though you may want to raise an issue first to make sure we're not duplicating effort.CitingIf you have found Ot2Rec useful, please cite us:Ot2Rec: A Semi-Automatic, Extensible, Multi-Software Tomographic Reconstruction Workflow
Neville B.-y. Yee, Elaine M. L. Ho, Win Tun, Jake L. R. Smith, Maud Dumoux, Michael Grange, Michele C. Darrow, Mark Basham
bioRxiv 2022.12.15.520632; doi:https://doi.org/10.1101/2022.12.15.520632FundingThis project was funded as part of the Electrifying Life Sciences project at the Rosalind Franklin Institute.
Package: otah
otahotah generates OTA plist manifests for iOS.ipaapps.
This doesnotsign the.ipafile itself: the app must already be signed for it to be sucessfully installed.
(Unless you're jailbroken.)Usageotah myapp.ipa -o manifest.plist --host http(s)://mywebsite.com/path/to/ipa/fileLicenseMIT.
Package: otakudesu
Install>pipinstallotakudesuRun on terminal>python-motakudesuPython InterpreterSearch by query>>>fromotakudesuimportOtakuDesu>>>otakudesu=OtakuDesu()>>>x=otakudesu.search('Saenai heroine')>>>x.resultGet from schedule>>>fromotakudesuimportOtakuDesu>>>otakudesu=OtakuDesu()>>>x=otakudesu.getSchedule>>>x.resultByUrl>>>fromotakudesuimportOtakuDesu>>>otakudesu=OtakuDesu()>>>x=otakudesu.byUrl('https://otakudesu.moe/anime/saenai-heroine-subtitle-indonesia/')>>>x
Package: otaku-info
otaku-infomasterdevelopotaku-info is a website that provides information on various forms of
Japanese entertainment media, including anime, manga and light novels.A live version of the website is running here:otaku-info.euFeaturesManga UpdatesThe website can display the amount of unread manga chapters for a connectedanilist.coaccount.
It also support telegram notifications for when new chapters are released.Light Novel ReleasesThe website collects light novel releases from reddit.com's /r/lightnovels
and displays them.APIThe website offers a REST API with various endpoints:/media_idsmaps IDs for one service like Anilist oder Myanimelist to
other service IDsDeploymentAll deployments assume the existence of a.envfile in the project's
root directory.
This file must contain all environment variables used by the website.The supported environment variables can be seen inenv.sample.Without DockerTo start the web application without docker, you can simply callpython server.pyafter installing it usingpython setup.py install.
This will run the application using the cherry WSGI server on the port
specified in the.envfile.With docker (and docker-compose)This project provides a Dockerfile as well as a docker-compose file.
Do get up and running, simply type in the following commands:docker-composebuild
docker-composeup-dFurther InformationChangelogLicense (GPLv3)GitlabGithubProgstatsPyPi
Package: otamapy
Aboutotamapy is Python Interface forotama(otama is CBIR.).Installationfrom pip:$ pip install --upgrade otamapyfrom easy_install:$ easy_install -ZU otamapyRequirementsPython2.6+ and Python3.2+otama library (otama,nv,eiio)Installation otamaon MacOSX:$ sh tools/install-libotama-for-macosx.shon Linux:$ sh tools/install-libotama.shUsageconfig file (example.conf){
    'namespace': 'testnamespace',
    'driver': {'name': 'color', 'data_dir': './data', 'color_weight': 0.2},
    'database': {'driver': 'sqlite3', 'name': './data/store.sqlite3'}
}store to database, and search from database.# store_and_search.pyfromotamaimportOtamadb=Otama.open('example.conf')kvs={}db.create_table()forfilenamein('foo.jpg','bar.jpg'):kvs[db.insert(filename)]=filenameforresultindb.search(10,'foo.jpg'):key=result['id']print("sim=%.3f, file=%s"%(result['similarity'],kvs[key]))$ python store_and_search.py
sim=1.000, file=foo.jpg
sim=0.969, file=bar.jpgseeexamples.LinksPyPIGitHubTravis CI
Package: otargenpy
otargenpyis an open-source Python package built for seamless data retrieval and analysis
fromOpen Target Geneticsusing its GraphQL API end point.Features🚀Effortless Data Retrieval: Access comprehensive GraphQL query types with user-friendly functions, transforming complex queries into tidy, analysis-ready data tables.📈Insightful Visualizations: Deploy intuitive plotting functions for a clear view of complex datasets, uncovering hidden patterns and insights.📖Comprehensive Documentation: Each function is thoroughly documented, ensuring a smooth integration into your workflow and a clear understanding of the results.👨‍💻Regular Updates: Stay abreast of the latest in Open Target Genetics with our commitment to continuous improvement and feature expansion.TODOComming soon..InstallationGet started withotargenpyfrom PyPI:pipinstallotargenpyIf the above code block does not render, use:pip install otargenpyOr install the latest development version from GitHub:pipinstallgit+https://github.com/amirfeizi/otargenpy.gitCiting otargenpyotargenpywas published on 19th July 2023 in Bioinformatics. For citation information, please visit:https://doi.org/10.1093/bioinformatics/btad441.ContributingJoin theotargenpycommunity on GitHub and contribute to its improvement.
We welcome bug reports, feature suggestions, and code contributions.Free software: MIT licenseDocumentation:https://otargenpy.readthedocs.io.CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2023-12-26)First release on PyPI.