Saravanan666/pypi-org huggingface dataset:
Package: godaddycli
Command Line Interface to GoDaddy.com based on PyGoDaddy LibraryFree software: BSD licenseDocumentation:https://github.com/wkoszek/godaddycliFeaturesTODOHistory0.1.4 (2015-08-03)made VERSION.rst be used for versioning.0.1.3 (2015-08-03)added some docs.0.1.2 (2015-08-02)correctly installed the godaddycli in bin/ directory0.1.1 (2015-08-02)added correct dependency on pygodaddy0.1.0 (2015-08-02)First release on PyPI.
Package: godaddyip
Godaddy IPMaintains A and CNAME records matching current ip in Godaddy.Installpip install godaddyipThis installs a script calledgodaddyip.Example use caseWith the following configuration file, the daemon will maintain one A
record namedmy.domain.comto the ip of the server the daemon is
running on. It will also maintain two CNAME recordswww.my.domain.comandmail.my.domain.comtomy.domain.com.arecord:mykey:mygodaddykeysecret:mygodaddysecretdomain:domain.comcnames:-www-mailConfigurationConfiguration files are searched in one of the following
locations. Last configuration file found takes precendence./etc/godaddyip/godaddyip.yaml~/.config/godaddyip/godaddyip.yaml./config/godaddyip.yamlYou can override the above list of searched paths by giving the--config_files=path[,path,...]argument.Adding or removing rules to a configuration file is done by using theconfigureargument:godaddyip <config_file.yaml> arecord ARECORD
godaddyip <config_file.yaml> key KEY
godaddyip <config_file.yaml> secret SECRET
godaddyip <config_file.yaml> domain DOMAIN
godaddyip <config_file.yaml> add-cname CNAME
godaddyip <config_file.yaml> del-cname CNAMERunRunning the daemon is done by using therunargument:godaddyip run [--config_files CONFIG_FILES]Example output:$ python -m godaddyip run --config_files test.yaml
Current ip: "100.99.98.97"
Previous ip: "None"
Sleeping for 5 minutes.
Current ip: "100.99.98.97"
Previous ip: "100.99.98.97"
Same ip as previous one, nothing to do
Sleeping for 5 minutes.Using systemdThe daemon can start when the system starts by creating a systemd unit
file like the following one in/etc/systemd/system/godaddyip.service.[Unit]
Description=Godaddy ip service
After=network.target

[Service]
User=godaddyip
Group=godaddyip
ExecStart=/usr/bin/godaddyip run
ExecReload=/bin/kill -s usr1 $MAINPID

[Install]
WantedBy=default.targetI advice running the daemon with a non-root user. A system user can be
created withuseradd --system godaddyip.
Package: godale
godaleDebauchery tools for concurrent task execution.Here you find wrappers around someconcurrent.futures,multiprocessingandbilliardfunctions
to facilitate switching between parallelization implementations:concurrent.futuresmultithreading: Python 3 standard tool for multithreadingconcurrent.futuresmultiprocessing: Python 3 standard tool for multiprocessingmultiprocessingmultiprocessing: Python 3 standard tool for multiprocessingbilliardmultiprocessing: Multiprocessing forceleryworkers.All four currently implemented wrappers handle parallel execution of the tasks and yield
result (FinishedTask) objects havingresult()andexception()methods. This enables
catching of exceptions without cancelling remaining tasks.Usage:fromgodaleimportExecutor# the first function argument will be replaced by items from the "items" argument below# subsequent arguments and keyword arguments can be passed on using "fargs" and "fkwargs"def_worker_function(a,b,some_kwarg=None):returna*b# multiprocessing the Python 3 wayexecutor=Executor(executor="concurrent_processes")fortaskinexecutor.as_completed(func=_worker_function,# function to be executediterable=range(100),# items to be parallelizedfargs=(10,),# other function argumentsfkwargs={"a_kwarg"=True}# function keyword arguments):try:print(task.result())exceptValueError:print("task failed")# multithreading the Python 3 wayexecutor=Executor(executor="concurrent_threads")fortaskinexecutor.as_completed(func=_worker_function,iterable=range(100),fargs=(10,)):try:print(task.result())exceptValueError:print("task failed")# multiprocessing within a celery workerexecutor=Executor(executor="billiard")fortaskinexecutor.as_completed(func=_worker_function,iterable=range(100),fargs=(10,)):try:print(task.result())exceptValueError:print("task failed")# using the multiprocessing standard moduleexecutor=Executor(executor="multiprocessing")fortaskinexecutor.as_completed(func=_worker_function,iterable=range(100),fargs=(10,)):try:print(task.result())exceptValueError:print("task failed")# use different start_method than "fork"# NOTE: with concurrent.futures and Python 3.6 and earlier, "start_method" other than# "fork" will raise an RuntimeErrorfortaskinexecutor.as_completed(func=_worker_function,iterable=range(100),fargs=(10,),start_method="spawn"):try:print(task.result())exceptValueError:print("task failed")
Package: godata
godata: data management for the working scientistgodata is a full-service data management tool for scientists working with data in Python. It allows you to forget about files and think more about your science. godata is suited to interactive computing (such as notebooks) or scripts producing hundreds or even thousands of outputs. It is generally thread-safe, and changes are immediately available across all Python interpreters on your system.Quickstartgodata is available for Python >= 3.10 on Linux and Mac.godata can be easily installed with pip:>>pipinstallgodataThe godata server tracks the location of all data in your projects, and runs outside your python interpreter. Install it with:>>godataserverinstallFrom a python terminal, let's create a new project named 'My-project' in collection 'My-collection'>> from godata import create_project
>> project = create_project("My-project", collection="My-collection")
Project My-project created in collection My-collectionIn godata,projectshold files and folders whilecollectionsgroup related projects together.Let's create some pretend data and store it in the project.>> import numpy as np
>> data = np.random.rand(1000, 1000)
>> project.store(data, "data/my-important-data")
TrueThis data is now available wherever godata is installed. From a separte python terminal:>> from godata import load_project
>> project = load_project("My-project", collection="My-collection")
Sucessfully loaded project My-collection/My-project

>> data = project.get("data/my-important-data")
>> data
array([[0.17953348, 0.46537863, 0.05551358, ..., 0.3526392 , 0.88688146,
        0.03827608],
       [0.10724396, 0.6594922 , 0.5464358 , ..., 0.25741847, 0.69896045,
        0.39693609],
       [0.13837611, 0.26225224, 0.17050776, ..., 0.07945242, 0.25077166,
        0.9795102 ],
       ...,
       [0.44973845, 0.30379528, 0.90120586, ..., 0.55909527, 0.72301093,
        0.52067499],
       [0.60742971, 0.41941807, 0.82986818, ..., 0.57479954, 0.04413556,
        0.6444287 ],
       [0.10467444, 0.52236499, 0.54443629, ..., 0.35378595, 0.07125344,
        0.59053222]])godata is not a substitute for good organization. You should still try to give your files and folders informative names. But godata handles all output and input of python objects, and tracks where files are so you don't have to remember.If you've ever forgotten what's in a given folder, it's easy to check:>> project.ls()
Project `My-project` root:
--------------------------
  data/

>> project.ls("data")
My-project/data:
----------------
  my-important-dataFor more programattic access, you can also get lists of the files and folders at a given path withproject.list(). You can remove a file from your project just as easily>> project.remove("data/my-important-data")
True

>> project.list()
{'folders': [], 'files': []}godata doesn't want you to have to think about creating or deleting folders. The folder 'data' was automatically deleted when the last file was removed from it. You may have also noticed it was also automatically created when you put an object in it.
Package: godefine
Godefinereplace marco in template,and generate outputLicenseFIRST: THIS SCRIPT BASED ON PYTHON3!Install Guidepip3install-Ugodefineto get latest version frompypi,you should add--isolatedon command-lineThirdPart ModulesModuleIsRequired?wcwidth❗tabulate✅althoughwcwidthis optional, but it's higly recommended to install.wcwidthhelptabulatehandle pagecode issue.Get Startwe have a template file such as"sample.go.template"it's contains code like:constFoo=${foo}// foo??? no idea @default="simple";constBar=${bar}// some bar...whatever @default=1231;run script:godefine.py-tsample.go.template-osample.gosample.go:constFoo="simple"// foo??? no idea @default="simple";constBar=1231// some bar...whatever @default=1231;Script Syntaxdefault:godefinewill replace '${something}' with the value user provide.if var's value not specified,godefinewill look for thedefault valuein the comment after//default value should apply syntax as follows : '@default=your value;'include:like#include <cstdio>we often used in Cpp language`.you can use@include()to put an exist config file into current config file.for example:we havefoo/bar/base.inandfoo/someone_debug.infoo/bar/base.in:foo=barbar=foofoo/someone_debug.in:@include(bar/base.in)name=someonefoo=override bargodefinewill see vars below:bar=fooname=someonefoo=override bargodefine support bothrelativeandabsolutepathAdvancepass vars from command-line (Simple, butnot suggest:bangbang:)pass your custom vars after-voptiongodefine.py-vfoo=11bar=222-tsample.go.template-osample.gothis way is not suggested.
if your value have such special char eg:blank str,",
it's hard to handle with it.use vars form specified file (Suggest :smirk: :thumbsup:)define your vars inconfig.infoo="abc 112 333"bar=barweb site=https://www.google.comhandsome author=ooopSnake 🎉template fileenv.go.template:packageenvconstFoo="abc 112 333"// foo??? @default="中文~";varWebsite="https://www.google.com"// homepageconstBar="    bar"// barssvarAuthor=ooopSnake🎉// author name @default=snake!;rungodefinegodefine.py-iconfig.in-tenv.go.template-oenv.gooutputenv.go:packageenvconstFoo="abc 112 333"// foo??? @default="中文~";varWebsite="https://www.google.com"// homepageconstBar="    bar"// barssvarAuthor="ooopSnake 🎉"// author name @default=snake!;as you can see ,foo's value has somespace(blank)char.godefinescript will handle them correctly.override vars in configgodefine always override that vars if they have been defined previously.for example:
if var below@includedeclare, vars will override vars that defined in@includeif var above@includedeclare,@includedefined vars will override vars that pervious defined.error handling :interrobang:if you forgot to assign any one vars ,an error will be raised.anyway, you still want to generate output,-fwill be useful.if-fapplied, any error will be ignored,
the var who not assigned with value,will keep itself original state
.
Package: godel-jupyter
# godel-jupyter
Godel 的 Jupyter 内核。提供在 Jupyter 环境上 交互式地执行 Godel 脚本This requires IPython 3, metakernel and json2html.## 安装
godel-jupyter 已经上传到蚂蚁内部的 PyPi 上，使用 Python的包安装器 pip 安装 godel-jupyter：`shell pip3 installgodel-jupyter-ihttps://pypi.antfin-inc.com/simple/python3-mgodel-jupyterinstall `## 使用
在 Jupyter notebook 界面新建 notebook，选择Godel kernel`shell # In the notebook interface, select Godel kernel from the 'New' menu jupyter notebook `## 发布首先确认你有权限访问 [蚂蚁 Artifacts PyPI 制品库](https://artifacts.antgroup-inc.cn) ，一般使用域账号即可登陆。然后确认你有 [godel-jupyter](https://artifacts.antgroup-inc.cn/artifact/repositories/simple/godel-jupyter/) 的`write`权限，权限问题可以联系友恒。蚂蚁PyPI教程：[蚂蚁 Artifacts PyPI 制品库 Token 使用说明](https://yuque.antfin.com/docs/share/66814f52-3f0b-4e7c-aa95-0a944eac05fa?#)确认godel-jupyter/__init__.py里的版本，最后运行命令：`bash make release `## 版权声明
[Copyright (c) 2004, Alipay.com Inc. - All Rights Reserved.](LICENSE)
Package: go-deploy
Requirementsterraform v1.1.4+ansible 2.10.7+python3 3.8+PurposeProvisions an instance on using terraform and calls ansible playbooks specified in
the yaml config file. Seeconfig.yaml.sample, theawsdirectory for sample terraform
script andstage.yamlfor sample ansible playbook.python3 -m pip install . 
cp ./config.yaml.sample config.yaml   # Modify as needed ssh keys, ...

# Usage
go-deploy -h

# Init 
go-deploy -d aws -init

# Deploy 
go-deploy -d aws -w <workspace> -c config.yml -verbose 
go-deploy -d aws -w <workspace> -show 
go-deploy -d aws -w <workspace> -output

# Tear Dow
go-deploy -d aws -w <workspace> -destroy -verbose
Package: godice
GoDice Python APIOverviewUse the GoDice Python API to integrate GoDice functionality into your own Python applicationsSupported features:Turn ON/OFF GoDice RGB LEDsRead color (dots color)Read battery levelGet notifications regarding the die state (Rolling or Stable and get the outcome number)Use and configure different shells (D6, D20, D12 etc.)Installationpip install godiceDemoPackage includes a demo script showing up API features. Command to run it:python -m godice.demoIt will discover GoDice devices nearby and connect to a closest one.
Then it setups a dice color and starts listening to dice position changes, outputting a new number each time a dice is flipped.UsageOne can import and use the API from any custom Python script like belowimport asyncio
import bleak
import godice


async def main():
    mac = "00:00:00:00:00:00"
    client = bleak.BleakClient(mac, timeout=15)

    # Python context manager (async with) is used for convenient connection handling
    # Device stays connected during `async with` block execution and auto-disconnected on block finish
    # Otherwise, dice.connect/dice.disconnect can be used instead 
    async with godice.create(client, godice.Shell.D6) as dice:
		print("Connected")
        blue_rgb = (0, 0, 255)
        yellow_rgb = (255, 255, 0)
        off_rgb = (0, 0, 0)
        await dice.set_led(blue_rgb, yellow_rgb)

        color = await dice.get_color()
        battery_lvl = await dice.get_battery_level()
        print(f"Color: {color}")
        print(f"Battery: {battery_lvl}")
        
        print("Listening to position updates. Flip your dice")
        await dice.subscribe_number_notification(notification_callback)
        await asyncio.sleep(30)
        await dice.set_led(off_rgb, off_rgb)


async def notification_callback(number, stability_descr):
    """
    GoDice number notification callback.
    Called each time GoDice is flipped, receiving flip event data:
    :param number: a rolled number
    :param stability_descr: an additional value clarifying device movement state, ie stable, rolling...
    """
    print(f"Number: {number}, stability descriptor: {stability_descr}")


asyncio.run(main())
Package: godirect
godirectA Python module for reading fromVernier Go Direct® Sensors1connected to USB or your system's on-board bluetooth radio. The module has been tested on Windows 10, macOS, and various Linux distros.Take a look at thegodirect-examples repositoryfor ideas and a number of helpful examples.RequirementsThe following Python modules are required forgodirect. They will be installed automatically as dependencies when installinggodirectvia pip.bleak (native Bluetooth Low Energy stack for Mac, Windows and Linux)hidapi (USB HID device support)InstallationAutomatically install all the dependencies for both USB and native BLE.pipinstallgodirectInstallation and UsageGo to ourGetting Started with Vernier Go Direct Sensors and Python documentfor detailed information regarding installation and usage of the godirect module.Legacy Support for Bluegiga DonglePrior to version 1.1.0, some platforms required a Bluegiga BLE dongle to connect over BLE. While we recommend using the native BLE radio (through bleak), the old functionality has been left in the library. In order to use the Bluegiga BLE dongle, vernierpygatt must be installed. This is a fork of the pygatt project with a fix for the BGAPI on Windows. Seethe vernierpygatt PyPi pagefor details.LicenseGNU General Public License v3 (GPLv3)Vernier products are designed for educational use. Our products are not designed nor are they recommended for any industrial, medical, or commercial process such as life support, patient diagnosis, control of a manufacturing process, or industrial testing of any kind.1Go Direct spectrometers are not supported.
Package: godjango-material-admin
Django Material Design AdminQuick startAdd "material.admin" and "material.admin.default" to your INSTALLED_APPS setting instead of "django.contrib.admin":.. code-block:: pythonINSTALLED_APPS = (
     'material',
     'material.admin',

     'django.contrib.auth',
     ...
 )Include the material templates URLconf in your project urls.py like this:.. code-block:: pythonurlpatterns = [
     path('admin/', admin.site.urls),
 ]Use the admin with material styles.. code-block:: pythonfrom django.contrib.admin import ModelAdmin, register

 from persons.models import Person


 @register(Person)
 class PersonAdmin(ModelAdmin):
     list_display = ('name', 'first_name', 'last_name')Add icon to the application inapp.pyhttps://materializecss.com/icons.html.. code-block:: pythonfrom django.apps import AppConfig


 class PersonsConfig(AppConfig):
     name = 'persons'
     icon_name = 'person'Add icon to the MaterialModelAdmin inadmin.pyhttps://materializecss.com/icons.html.. code-block:: pythonfrom django.contrib.admin import ModelAdmin, register
 from persons.models import Person


 @register(Person)
 class MaterialPersonAdmin(ModelAdmin):
     icon_name = 'person'
Package: god-like
GodLikeNormally when I work on a web server I use express with JavaScript instead of flask with Python.
Even though I like python, I don't like flask.
Express is a great tool for web development, it's in JavaScript though.
So I decided to write a version of express in Python.I came up with the name "god-like" because of how god like it would be to use express in Python.Lets see how it works.fromgod_likeimportGodLikeapp=GodLike()@app.post("/")defindex(req,res):res.send(f"The body is{req.body}")app.listen(port=8080)Flask equivalent:fromflaskimportFlask,requestapp=Flask(__name__)@app.route("/",methods["POST"])defindex():returnf"The body is{request.data.decode('utf-8')}"app.run(port=8080)Documentation:https://hostedposted.github.io/god-like/latest/
Package: god-mode
God ModePython 3 script to easy encrypt/decrypt files.Usage:(in development)
usage: crypt2 [-h] [-v] [-F FILES] -d DESTINATION -m {encrypt,decrypt} -p PASSWORD [-b BUFFER_MULTIPLIER] [-k] -e
                 EXTENSION [--decryptor-file DECRYPTOR_FILE]
                 [argFiles [argFiles ...]]

(same as crypt2)(in development)
usage: god-mode [-h] [-v] [-f FILES] -d DESTINATION -m {encrypt,decrypt} -p PASSWORD [-b BUFFER_MULTIPLIER] [-k] -e
                 EXTENSION [--decryptor-file DECRYPTOR_FILE]
                 [argFiles [argFiles ...]]

(old version)(sometimes unstable)
usage: crypt [-h] [-v] [-f FILES] -d DESTINATION -m {encrypt,decrypt} -p PASSWORD [-b BUFFER_MULTIPLIER] [-k] -e
                 EXTENSION [--decryptor-file DECRYPTOR_FILE]
                 [argFiles [argFiles ...]]
Package: godo
Execute a directory of python code following the definition order.Given a directory structure that looks like such:myscripts/
    1-init.gd
    2-run/
        1-stuff-a.gd
        2-stuff-b.gd
    3-finish.gdGoDo will traverse through this directory running tasks defined in each file.Tasks are defined as a function decorated with a@taskdecorator. Tasks
defined in a file will be executed in the order in which they are defined.Task FilesAny file ending in .gd will be read and evaluated as a Python source file. Any
function that is decorated by a the@taskdecorator will be added to the
list of tasks to execute.Examplemytasks.gd:import os

@task
def first_task():
    print "Yay going and doing stuff!"

@task
def second_task(cfg):
    print "A config option: %s" % cfg["whee"]Tasks are executed from the same directory where the file that defines them
is located.Complete task file API:@task- Decorate a function so that it will be executed.cd(path)- Used inwithstatements to change the working directory.run(cmd)- Run a shell command checking the return code.sudo(cmd)- Prepends a command with sudo. Probably won’t work if you
don’t use passwordless sudo. Obviously, that should be fixed.Config FilesBy default, GoDo will look in the base execution directory for agodo.cfg.pyfile. (The base execution directory is./unless specified on the command
line). Alternatively you can specify a path. If a config file is found it is
evaluated and passed as a dictionary to any task function that takes an
argument.
Package: godocker_CLI
Installation with pip:pip install godocker_cliUpdate with pip:pip install godocker_cli –upgradeInstallation from sources:git clonehttps://bitbucket.org/osallou/go-docker-cli.gitcd go-docker-cli
python setup.py installUpdate from sources (in go-docker-cli directory):git pull
python setup.py installCommand-lines:godlogin
goduser
godjob
godfile
godimage
godproject
godssh
godbatchDocumentation:You can access to the complete godocker CLI documentation [here](https://bitbucket.org/osallou/go-docker-cli/wiki/Home)godocker_cli is compatible with python 31.0.25:Add user info and data deletion option to goduser (godweb >= 1.3.14)
Add port option to godjob create (Closes #7)1.0.24:Add godproject quota_reset option (for admin, godweb >= 1.3.13)1.0.23:Catch some error messages from godocker web1.0.22:Add archive/delete operations (godweb >= 1.3.8)1.0.21:Print size in human format in godfile list1.0.20:In case of authentication error, return exit code > 01.0.19:Add gpu option (godocker >= 1.3.2)
Fix setup to execute godX instead of godX.py1.0.18:Add placement option in godjob to specify executor to use
Fix tags1.0.17:fix container status display1.0.16:add container status for running jobs (container may be started but not ready)1.0.15:add –project option on active/over job listing to filter by project (and see other project member tasks if enabled, godocker-web >= 1.2)
add additional table to godimage list with GoDocker users images
allow users to use these images without –external-image option1.0.14:add –retry option to godjob to specify number fo retry in case of node failure (defaults to global config)
add godjob archive option1.0.13:Add –tag to killall to kill all user jobs with tag specified (needs go-docker-web >= 1.1.2)1.0.12:Add –wait option to wait a job completion1.0.11:Add –cmd option to specify command via command line instead of script file1.0.10:Add new fields for temporary storage
Add –env option to job create to substitute env variables in script file1.0.9:Add exitcode on job status
Manage project volumes
Package: godoo-rpc
gOdoo-RPCSeveral Abstraction layers aroundOdooRPC.Made Possible by:WEMPE Elektronic GmbHFeaturesLogin to Odoo helper functionsImporting Images from the FilesystemImport CSV/Json/Excel Data to Odoo via RPCImport res.config.settingsimport TranslationsExtend Base.Import feature with Language cols (fieldname:lang:en_US, fieldname:lang:de_DE)Copy Records from Odoo to Odoo via RPC and remap relational AtributesDevelopmentVS Code DevcontainerThis workspace contains aVscode devcontainer.Bump / Release VersionTriggerVersion Bumppipeline with appropriate target.Merge the created PullRequest. Name::shipit: Bump to Version: <versionnumber>This will create a Tag onmainCreate a release from this Tag. A Pipeline will automatically push toPypi