Saravanan666/pypi-org huggingface dataset:
Package: arsenal-director
AboutA small, Openstack-y service designed to manage image caching to nodes inIronic, written in Python.Pluggable data-gathering and cache management strategy means Arsenal can be repurposed to work with other services.FeaturesPluggable data gathering.Pluggable strategy/decisioning around caching images to nodes.Built-in objects which provide client caching and API call retries to:Ironic,Nova, andGlance.DocumentationHosted HTML docs for Arsenal are available athttp://arsenal.readthedocs.org/You may also build a local copy of Arsenal’s documentation by using Sphinx:$ sphinx-build $repo_root/docs/source $output_dirThen you can read the local documentation by pointing a browser at$output_dir/index.htmlRoadmapSee issues labeled ‘enhancements’ on Arsenal’s Github projectissuespage.
Package: arsenalqa
Quick startArsenalQA is a framework that helps to abstract QA functional tests from  developers realisation in ORM style.Model your data - Models help you to change and test your data faster.Make you transports abstract - it helps you to add them on the fly.Make relations between models by transports or other models - it helps your colleagues to understand your code easily.Why not django, graphql, etc?Because all of this instruments are created for developers. Developers code works in the middle of project logic,
between two endpoints: users and database(for example), and are adapted for using strong interaction protocols,
whereas QA need more flexible and comfortable behavior.Instalation:$ pip install arsenalqa[http]Lets make our first example with Post model:fromarsenalqa.fieldsimportFieldfromarsenalqa.modelsimportModelfromarsenalqa.transports.managersimportTransportManagerfromarsenalqa.transports.httpimportHttpclassPost(Model):http:Http=TransportManager(Http,url='https://jsonplaceholder.typicode.com/posts/{id}')id=Field()user_id=Field(name='userId')title=Field()body=Field()Our entity was created.Now you can:print(Post.http.get())# get list of posts modelsmy_model=Post()# new instance of my modelmy_model.id=1response_model=my_model.http.get()# get single instance from webprint(response_model)# model from webprint(response_model.id==my_model.id)# Lets fill new instance of our model and post it to the webnew_model=Post()new_model.title='My new title'new_model.body='My new Post body'new_created_model=new_model.http.post(expected_status=201)# Send via http POST methodprint(new_created_model)# Response wrapped in new model. Has filled field id.print(new_model==new_created_model)# False because, response model contains only id field.# Lets get list of posts from web, and filter it by userprint(Post.http.get().filter_by_attrs(user_id=1))# Lets get list of posts from web, and filter single unique model by idfirst_post=Post.http.get().unique_by_attrs(id=1)print(first_post)# Lets request again from response model, and get title attribute from response modelprint(first_post.http.get().title)Congrats! Now you can start learning this framework.Moredocspage!
Package: arsenalqa-amqp
Quick startArsenalQA is a framework that helps to abstract QA functional tests from  developers realisation in ORM style.Model your data - Models help you to change and test your data faster.Make you transports abstract - it helps you to add them on the fly.Make relations between models by transports or other models - it helps your colleagues to understand your code easily.Why not django, graphql, etc?Because all of this instruments are created for developers. Developers code works in the middle of project logic,
between two endpoints: users and database(for example), and are adapted for using strong interaction protocols,
whereas QA need more flexible and comfortable behavior.Instalation:$ pip install arsenalqa[http]Lets make our first example with Post model:fromarsenalqa.fieldsimportFieldfromarsenalqa.modelsimportModelfromarsenalqa.transports.managersimportTransportManagerfromarsenalqa.transports.httpimportHttpclassPost(Model):http:Http=TransportManager(Http,url='https://jsonplaceholder.typicode.com/posts/{id}')id=Field()user_id=Field(name='userId')title=Field()body=Field()Our entity was created.Now you can:print(Post.http.get())# get list of posts modelsmy_model=Post()# new instance of my modelmy_model.id=1response_model=my_model.http.get()# get single instance from webprint(response_model)# model from webprint(response_model.id==my_model.id)# Lets fill new instance of our model and post it to the webnew_model=Post()new_model.title='My new title'new_model.body='My new Post body'new_created_model=new_model.http.post(expected_status=201)# Send via http POST methodprint(new_created_model)# Response wrapped in new model. Has filled field id.print(new_model==new_created_model)# False because, response model contains only id field.# Lets get list of posts from web, and filter it by userprint(Post.http.get().filter_by_attrs(user_id=1))# Lets get list of posts from web, and filter single unique model by idfirst_post=Post.http.get().unique_by_attrs(id=1)print(first_post)# Lets request again from response model, and get title attribute from response modelprint(first_post.http.get().title)Congrats! Now you can start learning this framework.Moredocspage!
Package: arsenalqa-db
Quick startArsenalQA is a framework that helps to abstract QA functional tests from  developers realisation in ORM style.Model your data - Models help you to change and test your data faster.Make you transports abstract - it helps you to add them on the fly.Make relations between models by transports or other models - it helps your colleagues to understand your code easily.Why not django, graphql, etc?Because all of this instruments are created for developers. Developers code works in the middle of project logic,
between two endpoints: users and database(for example), and are adapted for using strong interaction protocols,
whereas QA need more flexible and comfortable behavior.Instalation:$ pip install arsenalqa[http]Lets make our first example with Post model:fromarsenalqa.fieldsimportFieldfromarsenalqa.modelsimportModelfromarsenalqa.transports.managersimportTransportManagerfromarsenalqa.transports.httpimportHttpclassPost(Model):http:Http=TransportManager(Http,url='https://jsonplaceholder.typicode.com/posts/{id}')id=Field()user_id=Field(name='userId')title=Field()body=Field()Our entity was created.Now you can:print(Post.http.get())# get list of posts modelsmy_model=Post()# new instance of my modelmy_model.id=1response_model=my_model.http.get()# get single instance from webprint(response_model)# model from webprint(response_model.id==my_model.id)# Lets fill new instance of our model and post it to the webnew_model=Post()new_model.title='My new title'new_model.body='My new Post body'new_created_model=new_model.http.post(expected_status=201)# Send via http POST methodprint(new_created_model)# Response wrapped in new model. Has filled field id.print(new_model==new_created_model)# False because, response model contains only id field.# Lets get list of posts from web, and filter it by userprint(Post.http.get().filter_by_attrs(user_id=1))# Lets get list of posts from web, and filter single unique model by idfirst_post=Post.http.get().unique_by_attrs(id=1)print(first_post)# Lets request again from response model, and get title attribute from response modelprint(first_post.http.get().title)Congrats! Now you can start learning this framework.Moredocspage!
Package: arsenalqa-http
Quick startArsenalQA is a framework that helps to abstract QA functional tests from  developers realisation in ORM style.Model your data - Models help you to change and test your data faster.Make you transports abstract - it helps you to add them on the fly.Make relations between models by transports or other models - it helps your colleagues to understand your code easily.Why not django, graphql, etc?Because all of this instruments are created for developers. Developers code works in the middle of project logic,
between two endpoints: users and database(for example), and are adapted for using strong interaction protocols,
whereas QA need more flexible and comfortable behavior.Instalation:$ pip install arsenalqa[http]Lets make our first example with Post model:fromarsenalqa.fieldsimportFieldfromarsenalqa.modelsimportModelfromarsenalqa.transports.managersimportTransportManagerfromarsenalqa.transports.httpimportHttpclassPost(Model):http:Http=TransportManager(Http,url='https://jsonplaceholder.typicode.com/posts/{id}')id=Field()user_id=Field(name='userId')title=Field()body=Field()Our entity was created.Now you can:print(Post.http.get())# get list of posts modelsmy_model=Post()# new instance of my modelmy_model.id=1response_model=my_model.http.get()# get single instance from webprint(response_model)# model from webprint(response_model.id==my_model.id)# Lets fill new instance of our model and post it to the webnew_model=Post()new_model.title='My new title'new_model.body='My new Post body'new_created_model=new_model.http.post(expected_status=201)# Send via http POST methodprint(new_created_model)# Response wrapped in new model. Has filled field id.print(new_model==new_created_model)# False because, response model contains only id field.# Lets get list of posts from web, and filter it by userprint(Post.http.get().filter_by_attrs(user_id=1))# Lets get list of posts from web, and filter single unique model by idfirst_post=Post.http.get().unique_by_attrs(id=1)print(first_post)# Lets request again from response model, and get title attribute from response modelprint(first_post.http.get().title)Congrats! Now you can start learning this framework.Moredocspage!
Package: arsenalqa-websocket
Quick startArsenalQA is a framework that helps to abstract QA functional tests from  developers realisation in ORM style.Model your data - Models help you to change and test your data faster.Make you transports abstract - it helps you to add them on the fly.Make relations between models by transports or other models - it helps your colleagues to understand your code easily.Why not django, graphql, etc?Because all of this instruments are created for developers. Developers code works in the middle of project logic,
between two endpoints: users and database(for example), and are adapted for using strong interaction protocols,
whereas QA need more flexible and comfortable behavior.Instalation:$ pip install arsenalqa[http]Lets make our first example with Post model:fromarsenalqa.fieldsimportFieldfromarsenalqa.modelsimportModelfromarsenalqa.transports.managersimportTransportManagerfromarsenalqa.transports.httpimportHttpclassPost(Model):http:Http=TransportManager(Http,url='https://jsonplaceholder.typicode.com/posts/{id}')id=Field()user_id=Field(name='userId')title=Field()body=Field()Our entity was created.Now you can:print(Post.http.get())# get list of posts modelsmy_model=Post()# new instance of my modelmy_model.id=1response_model=my_model.http.get()# get single instance from webprint(response_model)# model from webprint(response_model.id==my_model.id)# Lets fill new instance of our model and post it to the webnew_model=Post()new_model.title='My new title'new_model.body='My new Post body'new_created_model=new_model.http.post(expected_status=201)# Send via http POST methodprint(new_created_model)# Response wrapped in new model. Has filled field id.print(new_model==new_created_model)# False because, response model contains only id field.# Lets get list of posts from web, and filter it by userprint(Post.http.get().filter_by_attrs(user_id=1))# Lets get list of posts from web, and filter single unique model by idfirst_post=Post.http.get().unique_by_attrs(id=1)print(first_post)# Lets request again from response model, and get title attribute from response modelprint(first_post.http.get().title)Congrats! Now you can start learning this framework.Moredocspage!
Package: arsenalweb
#  Copyright 2015 CityGrid Media, LLC
#
#  Licensed under the Apache License, Version 2.0 (the “License”);
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
#
#http://www.apache.org/licenses/LICENSE-2.0#
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an “AS IS” BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.
#DescriptionArsenal#  Copyright 2015 CityGrid Media, LLC
#
#  Licensed under the Apache License, Version 2.0 (the “License”);
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
#
#http://www.apache.org/licenses/LICENSE-2.0#
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an “AS IS” BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.
#
Changelog
=========Wishlistfeature: TBD.0.1Initial release
Package: arsene
Simple cache management to make your life easy.RequirementsPython 3.6+InstallationpipinstallarseneQuick StartFor the tutorial, you must install redis as dependencypipinstallarsene[redis]The simplest Arsene setup looks like this:fromdatetimeimportdatetimefromarseneimportArsene,RedisModelredis=RedisModel(host='localhost')arsene=Arsene(redis_connection=redis)@arsene.cache(key='my_secret_key',expire=2)defget_user():return{'username':'jak','last_session':datetime(year=1999,month=2,day=3)}# return and writes response to the cacheget_user()# reads response to the cacheget_user()# Response: {'username': 'jak', 'last_session': datetime.datetime(1999, 2, 3, 0, 0)}# reads response to the cachearsene.get(key='my_secret_key')# delete key to the cachearsene.delete(key='my_secret_key')arsene.get(key='my_secret_key')# Response: None
Package: arsenic
Async WebdriverAsynchronous webdriver client built on asyncio.QuickstartLet's run a local Firefox instance.fromarsenicimportget_sessionfromarsenic.browsersimportFirefoxfromarsenic.servicesimportGeckodriverasyncdefexample():# Runs geckodriver and starts a firefox sessionasyncwithget_session(Geckodriver(),Firefox())assession:# go to example.comawaitsession.get('http://example.com')# wait up to 5 seconds to get the h1 element from the pageh1=awaitsession.wait_for_element(5,'h1')# print the text of the h1 elementprint(awaith1.get_text())For more information, checkthe documentationCI Supported by BrowserstackContinuous integration for certain browsers is generously provided byBrowserstack.
Package: arseparse
Arseparse is a simple Python utility/micro framework for writing command
line interfaces. It provides some functionality aroundargparsethat
covers some common scenarios.Installation:pip install arseparseBasic usage:from arseparse import Parser, Option


parser = Parser()


# register a command that returns the square of an int
parser.register('square', lambda value: value**2, [Option('value', type=int)])


# register a command that simply returns a string
parser.register('ping', lambda: 'pong')


# or with a decorator
@parser.register_dec([Option('value', type=int)])
def cube(value):
    return value**3


sys.exit(parser.run())You can then point an application entrypoint to the script or execute
the file:your-entrypoint.pysquare 2So far so boring. A more common scenario is to have a config file as the
first argument, parse it, create objects that the command depends on,
and pass those alongside the parsed attributes. Theroot_optionsandbootstrapconstructor args toParserallow us to implement this:from arseparse import Parser, Option
import myapp


# these are options that come before our main command
root_options = [Option('config', type=str, help='path to ini file')]


# this lets us process/modify the kwargs before we execute the callable.
# we can rely on attributes resulting from root_options to be set.
# here config gets replaced by three objects: settings, db_session and user_svc
def bootstrap(**kwargs):
    config_uri = kwargs.pop('config')
    settings = myapp.parse_app_config(config_uri)
    dbsession = myapp.get_sessionmaker(settings)()
    user_svc = myapp.UserService(dbsession)
    kwargs.update(dict(settings=settings, dbsession=dbsession, user_svc=user_svc))
    return kwargs


parser = Parser(root_options, bootstrap)


@parser.register_dec([Option('username', type=str), Option('secret', type=str)])
def create_user(username, secret, user_svc, **kwargs):
    user_svc.create_user(username, secret)


@parser.register_dec([Option('user_id', type=int)])
def ban_user(user_id, user_svc, **kwargs):
    user_svc.ban_user(user_id)


@parser.register_dec()
def print_settings(settings, **kwargs):
    print(settings)You can now provide the path to a config file as the first argument:your-entrypoint.pyconfig.ini ban_user 23Another common requirement is to be able to jump into a shell where some
objects have been preconfigured for us. Here’s a simple recipe for that:@parser.register_dec()
def shell(**kwargs):
    import IPython
    IPython.embed(user_ns=kwargs)Callingyour-entrypoint.py config.ini shellwill drop you in an ipython shell wheredbsession,settingsanduser_svcare in scope.
Package: arsespyder
1 - INTRODUCTION----------------The program "arsespyder" is a Web Crawler that enables crawling a URL and inspect the links contained in that web recursively, so that for a provided URL, the crawler downloads the links of type <a href="http://whatever">whatever</a> contained on it.For each of them the operations is repeated, until the level of search provided by parameter is achieved. If not provided, the crawling depth levels is, by default, 3.2 - APPLICATION USAGE---------------------Usage of the application is as follows:$ ./arsespyder.py --helpusage: arsespyder.py [-h] [-v] [-n NUMBER_OF_LEVELS] urlInternet Crawlerpositional arguments:url                   URL to crawloptional arguments:-h, --help            show this help message and exit-v, --version         show program's version number and exit-n NUMBER_OF_LEVELS, --number-of-levels NUMBER_OF_LEVELSCrawling depthNOTE 1 - The only mandatory parameter is the URL to crawl.NOTE 2 - If number of levels is not provided, by default, the NUMBER_OF_LEVELS is 3.3 - OUTPUT FORMAT-----------------arsespyder Web crawler will dump those links up to the depth crawling level specified, in the next format:$ ./arsespyder.py -n3 http://arsespyder.dyndns.org/index.html* http://arsespyder.dyndns.org/test/l1_p1.html* http://arsespyder.dyndns.org/test/l1_p2.html* http://arsespyder.dyndns.org/test/l1_p3.html** http://arsespyder.dyndns.org/test/l2_p1_p1.html** http://arsespyder.dyndns.org/test/l2_p1_p2.html** http://arsespyder.dyndns.org/test/l2_p2_p1.html** http://arsespyder.dyndns.org/test/l2_p2_p2.html*** http://arsespyder.dyndns.org/l3_p1_p1_p1.html*** http://arsespyder.dyndns.org/l3_p1_p1_p2.html*** http://arsespyder.dyndns.org/l3_p1_p1_p3.html*** http://arsespyder.dyndns.org/l3_p1_p2_p1.html*** http://arsespyder.dyndns.org/l3_p1_p2_p2.html*** http://arsespyder.dyndns.org/l3_p1_p2_p3.htmlWhere:*   http://... are level 1 links (existing in HTML code URL specified parameter)**  http://... are level 2 links (existing in HTML code of level 1 links)*** http://... are level 3 links (existing in HTML code of level 2 links)4 - CODE DOCUMENTATION----------------------Code documentation is contained under "doc" folder. Main .html file is pyarsespyder.html:$ tree doc/doc/├── pyarsespyder.geturl.html├── pyarsespyder.html└── pyarsespyder.validateurl.html5 - INSTALATION---------------Check INSTALL file
Package: ar-site-maker
AR Site MakerA tool to create a website where 3D models can be viewed using AR technology.
You can make simple marker based AR site that can view 3D model.
Simply specify the site name, 3D model file (.glb), and marker image (URL).
You can try demo project by accessing below QR code and holding up QR code a camera after site is loaded.
You have to allow camera access from demo site.How to installar-site-maker is available through pip andPyPi. You need python3.pip install ar-site-makerYou can confirm installation by executing ar-site-maker command.ar-site-makerYou can show top page like this if ar-site-maker is successfully installed.Ar Site Maker {version}
 Documentation is here https://github.com/enfy-space/ArSiteMakerUsageUsage is very easy!Preparing FileWhat you have to prepare is below..glb fileSorry! we don't support .gltf file yet 🥹.Please make sure to your model islocated around center of coordinate:(0,0,0)not buried in plane (elevation=0)marker image or site URLGenerated site is marker-based AR so Object is appear on the marker.
There are two-way to make marker.image : You can set your favorite image as marker.
We recommend as simple and square as image possible.URL : If specify your site URL, ar-site-maker set QR-code as marker automatically.Command UsageBasic usage of command is below.If you want to use your favorite image as markerar-site-maker make <your project name> <glb file path> -i <image path>If you want to use QR code of your site as markerar-site-maker make <your project name> <glb file path> -u <url>OptionstitleThe site title will be the same as the project name if not specified.
If you want to set title arbitrarily, you can use --site_title option like this.ar-site-maker make <your project name> <glb file path> -u <url> --site_title <title>scaleIf you want to adjust object scale, you can use --scale option like this.ar-site-maker make <your project name> <glb file path> -u <url> --scale <scale>animationIf you want to add rotate animation to object, you can add -a (or --animation) option like this.ar-site-maker make <your project name> <glb file path> -u <url> -aof course! you can open help like thisar-site-maker make -hOutputYour exported data is in directory named fot the project.
You can browse exported site by accessing index.html. The marker is stored in marker directory.
You can use marker.png or marker_add_padding.png ; marker added padding as marker.project name
├── index.html
├── marker
│   ├── marker.patt
│   ├── marker.png
│   └── marker_add_padding.png
└── model
    └── model.glb
Package: arso2weather
☁️ Arso2weather🤔 What is it?Arso2weather is a small package that allows you to look up the current temperature of most Slovenian citiesIt can also output sunrise/sunset of Slovenian citiesTemperature is displayed in Celsius (C°)The package is usingARSO VremedataInstallationpip3 install arso2weatherUsagefrom arso2weather import Arso2Weather

city = Arso2Weather("Ljubljana")
temp = city.weather_temp()
sunrise = city.sunrise()
sunset = city.sunset()
all_cities_temp = Arso2Weather().all_weather_temp()

print(temp, sunrise, sunset)
print(all_cities_temp)