Saravanan666/pypi-org huggingface dataset:
Package: rawdog-ai
RawdogAn CLI assistant that responds by generating and auto-executing a Python script.https://github.com/AbanteAI/rawdog/assets/50287275/1417a927-58c1-424f-90a8-e8e63875dcdaYou'll be surprised how useful this can be:"How many folders in my home directory are git repos?" ... "Plot them by disk size.""Give me the pd.describe() for all the csv's in this directory""What ports are currently active?" ... "What are the Google ones?" ... "Cancel those please."Rawdog (Recursive Augmentation With Deterministic Output Generations) is a novel alternative to RAG
(Retrieval Augmented Generation). Rawdog can self-select context by running scripts to print things,
adding the output to the conversation, and then calling itself again.This works for tasks like:"Setup the repo per the instructions in the README""Look at all these csv's and tell me if they can be merged or not, and why.""Try that again."Please proceed with caution. This obviously has the potential to cause harm if so instructed.QuickstartInstall rawdog with pip:pip install rawdog-aiExport your api key. SeeModel selectionfor how to use other providersexport OPENAI_API_KEY=your-api-keyChoose a mode of interaction.Direct: Execute a single prompt and closerawdog Plot the size of all the files and directories in cwdConversation: Initiate back-and-forth until you close. Rawdog can see its scripts and output.rawdog
>>> What can I do for you? (Ctrl-C to exit)
>>> > |Optional Arguments--leash: (default False) Print and manually approve each script before executing.--retries: (default 2) If rawdog's script throws an error, review the error and try again.Model selectionRawdog useslitellmfor completions with 'gpt-4-turbo-preview' as the default. You can adjust the model or
point it to other providers by modifying~/.rawdog/config.yaml. Some examples:To use gpt-3.5 turbo a minimal config is:llm_model:gpt-3.5-turboTo run mixtral locally with ollama a minimal config is (assuming you haveollamainstalled and a sufficient gpu):llm_custom_provider:ollamallm_model:mixtralTo run claude-2.1 set your API key:exportANTHROPIC_API_KEY=your-api-keyand then set your config:llm_model:claude-2.1If you have a model running at a local endpoint (or want to change the baseurl for some other reason)
you can set thellm_base_url. For instance if you have an openai compatible endpoint running athttp://localhost:8000you can set your config to:llm_base_url: http://localhost:8000
llm_model: openai/model # So litellm knows it's an openai compatible endpointLitellm supports a huge number of providers including Azure, VertexAi and Huggingface. Seetheir docsfor details on what environment variables, model names
and llm_custom_providers you need to use for other providers.
Package: rawdump
_____                _____                        
 |  __ \              |  __ \                       
 | |__) |__ ___      _| |  | |_   _ _ __ ___  _ __  
 |  _  // _` \ \ /\ / / |  | | | | | '_ ` _ \| '_ \ 
 | | \ \ (_| |\ V  V /| |__| | |_| | | | | | | |_) |
 |_|  \_\__,_| \_/\_/ |_____/ \__,_|_| |_| |_| .__/ 
                                             | |    
                                             |_|已实现功能支持Windows、Linux、Macos端抓包支持根据网卡、协议、ip、端口、包体中的关键字等进行过滤（过滤以流为单位）支持生成pcap文件待实现功能支持过滤包含RST包的流支持字体染色使用方法$pipinstallrawdump
$rawdump-ilo-Hip-Pport--keywordtest-w1.pcap参数说明：-i/--interface: 指定要抓包的网卡，Windows系统使用网卡序号，其它系统使用网卡名；不指定会抓所有网卡包-p/--protocol: 要过滤的协议，如：tcp、udp、icmp，默认抓所有ip包-H/--host: 要过滤的ip地址-P/--port: 要过滤的端口（只支持TCP和UDP）--keyword: 要过滤的关键字-w/--file: 要保存的文件名，默认值为：rawdump.pcap使用限制Windows下需要Administrator权限，其它系统需要root权限。
Package: rawfinder
RawFinder - Find a corresponded raw fileWhat is it?This script find a corresponded raw files for jpeg files in a directory.How to install$pipinstallrawfinderHow to use$rawfinder-h

usage:rawfinder[-h][-dDST][jpeg][raw]Findcorrespondrawfiles

positionalarguments:jpegdirectorywithjpegfilesrawdirectorywithsourceRAWfiles

options:-h,--helpshowthishelpmessageandexit-dDST,--dstDSTdestinationdirExampleFind raw files in ~/Pictures/raw folder for jpeg files in current
folder, copy them torawfolder inside current folder (name by
default):$rawfinder.~/Pictures/raw-dst./rawDevelopmentInstall$poetryinstallTests$poetryrunmaketestLinters$poetryrunmakeformat
Package: rawg-export-user-collections
rawg_export_user_collectionsExportpublicuser's collections from theRAWG.IOvideo game database.Installationpipinstallrawg_export_user_collectionsOptions--user_slug USER_SLUG                User slug from which we get collections.

--export_folder_path EXPORT_FOLDER_PATH  Path where to export the file.UsageGet user slug from user profile page inrawg.io:Run command:rawg_export_user_collections--user_slug=user_slug--export_folder_path=F:\BackupExported json:{"count":2,"collections":[{"id":25121,"name":"Test collection 2","slug":"test-collection-2-2","url":"https://rawg.io/collections/test-collection-2-2","description":"","games_count":2,"created":"2022-10-17T16:46:55.253839Z","updated":"2022-10-17T16:47:55.254037Z","games":[{"id":19369,"name":"Call of Duty","slug":"call-of-duty","url":"https://rawg.io/games/call-of-duty","released":"2003-10-29","tba":false,"rating":4.19,"updated":"2022-10-16T17:47:34","genres":["Action","Shooter"],"platforms":["macOS","PC","Xbox 360","PlayStation 3"]},{"id":56114,"name":"Medal of Honor: Frontline","slug":"medal-of-honor-frontline","url":"https://rawg.io/games/medal-of-honor-frontline","released":"2002-05-28","tba":false,"rating":3.92,"updated":"2022-09-17T03:52:26","genres":["Shooter"],"platforms":["PlayStation 3","Xbox","GameCube","PlayStation 2"]}]},{"id":25120,"name":"Test collection 1","slug":"test-collection-1","url":"https://rawg.io/collections/test-collection-1","description":"","games_count":3,"created":"2022-10-17T16:45:50.825922Z","updated":"2022-10-17T16:46:37.110669Z","games":[{"id":5679,"name":"The Elder Scrolls V: Skyrim","slug":"the-elder-scrolls-v-skyrim","url":"https://rawg.io/games/the-elder-scrolls-v-skyrim","released":"2011-11-11","tba":false,"rating":4.42,"updated":"2022-10-13T10:58:37","genres":["Action","RPG"],"platforms":["PC","Nintendo Switch","Xbox 360","PlayStation 3"]},{"id":3498,"name":"Grand Theft Auto V","slug":"grand-theft-auto-v","url":"https://rawg.io/games/grand-theft-auto-v","released":"2013-09-17","tba":false,"rating":4.47,"updated":"2022-10-15T12:05:16","genres":["Action","Adventure"],"platforms":["PC","Xbox Series S/X","PlayStation 4","PlayStation 3","Xbox 360","Xbox One","PlayStation 5"]},{"id":10615,"name":"System Shock 2","slug":"system-shock-2","url":"https://rawg.io/games/system-shock-2","released":"1999-08-11","tba":false,"rating":4.14,"updated":"2022-10-03T11:21:32","genres":["Action","Shooter","RPG"],"platforms":["PC","macOS","Linux"]}]}]}
Package: rawgithub
rawgithub is a simple wsgi server that allows you to serve a file from Github even if you need to provide an access_token.Just do:GET /:owner/:repo/:file?[access_token=<your_token>]&[ref=master]And that’s all.Run the servicepserve rawgithub.iniRun with WSGI# -*- coding: utf-8 -*-importoscfg_dir=os.path.dirname(__file__)env_dir=os.path.join(cfg_dir,'var','venv')activate_this=os.path.join(env_dir,'bin','activate_this.py')execfile(activate_this,dict(__file__=activate_this))frompyramid.pasterimportget_app,setup_loggingini_path=os.path.join(cfg_dir,'rawgithub.ini')setup_logging(ini_path)application=get_app(ini_path,'main')
Package: rawgpy
RAWGpy quickstartThe RAWGpy RAWG.io API wrapper uses the rawgpy.rawg.RAWG as a main class that the users accesses.You can use the RAWGpy wrapper with or without authenticating.import rawgpy

rawg = rawgpy.RAWG("User-Agent, this should identify your app")
results = rawg.search("Warframe")  # defaults to returning the top 5 results
game = results[0]
game.populate()  # get additional info for the game

print(game.name)

print(game.description)

for store in game.stores:
    print(store.url)

rawg.login("someemail@example.com", "somepassword")

me = rawg.current_user()

print(me.name) # print my name, equivalent to print(self.username)

me.populate() # gets additional info for the user

for game in me.playing:
    print(game.name) # prints all the games i'm currently playing
Package: rawgql
rawgqlis a simple Python 3 framework for interacting with GraphQL endpoints.
There is very little to it; the GraphQL class simply accepts a raw query or
mutation passed as a string or file, packages it with the necessary headers
and optional query variables, and returns a python dictionary with the result.There is little to no error checking, however there is a small pytest test
suite.By default, the script will attempt to locate anauth.jsonfile in a folder
namedgql/in your project's working directory. Additionally, query files
can be stored in this folder and can be called fromGraphQL.query()by
filename.GraphQL.query()also accepts passed strings. An optional argument
for query variables is available as well.Check the function signatures and docstrings for more information. All of the
default folders and filenames can be changed with environmental variables or
by overriding after importing the module.
Package: rawhdr
RawhdrA simple HDR image fuser that converts multiple RAW files into a single HDR image.InstallationInstallation via thePython Package Index:$> pip install rawhdrCommand-Line UsageMerging HDR ImagesUse the command-line toolrawhdrto fuse multiple RAW images into a single high-dynamic-range image.$> rawhdr hdr-fuse -o fused-hdr.exr base-exposure.RAW under-exposed.RAW over-exposed.RAWAll common RAW file formats are supported.Note: if you want to save to OpenEXR format and get the errorValueError: Could not find a format to write the specified file in mode 'i'fromimageio, you might need to installfreeimage, as documentedhere.Focus StackingFocus-stacking works similar to HDR fusion:$> rawhdr focus-stack --output result.exr image-1.NEF image-2.NEF image-3.NEF …DocumentationSeefthaler.github.io/rawhdrfor the full documentation, including Python API.
Package: rawhttpy
RawHTTPyRawHTTPy is a Python package to parse raw HTTP requests into an object, ready to be used to send HTTP requests with web python libraries such as requests or httpx.This library is very useful when you have to replicate an HTTP request inside your python code but it takes too long to write down all the headers and body parameters (plus all the lines of code it takes).With RawHTTPy you can pass the raw request as a string to the RawHTTPy class. You will get back an object with the following properties:urlhostheadersbodypath (url path)methodhttp_versionssl (bool)NOTEAt the moment RawHTTPy only supports JSON and raw data bodies. It's not functional for file upload requests.UsagePython projectLet's assume we have captured a request with a web proxy (e.g. BurpSuite) and we pasted the HTTP request inside the fileraw_http_req.txt.POST /login HTTP/2
Host: example.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0
Cookie: session=qwerty123456
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Referer: https://duckduckgo.com/
Upgrade-Insecure-Requests: 1
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: cross-site
Sec-Fetch-User: ?1
If-Modified-Since: Sat, 30 Dec 2023 15:44:33 GMT
If-None-Match: "65903ae1-83ac"
Te: trailers

username=admin&password=passfromrawhttpyimportRawHTTPyimportrequests# read the raw http request from a text filewithopen("raw_http_req.txt","r")asf:raw_req=f.read()# initialize the RawHTTPy objectrh=RawHTTPy(raw_req)# you can change all the fields before sending the requestrh.headers['User-Agent']='RawHTTPy Mozilla/5.0'rh.body['username']='superadmin'rh.body['password']='securepass'# add a new item to the body propertyrh.body['login']='1'# add a new headerrh.headers['X-MyHeader']='xyz'# send the requestres=requests.post(rh.url,headers=rh.headers,data=rh.body)CLIYou can runrawhttpy {req_file}from your CLI to check how the HTTP request will be parsed.
Package: rawimage
RawImageRawImageis the package for reading and writing images (data arrays) in RAW format so that they can be easily read by the ImageJ.InstallationThe easiest way to install the latest version is by using pip:$ pip install rawimageYou may also use Git to clone the repository and install it manually:$ git clone https://github.com/ashkarin/rawimage.git
$ cd rawimage
$ python setup.py install
Package: raw-image-converter
Python Image ConverterThe Python Image Converter is a user-friendly CLI tool designed for hassle-free batch conversion of image files.FeaturesBulk Conversion:Say goodbye to the tedious one-by-one image conversion. Convert hundreds of images at once.Supported File Types:DNG, CR2, CRW, NEF, PEF, ERF, ORF, PPM, MOS, MRF, MRW, SRW, PSD, TIF, and more.Fast:Multi-core support.Customizable Output:Specify your converted images' output directory, resolution, and formatInstallUsing pip (recommended)$pip3installraw_image_converterRunning it from the repogitclonehttps://github.com/achimoraites/Python-Image-Converter.git[my-app-name]cd[my-app-name]pipinstall-rrequirements.txtpython-mraw_image_converter--s<Enter-Path-Of-Directory>Example usageArguments-s, --src(required): set the path to the directory you want to convert (source)!-t, --tgt: where to store the converted images (target); by default, they are stored in the "converted" folder.-d, --delete-source-directory: removes the directory with the original images (source).-r, --resolution: allows to set the converted image resolutions; you can use numbers or percentages: e.g., 75% -> width and height are 75% of the original size, 1000,1500 -> width to 1000px and the height to 1500px-e, --ext: specify the output image format for the converted images; by default, it is JPG. Valid options are:.jpg.png# simple usage
 raw_image_converter -s <Enter-Path-Of-Directory>

 # set a custom target image format
 raw_image_converter --s <Enter-Path-Of-Directory> --ext '.png'

 # Advanced usage 1
 raw_image_converter -s images -t converted/png -r 25% -e .png -d

 # Set custom resolution 1
 raw_image_converter -s images -t converted/jpg -r 1024,768

 # Set custom resolution 2
 raw_image_converter -s images -t converted/jpg -r 50%,33%And you are done!ScreenShotContributors
Package: rawimg
Installationpypi:pip install rawimggithub:pip install -e git+http://github.com/satonaoya/rawimg.git#egg=rawimgUsagePreview raw images:$ rawimg preview yourfile.raw -s 256x256Save the image under the given filename:$ rawimg save yourfile.raw -s 256x256 -o new.rawAuthorSATO NaoyaLicenseMIT License
Package: raw-import
raw-importis a fork ofghp-importto be more generic on branch name under Git repository,It’s possible to generate documentation witSphinx, and publish the result ofmake htmlunder the specify branchBig Fat WarningThis willDESTROYyour dedicate branch. If you love it, you’ll want to take
backups before playing with this. This script assumes that pages is 100%
derivative. You should never edit files in your gh-pages branch by hand if
you’re using this script because you will lose your work.UsageUsage: raw-import [OPTIONS] DIRECTORY

Options:
  -m MESG     The commit message to use on the gh-pages branch.
  -p          Push the branch to origin/gh-pages after committing.
  -r REMOTE   The name of the remote to push to. [origin]
  -b BRANCH   The name of the dedicate branch. [pages]
  -h, --help  show this help message and exitIts pretty simple. Inside your repository just runraw-import$DOCS_DIRwhere$DOCS_DIRis the path to thebuiltdocumentation. This will write a
commit to yourdedicatebranch with the current documents in it.If you specify-bit can be possible to specify the name of the branch.If you specify-pit will also attempt to push thededicatebranch to
GitHub. By default it’ll just rungit push origin pages. You can specify
a different remote using the-rflag.Licenseraw-import is distributed under the same license as ghp-import
(the Tumbolia Public License. See the LICENSE file for more information).
Package: rawkit
rawkit(pronouncedrocket) is a ctypes-basedLibRawbinding for
Python inspired by theWandAPI.fromrawkit.rawimportRawfromrawkit.optionsimportWhiteBalancewithRaw(filename='some/raw/image.CR2')asraw:raw.options.white_balance=WhiteBalance(camera=False,auto=True)raw.save(filename='some/destination/image.ppm')for more info, see thedocs
Package: rawls
RAW Light Simulation reader/converter packageDescriptionGlobal illumination methods based on stochastic techniques provide photo-realistic images. These methods are generally based on path tracing theory in which stochastic paths are generated from the camera point of view through each pixel toward the 3D scene.rawlsis a Python package developed during a thesis project. It enables to manage.rawlsimage file extension. The image extension.rawlsis used to store all samples values of images obtained during rendering of synthesis images. This output extension is available in a custom version ofpbrt-v3details.InstallationpipinstallrawlsHow to use ?To use, simply do:fromrawls.rawlsimportRawlspath='images/example_1.rawls'rawls_img=Rawls.load(path)rawls_img.save('output.png')ClassesThis project contains usefull classes.Rawls:Manage.rawlsfile dateRawlsStats:Enables to merge.rawlsimage files and extract statisticsAll these classes will be enhanced during development of the package. Documentation is availablehere.How to contributePlease refer to theguidelinesfile if you want to contribute!ContributorsjbuisineLicenseMIT
Package: raw-pillow-opener
raw-pillow-openerraw-pillow-openeris asimplecamera raw opener forPillowbase onrawpylibrary.InstallationYou can installraw-pillow-openerfromPyPi:pip install raw-pillow-openeror from GitHub:pip install https://github.com/samuelduann/raw-pillow-opener/archive/master.zipHow to usefrom PIL import Image

from raw_pillow_opener import register_raw_opener

register_raw_opener()

image = Image.open('TEST.NEF')
image.load()LicenseReleased underMIT License.
Package: rawprasslib
## RawPrassLibRawPrassLib provides Finnigan .raw file format decoder intended for loading Thermo/Finnigan spectra into python code.The project is in experimental state so please verify that it gives meaningful outputs in your case before reyling on it. The number of supported machines is very low at this time. If you would like to get your machine supported, please send me some sample spectrum/spectra. I do not guarantee that I will have free time to look at it, but it is worth trying.## Usage
RawPrassLib is designed to enable fast advanced data processing by python, which is not easily acessible with original software.>!#/usr/bin/env python3>from rawparse import load_raw>import numpy as np>import logging>…>…>chromatogram, masses, ion_scans = load_raw(filename)The chromatogram is np.array of times of acquisition and total ion current during these acquisitions. (np.array ([times[],intensities[]]))masses is np.array of the scanned masses from the lowest to the highest. As it should stay the same during whole acquisition only one masses array is provided. (np.array [mass])matrix is np.array of acquired intensities during each acquisition. It is two-dimensional np.array where the first dimension count should correlate with number of acquisition and the second dimension with the number of masses which were scanned during each acquisition.## Tested instruments
We’ve tested and optimized the code against TSQ-7000, LCQ Deca, LCQ Max and LTQ machines .raw output files.## Known drawbacks
Projet is still very experimental so not all formats and acquisition supported## Known benefits
The only file which has some real code has just 300 lines of codes.## Installation
>pip install rawprasslib
Package: rawproxy
Rawproxya tiny proxy server for raw.githubusercontent.comIt's so hard to fetch script fromhttps://raw.githubusercontent.comsometimes.
So I create this proxy server to maphttps://raw.githubusercontent/path/to/some/scriptstohttps://myhost/raw.githubusercontent/path/to/some/scripts.
and deploy it on cloud. Accessibility improvements will make your life easier!ExampleDeploy to ubuntu serverpython3 -m pip install rawproxy
sudo ln -s $(python3 -m site --user-site)/rawproxy/rawproxy.service /etc/systemd/system/rawproxy.service
sudo systemctl daemon-reload
sudo systemctl start rawproxy.service
Package: rawr-cli
This is a simple CLI for usingrarbgapito find a torrent,
then start fetching it witharia2.Usage$rawrgoldrush1925All categories will be searched, excepting ADULT.
To invert that behavior, pass-a.RequirementsIn addition to Python >=3.6, and the modulespipgets for you duringInstall:rawrneedsaria2cin thePATHif you want it to start a download for you.Before beginning a download,rawrwill show some info about your connection,
using the first method whose required command(s) are detected, checking in this order:mullvadnmcliandgrephttps(httpie)curlwgetIfxcliporpbcopyare found,
the chosen magnet URI will be copied to the clipboard.Ifdfis found, you will get a notice about your hardware’s free space
when showing search results.InstallMethod 1: pip, user-level$pip3install--userrawr-cliMethod 2: pipxpipxcan help you install tools from PyPI into isolated venvs:$pipxinstallrawr-cliMethod 3: zpyzpycan also help you install tools from PyPI into isolated venvs, withpipz:%pipzinstallrawr-cli
Package: rawscli
RAWSRAWS is a simple AWS Profile Manager with a command-line interface that helps you easily manipulate AWS profiles on your local machine.
RAWS will lookup location of your AWS credentials file through environment variableAWS_CREDS_FILE. If the variable is not set, it will default to~/.aws/credentials. You can also override the file location by specifing--creds_fileargument.InstallationYou can install the raws by cloning the repository and running pip install:gitclonegit@github.com:andzhi4/rawscdraws&&pipinstall.Using PyPi:pipinstallrawscliThis will display a list of available commands:raws -hAvailable commandsadd: Add a new AWS profile.delete: Delete an existing AWS profile.list: List all available AWS profiles.show: Show detailed information on specified profilesetdefault: Make specified profile defaultrename: Rename a profilebackup: backup credentials file (optionally provide location)restore: restore from a location or from latest backupversion: show current version and exitExamplesHere are a few examples of how to use the AWS Profile Manager:Show all available profiles:rawslistorrawslsShow details of thepersonalprofile:rawsshowpersonalAdd a new profile from clipboard (copied from AWS SSO page), set as default, rename topersonal:rawsaddcb--setdefault--rename_to=personalRename profilebusieness_13123towork:rawsrenamebusieness_13123workSetpersonalprofile as default:rawssetdefpersonalBackup current credentials file:rawsbackupRestore from the latest backup:rawsrestore--latestList all profiles in a backup file located in /home/user/backup/creds.bkpraws--creds_file=/home/user/backup/creds.bkplsContributingIf you find a bug or have an idea for a new feature, feel free to create an issue or submit a pull request.LicenseRAWS is released under the MIT License.