Saravanan666/pypi-org huggingface dataset:
Package: wayround_org_pyeditor
I wanted editor to be fast. I wanted editor to do exactly what I
need. - PyEditor was born.I want to make it lightweight, simple and extensible. Well.. maybe
from gi.introspection import Gtk is not so fast, but it’s really works
fine.Yep! I’m writing it with py3.4 and Gtk+3 PyGobject. It has some modes
support (for now only Python mode exists). And I’m planning some
plugin support, maybe for git repositories.GitHub is currently the main publication point for this software.This project is registered within the PyPi, so, yes, I want it to be
installed as easy as:pip3 install -U org_wayround_pyeditorThis project depends on My other project - org_wayround_utils - it
should be downloaded and installed automatically with above pip
command.https://github.com/AnimusPEXUS/org_wayround_pyeditorSOFTWARE REQUIREMENTSPython3 (I developed it with 3.4)
filemagic (pip3 install filemagic)
PyGObject
pep8
autopep8
pylint
Package: wayround_org_sasl
Very simple SASL mechanisms implementationBefore this I’ve already done two gsasl bindings for python:one was implemented using Cython;second was implemented using vala.The main problem with gsasl, is what it’s callback mechanism was madewithout possibility to pass user data, so it is spiky to trying to
make binding for OOP language like Python.As I very mutch do not like non-OOP programming, finally I has dicidedto write very simple SASL mechanism at least for PLAIN method, for
not return to gsasl problems ever again.I’ve written this package looking on gsasl, so it has somesimilarities, but I’ve also tryied to make it as simplier as
possible, as I’m in horry and need to get My new mail server sofware
working as soon as possible.—UsageThis SASL mechanism architecture shold be simpleimport wayround_org.sasl.sasluse init_mech(mech_name, mode, callback=None) function
to create SASLSession instance.NOTE: at time of this writting only supported method(mechanism) isPLAIN and it’s ‘server’ and ‘client’ side.example: init_mech(‘PLAIN’, ‘server’)NOTE: callback is MAY only be needed in client mode, possibly fororganizing dialog boxes. so this is like in gsasl.callback, if supplied, must be callable with one parameter - the
name of field which server wishes client to return. The return
value of callback will be then assigned to same name property in
client’s object ‘.properties’ dict propertyUse step() or step64() method of SASLSession instance to pass data
to it’s working mechanism.Those methods allways return two values:code - indicating error, success or asking for more data;At time of this writting, valid values considered to be:
‘ok’, ‘error’, ‘need_more’.gsasl supports more error codes indicating variouserrors, depending on mechanism being used. and this
step() methods should also somehow specify errors.
possibly, the good way for farther development of
this methods (and particularly this package
mechanisms) is, in case of errors, return strings
starting with ‘error’ text and continuing with
‘_some_spec’ to indicate specific error.text - data wich should be sent to server or clientcounterpart. (In case of error, usually no any data
should be sent farther, but read documentation
on specifics of mechanism being used)NOTE: step64() is simply a wrap for step() method. step64() decodesit’s input, passes decoding result to step(), after what
encodes step() result and returning it’s to caller.Developing MechanismsTo develop new mechanism - create new file with it’s name in ‘mechs’
directory. Write some code: take plain.py for example.When Your new mechanism module is complete, register it in sasl.py, by
editing ‘MECHANISMS’ dict in sasl.py top.The structure of mode class REQUIRED to have folloving things:def __init__(self, callback=None)def step(self, data)step() method MUST return 2 values:
1: str
2: bytes‘.properties’ dict propertyAnythin other is on conscience of programmer.
Package: ways
An string-based AMS toolkit for PythonFree software: MIT licenseInstallationpip install waysDocumentationhttps://ways.readthedocs.io/DevelopmentTo run the all tests run:toxNote, to combine the coverage data from all the tox environments run:Windowsset PYTEST_ADDOPTS=--cov-append
toxOtherPYTEST_ADDOPTS=--cov-append toxChangelog0.1.0b1 (2017-10-28)First release on PyPI.
Package: wayscript
wayscript-pythonContextfrom wayscript import context

event = context.get_event()Checking user by application keyfrom wayscript import context, utils

application_key = utils.get_application_key()
user = context.get_user_by_application_key(application_key)TriggersHTTP Triggersfrom wayscript.triggers import http_trigger

payload = {"hello": "world"}
headers = {"content-type": "application/json"}
status_code = 200

http_trigger.send_response(data=payload, headers=headers, status_code=status_code)IntegrationsSQLTo connect to a postgres resource, use the following snippet:import psycopg2
from wayscript.integrations import sql

kwargs = sql.get_psycopg2_connection_kwargs(_id)
connection = psycopg2.connect(**kwargs)SecretsCreate/Update SecretTo create a new secret, or update an existing one:from wayscript import secret_manager

my_secret_value = "an application key or other private information"
secret_manager.set_secret('my_secret_key', my_secret_value)To test an existing secret, and update if the secret is no longer valid (expired authorization token):import os
from wayscript import secret_manager

# Retrieve existing key from secret
auth_key = os.getenv('AUTH_KEY_MAY_EXPIRE')

# Test connection to service using auth_key
if not authorized:
    # Get new auth_key from service
    auth_key = 'New Key From Service Request'
    secret_manager.set_secret('AUTH_KEY_MAY_EXPIRE', auth_key)

# Continue flow as normal
Package: wayscript-legacy
Python SDKA rapid scripting platform for developers.WayScript allows you to run Python in the cloud, and seamlessly integrate with your favorite APIs.InstallationpipinstallwayscriptBasic UsageAdd one or moreHTTP Triggersto your script.If you have apassword-protected endpoint, obtain your API key or the credentials you would like to use.If you have specified acustom endpoint, you will need to pass the name of that endpoint in your api call.If your HTTP Trigger takesquery parametersand/orJSON body parameters, you can pass those as a dictionary using theparamsand/ordataarguments, respectively. (SeeHTTP Trigger Outputsfor more information.)Run your WayScript programs from your Python code:fromwayscriptimportWayScript# Create the WayScript clientwayscript=WayScript()# If your program requires a password to run, supply those credentials when creating the clientusername='YOUR_USERNAME'password='YOUR_PASSWORD'kwargs={'username':username,'password':password}wayscript=WayScript(**kwargs)# If your program requires a password to run, you can instead supply your API Key when creating the clientkwargs={'api_key':'MY_API_KEY'}wayscript=WayScript(**kwargs)# Run a program by idprogram_id=1234wayscript.run(program_id)# Pass query parameters for the HTTP Trigger to output (optional)query_params={'var1':'one','var2':'two','var3':'three'}wayscript.run(program_id,params=query_params)# Pass JSON body parameters for the HTTP Trigger to output (optional)body_params={'var4':'four','var5':'five','var6':'six'}wayscript.run(program_id,data=body_params)# Run a custom endpoint (optional)endpoint='my_endpoint'wayscript.run(program_id,endpoint=endpoint,params=query_params,data=body_params)# Get the response from the serverresponse=wayscript.run(program_id)Run a WayScript program from command linePROGRAM_ID=1234python-c"from wayscript import WayScript; WayScript().run($PROGRAM_ID)"If you don't want to use Python on the command line, you can usecURL. (See theHTTP Trigger Sample Codefor an example.)
Package: ways-py
WAYS: What Aren't You SeeingPython package for theWAYSproject. SeeAPI documentation.“As you can see in figure 1…” may well be the most frequently made claim in science. But unlike claims concerning data, statistics, models and algorithms, those relating to visualisations are rarely evaluated or verified. So how can data scientists understand visualisations’ effectiveness and expressiveness? What is the visualisation equivalent of q-q plots, R^2 and K-folds tests?Designing effective visualisations goes far beyond selecting a graph, scales and a ‘pretty’ style. Effective visualisations must negotiate sensitivities and interactions between visual elements (e.g. encodings, coordinate systems, guides, annotations), data (e.g. characteristics, transformations, partitions), and the discriminator function, which in this case is the perceptual and cognitive systems of humans. Despite their criticality, these methodological and design considerations are rarely surfaced, limiting the value extracted from visualisations. What does figure 1 actually visualise?The ‘What Aren’t You Seeing’ (WAYS) project addresses 1) what we aren’t seeing in visualisations by 2) revealing the relevant knowledge, theory and practices that we are not seeing at the site of visualisation production. Our final goal is the WAYS package/library in which the properties, outcomes and affordances of visualisation designs are depicted through visualisations; a concept we term ‘Precursor Visualisations’. WAYS then addresses the challenge of generating a productive interplay between everyday visualisation work and the epistemology, practice, communication techniques and evaluation methods that should inform visualisation design at source (Robinson). To achieve this, we propose three work packages (WP1-3).Quick startInstall fromPyPIusingpip install ways-py.DevelopmentTo create the development environment:Install python poetry by following theinstall instructionsFrom the top level dir, runpoetry shellYour machine will needPython 3.9) available.Emojis on commit messagesWe use a number ofgitaliasesto track different kinds of commit; to use these yourself, add an[include]section to your.gitconfig.
Package: wayterm
= wayterm* http://wayterm.nerocrux.org/http://gyazo.com/3053ba4fa41afee9e06b44aa805a43e3.png== DESCRIPTION:Sina Weibo client for terminal== INSTALL & RUN:pip install waytermcd /your/path/to/wayterm./wayterm== Interactive Shell Mode$ wayterm [command and parameters]  // In this way, you can run wayterm commands without using wayterm's interface.ex)$ wayterm profile 趙薇== FEATURES/PROBLEMS:Notice: Not working with python 3000, sorry.== SYNOPSIS:* basicwayterm > helpwayterm > exit* get updates on my timelinewayterm > lwayterm > listwayterm > l\30       # get latest 30 updates* get profilewayterm > pwayterm > profile    # get my profilewayterm > p\_KaiYun  # get _KaiYun's profile* post tweetwayterm > t\write somethingwayterm > tweet\中文也OKwayterm > t\Uplpoad image with a url\http://octodex.github.com/images/foundingfather_v2.png* get commentswayterm > cwayterm > comment            # get latest 20 comments sent to mewayterm > c\3566288775194487 # get comments for a certain weibo using it's id. weibo id will be displayed when using list command* post commentwayterm > wc\3566288775194487\foobarwayterm > wcomment\3566288775194487\foobar   # post foobar to a certain weibo* repostwayterm > r\3566407071718733\foobar    # repost a weibo and add comment 'foobar'wayterm > r\3566407071718733           # repost a weibo without add comment* delete tweetwayterm > d\3566288775194487wayterm > delete\3566288775194487     # delete a certain weibo* get hot topics (trends)wayterm > hwayterm > hot      # show hourly hot topicswayterm > h\d      #      dailywayterm > h\w      #      weekly=============If run wayterm for the first time, you'll be ask to do some setups and authorizations.[1] Open this url in your browser: http://api.weibo.com/xxxx[2] Enter authorization code:You know what to do.
Package: waytwo
# way2sms
This python code to send messages to the people in the list automatically based on the time.Way2SMS.py - This file handels the login and message sending part. It takes number and password as inputs
and then returns boolean values as resultPerf.py - This file handles helps to craft a beautiful message grabbed from way2sms website. Randomly picks one
messages and appends wishs to that message and returnsauto.py - This file automates the entire tasks. You need to run auto.py to initiate the tasksto.py - This is file contains mobile number of recievers. Keep all the recievers numbers in this file.
Package: wazender
Wazender : Powerful Bulk Message SenderIt's an python module to send whatsapp messages in bulk with or without attachments to as many users as needed.BadgesFeaturesYou can send bulk messages using whatsapp.You can send messages with or without attachments.No need of whastapp business official api to send bulk mesaages.Developed mainly for Digital Marketers.Easy to use.InstallationInstall my-project with pippipinstallwazenderDependencyWazender requires following programs to run properly :seleniumInstall selenium using pip command :pipinstallseleniumUsage 1 - To Send Only Messageimportwazenderpath=r'YOUR_DRIVER_PATH'wazender.sendmsg('users.txt','msg.txt',path=path)Usage 2 - To Send Message with Attachmentimportwazenderpath=r'YOUR_DRIVER_PATH'attach=r'FILE_PATH'wazender.sendmsg('users.txt','msg.txt',path=path,attach=attach)RoadmapMake it more simple to useAdd GUI OptionAuthors@zandora-spaceSupportFor support, emailprofessor@zandora.spaceor follow our Instagram Page @zanx.codersFeedback/IssuesIf you have any feedback, please reach out to us atprofessor@zandora.spaceIf you have facing any issues, please report viaReport IssuesLicenseMIT
Package: wazimap
WazimapThis is the latest version of wazimap. Version 1 is located in the releases-v1 branch.Wazimap is a Django application for exploring census and other similar data. It makes it easy to understand a place
through the eyes of the data, and to explore data across a range of places. It is most suited for census data
but can easily be used with other data that is similarly focused on places in a country.Check outWazimap South AfricaandHURUmapto
get an idea of what Wazimap is about.Wazimap is a fork of the excellentCensusreporterproject which was funded by aKnight News Challenge grant.
You can also findCensusreporter on GitHub.Wazimap builds on Censusreporter and makes it easier to re-use. Wazimap was originally built byOpenUpwith the support ofMedia Monitoring Africa.
It is maintained by OpenUp.Wazimap is on Twitter as@Wazimap.Read thefull Wazimap documentation.Using WazimapRead thefull Wazimap documentationto get started.DevelopmentReleasing a New VersionRun the tests:python manage.py testUpdate VERSION appropriatelyUpdate the CHANGES.rstCommit and push to githubRelease to PyPI:python setup.py sdist bdist_wheel uploadLicense and CopyrightCopyright (c) 2014 Census Reporter.Wazimap is licensed under the MIT License.The Wazimap name and branding is Copyright 2013-2017 Media Monitoring Africa (MMA) and may not be used without permission.If you use this software, please provide attribution to Census Reporter, Wazimap, Media Monitoring Africa and OpenUp.
Package: wazuh-api-rest
Wazuh Api RestThis application expose an api rest for handling User and User's tasks.Run Local Test ServerThis application use docker and docker compose to run a local server. So first make sure you
have this two installed in your pc.Steps to run the local server:$docker-composeupAfter application start you can access the OpenApi documentation athttp:://localhost:5002/docsRun Local Development ServerYou need to create a virtualenv and install the dependencies with pip:$python3-mvenv$PWD/myvenv
$sourcemyvenv/bin/activate
$pipinstall-rrequirements.txtFor test your development you can run the application in debug mode like this:$pythonsrc/setups/runapp.py--debugAfter application start you can access the OpenApi documentation inhttp:://localhost:5002/docsRun testsIn order to run the unit test suit, first you need to setup the PYTHONPATH envvar like this$exportPYTHONPATH=$PWD/srcFor run test do$python-mpytesttestBuild for DistributionIf you need build a distribution package run the following command:$python-mbuildThen you will see a new folder nameddist/which contains the.tar.gzand.whlfile for
distribution.Deploy in HerokuFor deploy in Heroku you need first login to your account and then run the following commands:Run container login$herokucontainer:loginThen create a new app, choose a name for your app, for example I will useyour-app-name$herokucreateyour-app-nameNow you need to push your container and link it to your app$herokucontainer:pushweb-ayour-app-nameLast step is release$herokucontainer:releaseweb-ayour-app-nameNow you can access your app atyour-app-name.herokuapp.com/docs
Package: wazuh-findings-exporter
wazuh_findings_exporterA simple python script which exports findings of a client group from wazuh and adds the agent-ip as well as hostname to every finding for better further processing.The script may not be perfect, so feel free to provide PRs and help to improve it.Usagefrom wazuh_findings_exporter import Wazuh_Importer

Wazuh = Wazuh_Importer(BASE_URL=None, BASE_URL=None, BASE_URL=None)

Wazuh.get_findings(group="Clients_AAAA", filedestination="")
Package: wazy
wazyPretrained Bayesian Optimization of Amino Acid Sequences.This is actively developed research code - things can break and the API may change. Please use caution and open an issue if things are unexpected!ColabClick the button below to use the algorithm in Google ColabColab Peptide BinderTo use AlphaFold with Wazy to design peptides that bind to specific proteins, click the button below.installingpipinstallwazyQuickstartYou can use an ask/tell style interface to design a peptide.We can tell a few examples of sequences we know and their scalar labels. Let's try a simple example where the label is the number of alanines. You'll also want your labels to vary from about -5 to 5. We'll start by importing and building aBOAlgorithmclass.In this example, I re-use the same key for simplicity.importwazyimportjaxkey=jax.random.PRNGKey(0)boa=wazy.BOAlgorithm()Now we can tell it a few examples.boa.tell(key,"GGGG",0)boa.tell(key,"GAHK",1)boa.tell(key,"DAAE",2)boa.tell(key,"DAAA",3)We can predict on new values. This will return both a predicted label and its uncertainty and its epistemic uncertainty.boa.predict(key,"LPAH")# Output:(5.823452,69.99278,24.500998)The accuracy is poor - $5.8\pm 70$. Let's now use Bayesian optimization to choose which sequence to try next:boa.ask(key)# Output('DAAV',6.901945)The first value is the sequence to try next. The second is an indicator in how valuable (value of acquisition function) it finds that sequence. Now we can tell it the value:boa.tell(key,"DAAV",2)We can also choose the sequence length:boa.ask(key,length=6)# Output('DAAATA',5.676821)We can try our new prediction to see if it improved.boa.tell(key,"DAAATA",4)boa.predict(key,"LPAH")# Output(2.0458677,13.694655,1.0933837)Which is indeed closer to the true answer of 1. Finally, we can ask for the best sequence:boa.ask(key,"max",length=5)# Output('DAAAA',3.8262398)KeyIf you are going to use this process in a loop, be sure to split the key:s="START"foriinrange(10):key,_=jax.random.split(key)boa.tell(key,s,4)s,_=boa.ask(key,"max",length=5)BatchingYou can increase the number of returned sequences by using thebatch_ask, which uses an ad-hoc regret minimization strategy to spread out the proposed sequences:boa.batch_ask(key,N=3)# returns 3 seqsand you can add a multiplier to batch sequences (no overhead), but they may be similarboa.batch_ask(key,N=3,return_seqs=10)# returns 30 seqsCitationPlease citeYang et. al.@article{yang2022now,title={Now What Sequence? Pre-trained Ensembles for Bayesian Optimization of Protein Sequences},author={Yang, Ziyue and Milas, Katarina A and White, Andrew D},journal={bioRxiv},year={2022},publisher={Cold Spring Harbor Laboratory}}
Package: wbBase
wbBaseThis is the base package for WorkBench applications.
Workbench is a plugin based RAD framework for platform independent GUI applications
based onwxPython.InstallationpipinstallwbBaseDocumentationFor details read theDocumentation.PluginsThe following plugins are currently available as individual packages.wbpOutput,
an output panel for Workbench applications.wbpShell,
a shell panel for Workbench applications.wbpLoglist,
a log list panel for Workbench applications.wbpNamespace,
a namespace panel for Workbench applications.wbpWidgetinspectorintegrates the Widgetinspector in Workbench applications.wbpFilebrowser,
a file browser panel for Workbench applications.wbpTextedit,
document templates to create, view and edit some text file types.wbpUItools,
collection of some useful functions for user interaction in Python scripts.wbpHTMLpanel,
a panel to display arbitrary html.
Package: wbck
IntroductionThe intention of this project is that setting up workspaces is a difficult task when
someone has to change / format present system.
Running all the commands again, cloning all the projects again, backing up your documents
it is a nightmare.This is a simple application for easy backup and restoration of project workspaces.
There is not much you can do with the app right now but yet it is powerful enough to achieve some of the most trivial actions.
The structure of a sample workspace I prefer can be found in the structure directory. The current cloud where the
backup goes is AWS. Hope to see collaborators to add more sources - Gdrive, Azure etc.Setup and InstallationClone the repositoryInstall packages fromrequirements.txtYou are good to go.ConfigurationA template configuration is available inconfig_template.json.
You need to configure the repository urls that you want to keep a track of.
The project is configured to have any folder-names for eg.ml-apps,web-appsetc.
Since each of these kinds of application can be subdivided underclientandinternal.
Again all of this is still configurable.Once your configuration file is created you have to keep it under the folder -configsYou can keep a backup of these config files and reuse it when you want to restore this to a different system.Environment VariablesThe application expects only 3 environment variables.BUCKET_NAMEAWS_KEYAWS_SECRETUsageEntrypoint of the project isrun.pyThe application provides 3 options:setup: downloads a specific project details as specified in the config filesync: creates a backup of data as specified in the config fileadd: creates a copy of the project bynameas specified in config in thetarget_pathagain as specified in the configRunning a command is easypython run.py <argument> <argument-value>ContributionThis is a personal open project and still might need a lot of work to solve all the cases.
The current project serves my purpose. Feel free to raise PRs and add more features as per your choice.