Saravanan666/pypi-org huggingface dataset:
Package: owm-api-dftorres
Open Weather Map API Python PackagePackage that take current and forecast weather in select location.Location options:By CityBy Geographic Location Coordinates.Install intructionsWindowspip install owm-api-dftorresLinux / MacOSxpip3 install owm-api-dftorresAvailable Languages to take info'af': 'Afrikaans',
'al': 'Albanian',
'ar': 'Arabic',
'az': 'Azerbaijani',
'bg': 'Bulgarian',
'ca': 'Catalan',
'cz': 'Czech',
'da': 'Danish',
'de': 'German',
'el': 'Greek',
'en': 'English',
'eu': 'Basque',
'fa': 'Persian (Farsi)',
'fi': 'Finnish',
'fr': 'French',
'gl': 'Galician',
'he': 'Hebrew',
'hi': 'Hindi',
'hr': 'Croatian',
'hu': 'Hungarian',
'id': 'Indonesian',
'it': 'Italian',
'ja': 'Japanese',
'kr': 'Korean',
'la': 'Latvian',
'lt': 'Lithuanian',
'mk': 'Macedonian',
'no': 'Norwegian',
'nl': 'Dutch',
'pl': 'Polish',
'pt': 'Portuguese',
'pt_br': 'Português Brasil',
'ro': 'Romanian',
'ru': 'Russian',
'sv': 'Swedish',
'sk': 'Slovak',
'sl': 'Slovenian',
'es': 'Spanish',
'sr': 'Serbian',
'th': 'Thai',
'tr': 'Turkish',
'uk': 'Ukrainian',
'vi': 'Vietnamese',
'zh_cn': 'Chinese Simplified',
'zhtw':  'Chinese Traditional',
'zu': 'Zulu'Use exampleCreate script file (For example:script.py)Take by city namefrom open_weather_api.constantes import ACTUAL, PREVISION
from open_weather_api.opciones.ciudad import Ciudad

# Configuration
config = dict(
    key='<api-key>',
    units='metric',      # metric
    lang='es',      # Select language from available language codes
    type=ACTUAL    # (OR PREVISION)
)

city = Ciudad(config, "Bilbao")

result = city.get_data()

print(result)Result{'coord': {'lon': -2.9253, 'lat': 43.2627}, 'weather': [{'id': 803, 'main': 'Clouds', 'description': 'muy nuboso', 'icon': '04d'}], 'base': 'stations', 'main': {'temp': 12.68, 'feels_like': 11.99, 'temp_min': 12.22, 'temp_max': 13.33, 'pressure': 1009, 'humidity': 76}, 'visibility': 10000, 'wind': {'speed': 3.09, 'deg': 310}, 'clouds': {'all': 75}, 'dt': 1619620260, 'sys': {'type': 1, 'id': 6395, 'country': 'ES', 'sunrise': 1619586540, 'sunset': 1619636945}, 'timezone': 7200, 'id': 3128026, 'name': 'Bilbao', 'cod': 200}Take by Location Geographic (Latitude / Longitude)from open_weather_api.constantes import ACTUAL, PREVISION
from open_weather_api.opciones.coordenadas import Coordenadas

# Configuration
config = dict(
    key='<api-key>',
    units='m',      # metric
    lang='es',      # Select language from available language codes
    type=ACTUAL    # (OR PREVISION)
)

city = Coordenadas(config, '43.1736976', '-2.41297')

result = city.get_data()

print(result)Result{'coord': {'lon': -2.413, 'lat': 43.1737}, 'weather': [{'id': 804, 'main': 'Clouds', 'description': 'nubes', 'icon': '04d'}], 'base': 'stations', 'main': {'temp': 12.18, 'feels_like': 11.93, 'temp_min': 8.89, 'temp_max': 13.89, 'pressure': 941, 'humidity': 95}, 'visibility': 10000, 'wind': {'speed': 2.34, 'deg': 346, 'gust': 3.21}, 'clouds': {'all': 100}, 'dt': 1619620423, 'sys': {'type': 3, 'id': 2007106, 'country': 'ES', 'sunrise': 1619586428, 'sunset': 1619636811}, 'timezone': 7200, 'id': 6358153, 'name': 'Soraluze / Placencia de las Armas', 'cod': 200}
Package: owm-api-mugan86
Open Weather Map API Python PackagePackage that take current and forecast weather in select location.Location options:By CityBy Geographic Location Coordinates.Install intructionsWindowspip install owm-api-mugan86Linux / MacOSxpip3 install owm-api-mugan86Available Languages to take info'af': 'Afrikaans',
'al': 'Albanian',
'ar': 'Arabic',
'az': 'Azerbaijani',
'bg': 'Bulgarian',
'ca': 'Catalan',
'cz': 'Czech',
'da': 'Danish',
'de': 'German',
'el': 'Greek',
'en': 'English',
'eu': 'Basque',
'fa': 'Persian (Farsi)',
'fi': 'Finnish',
'fr': 'French',
'gl': 'Galician',
'he': 'Hebrew',
'hi': 'Hindi',
'hr': 'Croatian',
'hu': 'Hungarian',
'id': 'Indonesian',
'it': 'Italian',
'ja': 'Japanese',
'kr': 'Korean',
'la': 'Latvian',
'lt': 'Lithuanian',
'mk': 'Macedonian',
'no': 'Norwegian',
'nl': 'Dutch',
'pl': 'Polish',
'pt': 'Portuguese',
'pt_br': 'Português Brasil',
'ro': 'Romanian',
'ru': 'Russian',
'sv': 'Swedish',
'sk': 'Slovak',
'sl': 'Slovenian',
'es': 'Spanish',
'sr': 'Serbian',
'th': 'Thai',
'tr': 'Turkish',
'uk': 'Ukrainian',
'vi': 'Vietnamese',
'zh_cn': 'Chinese Simplified',
'zhtw':  'Chinese Traditional',
'zu': 'Zulu'Use exampleCreate script file (For example:script.py)Take by city namefrom open_weather_api.constants import CURRENT, FORECAST
from open_weather_api.options.city import City

# Configuration
config = dict(
    key='<api-key>',
    units='metric',      # metric
    lang='es',      # Select language from available language codes
    type=CURRENT    # (OR FORECAST)
)

city = City(config, "Bilbao")

result = city.get_data()

print(result)Result{'coord': {'lon': -2.9253, 'lat': 43.2627}, 'weather': [{'id': 803, 'main': 'Clouds', 'description': 'muy nuboso', 'icon': '04d'}], 'base': 'stations', 'main': {'temp': 12.68, 'feels_like': 11.99, 'temp_min': 12.22, 'temp_max': 13.33, 'pressure': 1009, 'humidity': 76}, 'visibility': 10000, 'wind': {'speed': 3.09, 'deg': 310}, 'clouds': {'all': 75}, 'dt': 1619620260, 'sys': {'type': 1, 'id': 6395, 'country': 'ES', 'sunrise': 1619586540, 'sunset': 1619636945}, 'timezone': 7200, 'id': 3128026, 'name': 'Bilbao', 'cod': 200}Take by Location Geographic (Latitude / Longitude)from open_weather_api.constants import CURRENT, FORECAST
from open_weather_api.options.coordinates import Coordinates

# Configuration
config = dict(
    key='<api-key>',
    units='m',      # metric
    lang='es',      # Select language from available language codes
    type=CURRENT    # (OR FORECAST)
)

city = Coordinates(config, '43.1736976', '-2.41297')

result = city.get_data()

print(result)Result{'coord': {'lon': -2.413, 'lat': 43.1737}, 'weather': [{'id': 804, 'main': 'Clouds', 'description': 'nubes', 'icon': '04d'}], 'base': 'stations', 'main': {'temp': 12.18, 'feels_like': 11.93, 'temp_min': 8.89, 'temp_max': 13.89, 'pressure': 941, 'humidity': 95}, 'visibility': 10000, 'wind': {'speed': 2.34, 'deg': 346, 'gust': 3.21}, 'clouds': {'all': 100}, 'dt': 1619620423, 'sys': {'type': 3, 'id': 2007106, 'country': 'ES', 'sunrise': 1619586428, 'sunset': 1619636811}, 'timezone': 7200, 'id': 6358153, 'name': 'Soraluze / Placencia de las Armas', 'cod': 200}
Package: owmeta
A unified, simple data access library in Python for data, facts, and models ofC. elegansanatomy for theOpenWorm projectWhat does it do?Enables a simple Python API for asking various questions about the cells of theC. elegans, enabling the sharing of data aboutC. elegansfor the purpose
of building adata-to-model pipelinefor the OpenWorm project. In addition, it is a repository for various iterations
of inferred / predicted data aboutC. elegans. Uncontroversial facts and
inferred information are distinguished through the use of explicit Evidence
references.
Package: owmpy
Open Weather MappyWrapper to interact with theOpen Weather MapCurrent Weather Data API. Install from pip under the nameowmpy.UsageImport the class and make requests.importasynciofromosimportgetenvfromowmpy.currentimportCurrentWeatherasyncdefmain():# Get a weather token from openweathermap.orgasyncwithCurrentWeather(appid=getenv("WEATHER_TOKEN"))asweather:response=awaitweather.get((0,0))print(response)if__name__=="__main__":loop=asyncio.new_event_loop()asyncio.set_event_loop(loop)loop.run_until_complete(main())Optionally, you can supply your own ClientSession:importaiohttpweather=CurrentWeather(appid="token",client=aiohttp.ClientSession())Buildingrm-rdist
python-mbuild
twineupload'dist/*'
Package: own-blockchain-sdk
OwnBlockchainSdkPythonOwn Blockchain SDK for PythonQuick Start$gitclonehttps://github.com/OwnMarket/OwnBlockchainSdkPython.git
$cdown_blockchain_sdkRun tests:$pytestUsageOwn Blockchain SDK can be used as a pip package.$pipinstallown-blockchain-sdkor$python-mpipinstallown-blockchain-sdkUse the package in Python codefromown_blockchain_sdkimportWallet,Tx# Create a new walletwallet=Wallet()print('PK =',wallet.private_key,', Address = ',wallet.address)# Compose a transaction with nonce = 1 and action fee 0.01tx=Tx(wallet.address,1,0.01)tx.add_transfer_chx_action('CHxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',100)# Transfer 100 CHX to CHxxx... address.# Look at the raw transaction in JSON formatprint(tx.to_json())# Sign the transaction for submission to node API on TestNetnetwork_code='OWN_PUBLIC_BLOCKCHAIN_TESTNET'print(tx.sign(network_code,wallet.private_key))
Package: owners
ownersCLI tool to inspectCODEOWNERSfiles: show unowned and owned directories, get owned paths for a user, find owners for a given path.Installationpython3-mpipinstallownersUsageShow paths owned by the given user or group:python3-mownersowned-by@some-user-nameShow owners of the given file or directory:python3-mownersowners-ofsome/local/pathPrint a colorful tree of all directories and their owners:python3-mownerstree
Package: ownet
ownet: access 1-wire sensorsownet is a standalone python module for accessing 1-wire sensors
through an owserver. The ownet module does not use the core ow
libraries. Instead, it impliments the wire protocol for owserver
communication. This means that the ow core libraries do no have to be
installed on all systems, just on the system running owserver. The
ownet module can be installed on any system with Python.
Package: own-knowledge-gpt
title: Own Knowledge GPT
emoji: 🚀
colorFrom: indigo
colorTo: red
sdk: gradio
sdk_version: 4.2.0
app_file: app.py
pinned: false
license: mitOwn-Knowledge-GPTIntroductionWelcome to the Own-Knowledge-GPT, this is a demo project that allow you want your Chat bot can learn anything you wantThis project is built by Python and integration with OpenAI API which use GPT-3.5-turbo modelGetting Started1. Environment SetupThe project is built in python 3.9+. You need to install python 3.9 or latergit clone git@hf.co:spaces/myn0908/Own-Knowledge-GPTFor install dependencies:pip install -r requirements.txtHow to useThis project use Gradio to build User Interface, please use:python app.pyEnjoy project with step by step follow this:Bot Learning with URLPlease input URL and your file format and then press Training button, when the training process is finished, it's will notice you Training CompletedAfter that, you can starting chat with your custom bot about the topic in your URLThe vector index storage by this structure:
Package: ownpaste
ownpaste is a pastebin web application, designed to be used as a
personal/private pastebin.This project is motivated by the difficulty of maintain a public pastebin
service nowadays, without time expiration and heavy spam filters. This is
the reason why services likehttp://paste.pocoo.org/are shutting down.A simple private pastebin application, that you can run by yourself, that
provides a nice RESTful API, allowing the creation of cool clients, and that
can highlight your files nicely, without the risk of get offline tomorrow
due to spam issues looks like a nice idea in this current scenario.ownpaste uses theFlaskweb framework (and some of its extensions), thePygmentssyntax highlighter and a few other well-knownPythonlibraries.Please read the documentation for details:http://ownpaste.rtfd.org/
Package: ownphotos-client
Lets you interact with anOwnphotosbackend server.Installation:pip3 install ownphotos-clientExample:#!/usr/bin/python3
from ownphotos_client import OwnphotosAPI

if __name__ == "__main__":
    username = "admin"
    password = "admin"
    url= 'https://ownphotos.gnethomelinux.com/'
    a = OwnphotosAPI(url, username, password)
    print(a.avilable())
    for i in a.get_user_photos()["results"]:
        for cover in i["cover_photos"]:
            image_data = a.get_thumbnail(cover["image_hash"])
            with open("/tmp/" + cover["image_hash"] + ".jpg",'wb') as w:
                w.write(image_data)
Package: ownrepo
OwnRepo is a Python packages repository, built with Python 3 and Flask, which
features multiple repository in a single running instance, support for public
and private repositories, users and a powerful ACL system in order to limit
access for some of your users.QuickstartIt’s really easy to set up a working OwnRepo instance:$ pip install ownrepo
$ ownrepo init --sample storage_directory
$ cd storage_directory
$ ownrepo runThese commands will fetch and install OwnRepo from PyPI,  create a new storage
directory located atstorage_directory/, and from within of it run
OwnRepo.The--sampleflag will initialize the storage directory with some sample
data: two repositories, one with public access (calledpublic) and another
with restricted access (calledprivate). It will also create an user
calledadmin(with passwordadmin), who will have full read and write
access on both repositories.
Package: owntwin
OwnTwin CLIOwnTwin CLI is a toolchain forOwnTwin, a user-driven digital twin framework.Installationpip install owntwinNote for Windows users:Fionais required to be preinstalled.UsageSee thedocumentationfor details.owntwin init
owntwin add-terrain
owntwin add [module names...]
owntwin export
owntwin view
Package: owo
# owo.pyA wrapper that was written inside of Python that allows for you to upload images to the owo.whats-th.is and shorten URLs through uwu.whats-th.is. Allows for both methods through Async and Non-Async. (Suppports py2)# Instructions1. Gain a API key in order to be actually able to use the service.2. Run the command `pip install owo`.3. Check the usage below to find some basic examples of how to use the script.### Mobile DevicesFor use on Android devices using [Termux](https://termux.com/), the Termux:API package is required to use the background monitor.You will need to install using your device's app store AND by running `$ apt install termux-tools termux-api`**It is also REQUIRED to do the following after installing, or it will not work!**```bash$ owo-fix```The background monitor watches for new files in a directory (usually a screenshots folder) and uploads those new files.The program accepts several command-line flags.```$ owo-bg --helpusage: bg.py [-h] [-p PATH] -k KEY [-u URL] [-tts]optional arguments:-h, --help            show this help message and exit-p PATH, --path PATH  Path to check file updates-k KEY, --key KEY     API Key-u URL, --url URL     Base vanity url to use-tts                  Confirm message over tts | Mobile only```The base url can be any of the owo.whats-th.is vanity urls.**Example Use**`$ owo-bg -p "/storage/Pictures/Screenshots" -k "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -u "https://i.am-a.ninja/"`This starts a background task monitoring `/storage/Pictures/Screenshots/` for new files, uploads those files and returns the link, using the vanity url [https://i.am-a.ninja/](https://i.am-a.ninja/)# UsageBasic usage of the script is like so.**Image Uploading**```pythonimport owoowo.upload_files(API_KEY, "file.png", "file.py")```returns something like..```python{"file.png": "url", "file.py": "url"}```**URL Shortening**```pythonimport owoowo.shorten_urls(API_KEY, "url1","url2")```returns something like..```python["shortened url 1","shortened url 2"]```For more powerful/better examples please check /examples/.# Contribute1. Fork repo.2. Edit code.3. Make a PR.4. Submit said PR.# LicenseA copy of the MIT license can be found in `LICENSE.md`.
Package: owoer
OwoerOwoify your text quickly with this "handy" module or (please don't this was my first time making a pip package) copy the code and put it into yours...Installationpython3 -m pip install owoifyerUsagefromowoerimportowoifytext="Hello there, how are you on this fine evening?"owo_text=owoify(text)print(owo_text)# Hewwo thewe, how awe you on this finy evenyng?Yes I was very bored,no I am not a furry.
Package: owoi-audiotoclip
OWOI_AudioToClipPython module used for the school project OWOI (One Word One Image)InstallationAfter git cloning the repository, you can install the dependencies with the following command:poetryinstallCredentialsPlease provide your credentials in the following environment variables:exportGOOGLE_APPLICATION_CREDENTIALS="path/to/credentials.json"exportGOOGLE_IMAGES_SEARCH_TOKEN="token"exportGOOGLE_SEARCH_ID="id"ClassesTranscriptFactoryThis class is used to create a transcript from a text file. It will create a list of words and a list of timestamps.fromowoi_audio_to_clip.TranscriptFactoryimportTranscriptFactorytranscript_factory=TranscriptFactory(gcs_uri="gs://bucket/file.mp3")Methods:transcribe_audio_to_text() -> list[dict]: transcribe audio to text from the gcs_uri and returns a list of dict with the following keys: "word", "start_time" and "end_time"get_word_timestamps() -> list[dict]: returns a list of dict with the following keys: "word", "start_time" and "end_time"This Class should be used to create a transcript from a text file before creating a clip with the ClipMakerFactory.ClipMakerFactoryThis class is used to create a clip from a transcript.fromowoi_audio_to_clip.ClipMakerFactoryimportClipMakerFactoryclip_maker_factory=ClipMakerFactory(video_name,username,transcript,gcs_bucket_name,local_storage_path,gcs_audio_name,with_subtitles=True)Params:video_name:str -> name of the videousername:str -> name of the usertranscript:list[WordTimestamp] -> list of WordTimestampgcs_bucket_dest:str -> name of the gcs bucket destinationlocal_storage:str -> path to the local storage destinationgcs_audio_path:str -> path to the audio file in the gcs bucketwith_subtitles:bool -> if True, subtitles will be added to the videoMethods:clip_maker(word_timestamps: list[WordTimestamp]) -> VideoFileClip: creates a clip from the transcript and returns a VideoFileClipFunctionsUtilsfromowoi_audio_to_clip.utilsimportupload_audio_to_gcs,upload_video_to_gcs,purge_local_storage_imagesupload_audio_to_gcs(bucket_name,username,audio_name,local_storage_path)upload_video_to_gcs(bucket_name,username,video_name,local_storage_path)purge_local_storage_images(local_storage_path)download_audio_from_youtube(youtube_url,local_dest,username,audio_name,start_time,end_time,gcs_bucket_name)download_audio_from_youtubeThis function is used to download an audio file from a youtube video, and upload it to the gcs bucket.Params:youtube_url:str -> url of the youtube videolocal_dest:str -> path to the local storage destination (where the audio file will be downloaded, the program will create a folder with the username, and put the audio in an 'audios' folder)username:str -> name of the useraudio_name:str -> name of the audio filestart_time:str -> start time of the audio file extracted from the youtube videoend_time:str -> end time of the audio file extracted from the youtube videogcs_bucket_name:str -> name of the gcs bucket destination
Package: owoifier
This is a translator that translates English text to OwO using magic.Why?Yes. 🙂UsageThe basic usage is as follows:$ owoifier -t "Hello world!"
Hewwo wowwd!You can also pipe stuff toowoifier:$ fortune | owoifier
NYANCY!!  Why is evewything WED?!
$ git status | owoifier -p -s
*nuzzles* On bwanch main
Youw bwanch is up to date with 'owigin/main'.

nyothing to commit, wowking twee cwean ^w^For more information about the accepted arguments, runowoifier --help.
Package: owoify-py
owoify-pyTurning your worst nightmare into a Python package.Python packageThis is a Python port ofmohan-cao's owoify-js, which will help you turn any string into nonsensical babyspeak similar to LeafySweet's infamous Chrome extension.Just like my other Owoify ports, three levels of owoness are available:owo (default): The most vanilla one.uwu: The moderate one.uvu: Litewawwy unweadabwal.Please refer to the originalowoify-js repositoryfor more information.Seriously, if you have seen my other ports, you probably have already known the details.Reason for developmentPyPI does already have several owoify packages, but just like owoify packages on Crates.io, they don't provide different leves of owoness. And recently I need to make a Discord bot in Python as well, so here is your owoifer in Python.Install instructionsCreate a virtual environment for your project, and run this following command after activating the virtual environment:pipinstallowoify-pyUsageowoify.py is implemented as a simple function. That means you only need to import the function and call it inside your code. The difference is that this time the owoness is specified with strings, i.e.owo,uwu, anduvu.if__name__=='__main__':print(owoify('This is the string to owo! Kinda cute isn\'t it?'))print(owoify('This is the string to owo! Kinda cute isn\'t it?',Owoness.Uvu))# Output:# This is teh stwing two owo! Kinda cute isn't it?# fwis is teh stwing twowo owowowo ʕ￫ᴥ￩ʔ Kinda cute isn't it?DisclaimerAs usual, I'm writing this package for both practicing and bots' needs.Performanceis NOT guaranteed.See alsoowoify-js- The original owoify-js repository.owoify- The existing owoify package on PyPI.Owoify.Net- The C# port of Owoify written by me.Owoify++- The C++ header-only port of Owoify written by me.owoify_rs- The Rust port of Owoify written by me.
Package: owon-psu
Owon SPEx103 PSU python control libraryThis library works with the Owon SPE6103 and SPE3103 power supplies.
Kiprim devices "DC310S" and "DC605S" are also supported.InstallationThe easiest way to install is straight fromthe pypi projectusing pip:pip install owon-psuExample Usage with context managerfromowon_psuimportOwonPSUwithOwonPSU("/dev/ttyUSB0")asopsu:print("Identity:",opsu.read_identity())print("Measured Voltage:",opsu.measure_voltage())print("Measured Current:",opsu.measure_current())print("Set Voltage:",opsu.get_voltage())print("Set Current:",opsu.get_current())print("Set Voltage Limit:",opsu.get_voltage_limit())print("Set Current Limit:",opsu.get_current_limit())opsu.set_voltage(20)opsu.set_current(2)opsu.set_voltage_limit(30)opsu.set_current_limit(3)print("Output enabled:",opsu.get_output())opsu.set_output(True)Example Usage without context managerfromowon_psuimportOwonPSUopsu=OwonPSU("/dev/ttyUSB0")print("Identity:",opsu.read_identity())print("Voltage:",opsu.measure_voltage())print("Current:",opsu.measure_current())print("Set Voltage:",opsu.get_voltage())print("Set Current:",opsu.get_current())print("Set Voltage Limit:",opsu.get_voltage_limit())print("Set Current Limit:",opsu.get_current_limit())opsu.set_voltage(20)opsu.set_current(2)opsu.set_voltage_limit(30)opsu.set_current_limit(3)print("Output enabled:",opsu.get_output())opsu.set_output(True)
Package: owopy
This is the GitHub for the Python module OwOpy! This module OwOifies your sentence better than any other. Available in both synchronous (normal) form and asynchronous (async/await syntax) form.
By “OwOifies your sentence” I mean it turns your sentence into japanese “furry” baby babblespeak :>It has 2 functions - owoify(‘example_string’) and aio_owoify(‘example_string’). The aio_owoify must be used in async form to prevent errors.If you do not know the difference between sync and async, it is recommended to use the normal owoify() (synced function) as it is the most basic and is used for most programs and applications.Note that python 3.6 or above is required due to the use of F-strings in the source code.Enjoy using it 💻Change Log0.0.1 (07/04/2020)First release
Package: o-words
co-wordsWhat is it?co-words, or co-occurring words, is a Python package enabling counting of co-occuring words in a set of documents.co-wordsallows users to find which documents share words, which words co-occur together the most often, calculate co-occurrence counts over time, and several other text analysis components.Dependenciesscikit-learn0.18 or highernltk3.4 or higherpandas0.23 or higherInstallation# PyPi
pip install co-words