Saravanan666/pypi-org huggingface dataset:
Package: avatar-generator
Avatar GeneratorGenerates default avatars from a given string (such as username). This is
mainly for an usage in web apps, but you can also use it to populate LDAP
"jpegPhoto" field, for instance.Installationpip install avatar-generatorExample in a Flask appfrom avatar_generator import Avatar
from flask import make_response

@app.route("/photo.png")
def photo():
    avatar = Avatar.generate(128, "example@sysnove.fr", "PNG")
    headers = { 'Content-Type': 'image/png' }
    return make_response(avatar, 200, headers)LicenceThis code is underWTFPL. Just do what the fuck you want with it.
Package: avatarko-picture-getter
Avatarko picture getterTool to get random avatar fromhttps://avatarko.ruInstalationpip install avatarko_picture_getterUsageFor use as command line interface(cli)python -m avatarko_picture_getter [-o filepath]orfrom avatarko_picture_getter import AvatarkoPictureGetter

with open('some_picture.png', 'wb') as f:
    f.write(AvatarkoPictureGetter.get_avatar())
Package: avatars
多种风格SVG头像生成工具安装目前 Avatars 支持的 Python 环境有 2.7, 3.4, 3.5, 3.6, 3.7 和 pypy。为了简化安装过程，推荐使用 pip 进行安装pipinstallavatars升级 Avatars 到新版本:pip install -U avatars如果需要安装 GitHub 上的最新代码:pip install https://github.com/007gzs/avatars/archive/master.zip使用代码样例:from avatars.sprite import *
print(MaleSprite().create("张三"))
print(FemaleSprite().create("张三"))
print(IdenticonSprite().create("张三"))
print(BotttsSprite().create("张三"))
print(InitialsSprite().create("张三"))
Package: avatarsio
avatars-io-python=================Python avatar picker and uploader for Avatars.io.Current version of **avatarsio** is **0.1**; it's stable.Requirements, dependencies--------------------------`avatarsio` supports both Python 2 and Python 3 and is on[PyPi](http://pypi.python.org/pypi/avatarsio/).As described in `requirements.txt`, the only dependency is[`requests`](http://docs.python-requests.org) (HTTP for humans, because, well,it is awesome and should be built-in).You can install it from source or using `pip` (eg. in a virtualenv):pip install avatarsioUsage-----You don't really need the lib if you just want to get user avatars fromservices such as Twitter of Facebook. Just use the corresponding URL asexplained on [avatars.io](http://avatars.io/).The lib is useful for custom avatar upload. You need first to[register an app](http://apps.getchute.com/apps/new) on Chute. Then, it's quitestraightforward:```python>>> from avatarsio import AvatarsIO>>> avtio = AvatarsIO('my-client-id', 'my-access-token')# With a file name:>>> avtio.upload('kitten.png')"http://avatars.io/4fb6de143d242d44da000001/hashashash"# With a file object:>>> fobj = open('kitten.png', 'rb')>>> avtio.upload(fobj)"http://avatars.io/4fb6de143d242d44da000001/hashashash"# You can give a custom identifer:>>> avtio.upload('kitten.png', 'my-identifier')"http://avatars.io/4fb6de143d242d44da000001/my-identifier"# And obviously, build sersvice avatar URLs:# (but sersiouly, you don't need the lib for that)>>> AvatarsIO.avatar_url('twitter', 'my-identifier')"http://avatars.io/twitter/my-identifier"```Licence-------MITExtra stuff-----------Feel free to submit bug reports and improvements on the[bug tracker](https://github.com/Zopieux/avatars-io-python/issues).
Package: avblox-auth
Common ServicesCommon Backend microservices and API servicesRequirementspython >= 3.6.xpipDevelopment$python-mvenvvenv
$pipinstall-rrequirements
$exportFLASK_APP=avb_cs
$exportDATABASE_URL='db_connection_string'$flaskrunDeployment$zappaupdatedev||zappadeploydevDebuggingLocal environment:$ export FLASK_DEBUG=1AWS environment:$zappataildevDigaramsAWS VPC resources diagramLoad avblox-cs-vpc.drawio file usingdraw.ioDatabase ERD diagramLoad database.xml file usingthe erd toolContributingConventional commit messagesIssues / Featurs
Package: avbv-converter
TheBilibili av bv converterProject is a simple project.If you want to convert an av number to a bv number, or a bv number to an av number, just use a few words:`python from avbv import av2bv, bv2avprint(av2bv('av123'))# this will be convert to BV1xx411c72Qprint(bv2av('BV17x411w7KC'))# this will be convert to av170001 `And this tool can be use inNo networkenvironment!
Package: avcaesar_api
avcaesar-api-python-driver==========================Python & OS Support-------------------avcaesar\_api works with python 3.avcaesar\_api works on Unix/Linux, OS X, and Windows.Installation------------If you have installed pip3, you can install with `pip-3.2 install avcaesar_api` (The command name for pip depends of your python installation).Otherwise you can install from the project source by downloading it and do `python3 setup.py install`.Configuration-------------To configure your API key, create a new file `~/.avcaesar_api.cfg` in your home directory with the following content:[api]key=YOUR_API_KEYCommand line usage------------------usage: avcaesar.py [-h](-c hash [hash ...] | -u file [file ...] | -d reference [reference ...] | -i reference [reference ...] | --update reference [reference ...] | -r reference [reference ...] | --analysis-history | --is-authenticated | --quota)[--private] [--page PAGE] [--per-page PER_PAGE][--api-key API_KEY] [--api-url API_URL][--api-server-cert API_SERVER_CERT] [--version]AVCaesar API toolsoptional arguments:-h, --help            show this help message and exit-c hash [hash ...], --check hash [hash ...]Check a hash.-u file [file ...], --upload file [file ...]Upload a sample.-d reference [reference ...], --download reference [reference ...]Download a sample. (Only in public mode)-i reference [reference ...], --info reference [reference ...]Show sample info.--update reference [reference ...]Rescan a sample. (Only in public mode)-r reference [reference ...], --remove reference [reference ...]Remote a sample. (Only in private mode)--analysis-history    Show your analysis history.--is-authenticated    Check your authentication--quota               Show your quota.--private             Activate mode private.--page PAGE           Specify the desired page.--per-page PER_PAGE   Specify the desired limit per page.--api-key API_KEY     Specify the api key.--api-url API_URL     Specify the api url.--api-server-cert API_SERVER_CERTSpecify the api server cert.--version             show program's version number and exitLibrary usage-------------Make a connection to AVCaesar API.import avcaesar_apiconn = avcaesar_api.Connector(key=YOUR_API_KEY, **avcaesar_api.config_malware_lu)You can see an example of library usage in the script avcaesar.py.
Package: av-clipboard-lib
DescriptionSmall Arrow Vortex clipboard processing library.InstallYou can install this library from PyPI withpip install av-clipboard-libor compile it from source withpython setup.py build.Usageimportav_clipboard_libasav# A copy of [12][23][14] pattern, 16ths.row_based_copy="""ArrowVortex:notes:!!WE'!<<-/!Xo&G!uM"""# A copy of [12][23][13] pattern, 16ths.changed_row_based_copy="""ArrowVortex:notes:!!WE'!<<-/!Xo&G!Z1"""# Same copy of [12][23][14] pattern, 0.5 seconds between each chord.time_based_copy="""ArrowVortex:notes:!<rN(z!!!!"zz!<<*"!!!#W56:fbzi'.2Az!:W2Tz!!)LQ"""# A copy of two BPM changes and a stop. 60 BPM, 90 BPM and 0.75 second stop.structural_copy="""ArrowVortex:tempo:!WW3#zz:-]Wrz!!!"L<^6Zd0E;(Qz!!)4I!!"""parsed_row_copy=av.parse_av_clipboard_data(row_based_copy)assertparsed_row_copy==av.clipboard_data.RowCopy(objects=[av.Tap(column=0,position=av.RowPosition(0)),av.Tap(1,av.RowPosition(0)),# First argument: column, second: row.av.Tap(1,av.RowPosition(12)),av.Tap(2,av.RowPosition(12)),# 12th row --> 16th.av.Tap(0,av.RowPosition(24)),av.Tap(3,av.RowPosition(24)),])parsed_row_copy.objects[-1].column=2# Shift last tap to third column# Overall pattern now: [12][23][13]assertav.produce_av_clipboard_data(parsed_row_copy)==changed_row_based_copy# It's up to you to make sure data is correct howeverparsed_row_copy.objects[-1].column=0# No error, but AV will report overlapping notesav.produce_av_clipboard_data(parsed_row_copy)# Similar interface is used for other types of copies, though they return different objectsparsed_time_copy=av.parse_av_clipboard_data(time_based_copy)assertparsed_time_copy==av.clipboard_data.TimeCopy(objects=[av.Tap(0,av.TimePosition(0.0)),av.Tap(1,av.TimePosition(0.0)),av.Tap(1,av.TimePosition(0.5)),av.Tap(2,av.TimePosition(0.5)),av.Tap(0,av.TimePosition(1.0)),av.Tap(3,av.TimePosition(1.0)),])parsed_structure_copy=av.parse_av_clipboard_data(structural_copy)assertparsed_structure_copy==av.clipboard_data.StructureCopy(objects=[av.BPM(av.RowPosition(0),bpm=60.000),av.BPM(av.RowPosition(24),bpm=90.000),av.Stop(av.RowPosition(48),time=0.750)])
Package: avd-compose
avd-composeDefine and run android virtual devicesRequirementsandroid-studiopython3.4+pip3NotesMake sure that theANDROID_HOMEenvironment variable is set.$echo$ANDROID_HOME$exportANDROID_HOME=$HOME/Android/Sdk
$echo$ANDROID_HOME/home/f9n/Android/SdkInstall$pip3install--useravd-composeUsage$avd-compose--help
$avd-composeversion
$cat<<EOF >avd-compose.ymlversion: 1platforms:- name: My_Nexus_5avd:package: "system-images;android-27;google_apis_playstore;x86"device: Nexus 5emulator:- name: My_Nexus_Oneavd:package: "system-images;android-27;google_apis_playstore;x86"device: Nexus Oneemulator:EOF$# Create all of them$avd-composecreate
$# Create one of them$avd-composecreate--nameMy_Nexus_One
$# Destroy all of them$avd-composedestroy
$# Destroy one of them$avd-composedestroy--nameMy_Nexus_One
$avd-composeup--nameMy_Nexus_5ExamplesLook up theexamplesdirectory.CreditsDocker ComposeVagrant
Package: av-discord
av-discordPyAVaudio sources fordiscord.py,pycord,
anddisnakeInstallationStable version (PyPI)# For Windowspy-3-mpipinstallav-discord# For Linux / Mac OSpython3-mpipinstallav-discordDevelopment versionNOTE:You must have git installed. If you don't have it, install it from herehttps://git-scm.com/.gitclonehttps://github.com/mansuf/av-discord.gitcdav-discord
pythonsetup.pyinstallUsagefromdiscord.ext.commandsimportBotfromavcordimportsetup_av,AVPCMAudio,setup_encoder# Do setup# Use `setup_av('disnake')` if you're using disnake librarysetup_av('discord')bot=Bot()@bot.command()asyncdefplay(ctx):voice_user=ctx.message.author.voicevc=awaitvoice_user.channel.connect()# It is important to call this function before play audio# to avoid "Segmentation fault" errorsetup_encoder(vc)source=AVPCMAudio('audio.webm')vc.play(source)@bot.eventasyncdefon_ready():print('READY')bot.run('token')
Package: ave
ave is small bash function to help out with activation of virtual
environments; the name stands for Activate Virtual Environment
(which is almost all it does).How to use it?ave was created out of my personal needs of organizing projects and
need to type less. There are two ways in which ave can be used.
If you typeavewith no arguments, it will start from current
directory and search for virtual environment bycding upwards
thru parent directories or by looking inside~/$WORKON_HOME.
When virtual environment is found, it is activated (sourced).
Called with an argument, it will do the same and optionallycdto project directory if it’s held under source controled.The above is allavedoes, but it’s easier to understand with
following example. Let’s assume we have this directory structure:# this is where we store our projects
~/projects/
    common-env/
        project_1/
        project_2/
        project_3/
    project_a/
    project_b/
    project_c/

# this is where we store virtual environments
~/$WORKON_HOME/
    common-env/
    project_a/
    project_b/
    project_c/

# temp directory to work with throwaway stuff
~/tmp/Multiple projects based on common virtual environmentThese are projects that are all based on the same virtual environment,common-envin the example:ave ~/projects/common-env/project_1or:cd ~/projects/common-env/project_1
aveAfter any of those commands,common-envis activated and current
directory is changed toproject_1.One project per virtual environmentEach project has its own virtual environment:ave ~/projects/project_aor:cd ~/projects/project_a
aveWith bash (or any other shell) and tab completion, very few keystrokes
are needed.Playground and throwaway environmetsThere is often a need to test new libraries. You want to quickly make an
environment, type out some code (directly in python shell or by creating
a file), play with it and delete it.:virtualenv ~/tmp/foo-playground
cd ~/tmp/foo-playground
ave

pip install foo
python
# import foo and play with it

# enough play, go to work
rm -rf ~/foo-playgroundThis way you are not clutteringWORKON_HOMEdirectory even if you don’t
delete temporary environmets right away after use (which I usually don’t).How to install it?Via pipInstall for user:pip install ave --useror if you want to install globally:sudo pip install aveManuallyClone the repository and source ave.sh script from your .bashrc or .profile.Configure it# define directory to put virtual environments
export WORKON_HOME=~/.venvs

# source ave function
source /path/to/ave.shWhat about virtualenvwrapper?By all means, virtualenvwrapper is mature and well tested software.
It works great and is recommended by many pythonistas. It does so much
more than ave and if you need its functionality, you should check it out.ave uses the sameWORKON_HOMEevnironment variable so it’s compatible
with virtualenvwrapper, both can be used at the same time.ave is simple to the point that this documentation is longer than the
complete ave code. I like simple.Licenceave is MIT licensed.
Package: aveas-openlabel
AVEAS OpenLABELInstallation and usageThis library can be installed via pip usingpip install aveas_openlabelor with poetry usingpoetry add aveas_openlabel.For examples and instruction on how to use this library, please clone the repository and generate the documentation.
To generate the documentation for this project, install the dependencies with Poetry (see below) and runpoetry run pydoctor.
Then, open the html page underdocumentation/index.html.DevelopmentPoetryThis package uses Poetry, a tool for dependency management and packaging.
Please install it via the official installer fromhere.
In the root of the repository, you install all dependencies into a virtual environment usingpoetry install.Working with this repositoryThis repository employs several tools to ensure a constant and good code quality.BlackBlackis a code formatter that we use to assure consistent code style across our projects.
Use it in-between, or after your code changes, viapoetry run black .in the root directory of this repository.
Merge requests will only be merge-able if black has nothing to complain about.MyPyMypyis a static type checker for Python.
Is assures type safety throughout our code and is necessary to ensure that our AVEAS OpenLABEL format is consistent
with the base ASAM OpenLABEL format.
Mypy can be run withpoetry run mypy .in the root directory of this repository.
Merge requests will only be merge-able if MyPy has nothing to complain about.RuffRuffis a Python linter and code formatter.
It can be run withpoetry run ruff .in the root directory of this repository.DocumentationPlease write docstrings for the class itself and each of its class variables.
For inspiration of what to write into the docstring, look at the description of the object or field
in the official ASAM OpenLABEL spec (link).
The docstrings allow the use of reStructuredText (link).We are usingpydoctorto automatically generate documentation from the docstrings in our code.
The documentation generation can be run usingpoetry run pydoctorand is written in the directorydocumentation/in the root of this repository.If administrator privileges required for this operation under MS Windows and poetry is not installed for the administrator account, poetry can be run from Powershell via:Start-Process poetry -ArgumentList "run pydoctor" -Verb runAsThe documentation is ignored from Git, as it is better to generate it by hand from the latest commit.
Package: avell-a52
Driver para luzes do teclado do Notebook Avell G1513 BS MUV / A52 BS MUVO notebook Avell A52 é equipado com um teclado retroiluminado com leds RGB, contudo a Avell não fornece suporte Linux.O chip utilizado para controlar esse recurso é ITE 8291 V0.2, o qual é listado como um dispositivo USB. Através de engenharia reversa e pesquisa em outros projetos - listados nas referências - foi possível desenvolver um driver para a versão 0.02 do dispostivo ITE 8291.Para verificar se o seu notebook utiliza este dispositivo use o comando abaixo:$lsusbBus 001 Device 003: ID 048d:ce00 Integrated Technology Express, Inc.Como instalar?sudo pip3 install avell_a52Configurar udev rules, para utilizar o driver sem necessidade de usar sudo.Criar o arquivo/etc/udev/rules.d/50.ite.rulescom o seguinte conteúdo:SUBSYSTEM !="usb_device", ACTION !="add", GOTO="ite8291_rules_end"

SYSFS{idVendor} =="048d", SYSFS{idProduct} =="ce00", SYMLINK+="ite8291"

MODE="0666", OWNER="SUBSTITUIR_POR_SUA_CONTA_DE_USUARIO", GROUP="root"

LABEL="ite8291_rules_end"Como usar?O comando para controlar os luzes do teclado éligthkeys, possui vários parâmetros sendo dois principais:-c color -> Usado para colocar somente uma cor no teclado-e effect -> Usado para aplicar os efeitos rainbown, breathin, ...Somente pode ser utilizado um por vez -c ou -e-b -> Controle de Brilho-d -> Direção do Efeito-s -> Velocidade do EfeitoTanto -d como o -s, terão efeito quando utilizado em conjunto com o parâmetro -e-o -> Desligar as luzes do teclado-w 1 -> Utilizado para salvar um efeito, o qual será utilizado na inicialização.$lightkeys--helpusage: lightkeys [-h][-c {aqua,blue,fuchsia,green,gray,lime,maroon,navy,olive,purple,red,silver,teal,white,yellow,orange}][-e {rainbown,breathing,flash,mix,waving}] [-s {s1,s2,s3,s4}][-b {b0,b1,b2,b3,b4}] [-d {left2right,right2left,sync}] [-o][-w {0,1}]Control Center Keyboard Lights Avell A52optional arguments:-h, --help            show this help message and exit-c {aqua,blue,fuchsia,green,gray,lime,maroon,navy,olive,purple,red,silver,teal,white,yellow,orange}Set color-e {rainbown,breathing,flash,mix,waving}Effects-s {s1,s2,s3,s4}      Set Speed of effect-b {b0,b1,b2,b3,b4}   Adjust the Bright-d {left2right,right2left,sync}Direction of effect-o                    Turnoff lights-w {0,1}              Startup configExemplos:Aplicar luz azul no teclado$lightkeys-cblueAplicar o efeito breathing, velocidade máxima e brilho mínimo$lightkeys-ebreathing-ss4-bb1Aplicar o efeito flash, com a direção da direita para a esquerda, velocidade média e brilho máximo e salvar como padrão de inicialização$lightkeys-eflash-ss2-bb4-dright2left-w1Referênciasavell-unofficial-control-centerProject: STAR BEAT!Termo de IsençãoO desenvolvedor não se responsabiliza por qualquer dano e/ou prejuízo e/ou lucros cessantes sofridos pelo usuário que se sintam prejudicados em consequência de qualquer motivo de não funcionamento, falha de hardware ou software do aplicativo em questão.
Package: avell-unofficial-control-center
avell-unofficial-control-centerThis is a driver to control RGB keyboard in Linux Systems based on Avell Control Center.This project is in an early stage, the aim is to bring a driver to integrated embedded controller for RGB LED lighting controlITE Device(8291)which is used in some custom laptops around the world including avell.working:change color of mechanical rgb-keyboardadjust brightnessdisable RGB ledsset predefined stylesto-doimplement a GUI interface in Pyqt/Pyside2save/load profilesset custom color in specific keymonitor, cpu/gpu loadInstallationInstall via pip using sudo or with root user:sudopipinstallavell-unofficial-control-centerA short video showing project UsageUsageAll commands needrootpermissions (you may use sudo).Colors available are:red,green,blue,teal,pink,yellow,orangeandwhite.Brightness options are:1,2,3and4.To setgreencolor in all keys with max brightness;sudoaucc-cgreen-b4To disable all keys:sudoaucc-dTo set keyboard predefined custom styles:sudoaucc-sstyleStyles available areaurora,marquee,raindrop,reactiveandrainbowContributionsContributions of any kind are welcome. Please followpep-8coding style guides.DonateThis is a project I develop in my free time.  If you use Unnoficial-CC or simply like the project and want to help please considerdonating a coffee.
Package: avemedi-lib
This library help in getting a "average value of numbers list"
and "get median (for ordered, unordered list of numbers and even or odd list values)".Enjoy.Github rep -https://github.com/zelenchuk/avemedi_libInstallingpip install avemedi_libUsagefrom avemedi_lib.functions import average, get_median, get_median_custom

test_even_array = [12, 32, 23, 43, 14, 44, 123, 15]
test_odd_array = [1, 2, 3, 4, 5, 6, 7, 8, 9]


# Getting average value of list items
print(average(test_even_array))  # 38.25

# Getting median value for ordered or unordered numbers list
print(get_median(test_even_array))  # 27.5
print(get_median(test_odd_array))  # 27.5

# You can use your own sorted and your count functions
a = sorted(test_even_array)
n = len(a)

print(get_median_custom(a, n))  # 27.5
Package: avendesora-export
Author: Ken KundertVersion: 0.0.0Released: 2021-08-09Please post all questions, suggestions, and bug reports toGithub Issues.Avendesora Exportcan createAvendesoraaccount files on remote machines that contain selected accounts.  This allows
you to useAvendesoraon satellite machines without maintaining two
independent databases of account information.  Simply installAvendesoraon
both your primary and satellite machines.  Keep all, or at least most, of your
accounts on your primary machine and configureAvendesora Exportto manage the
satellites.  It needs to know the hostname, the path to the accounts file, the
encryption keys, and the accounts you wish to export to each satellite.For example, imagine owning a laptop, which is your primary machine, a media
machine for watching videos and listening to music, and a server that contains
your Bitcoin node.  AssumingAvendesorais already installed on your laptop
and contains all of your accounts, installAvendesora Exporton your laptop
and add the following file to ~/.config/avendesora-export/config.nt:media:
    dest: media:.config/avendesora/imported.gpg
    gpg id: D790CFBA20343D0E
    accounts:
        - Netflix
        - YouTubeTV
        - Hulu
        - HBO
        - Disney
        - Spotify

server:
    dest: server:.config/avendesora/imported.gpg
    gpg id: D790CFBA20343D0E
    accounts:
        - BitcoinRPCBe aware that an export simply overwrites the previously exported accounts file
and that an exported accounts file is not setup to support generated secrets.
You should manually add accounts to a exported accounts file.  If you would like
accounts that are only local to the satellite host, simply add them to its
accounts.gpg file.ReleasesLatest Development VersionVersion: 0.0.0Released: 2021-08-09