Saravanan666/pypi-org huggingface dataset:
Package: mobetta
.. Mobetta documentation master file, created bysphinx-quickstart on Thu May 18 16:05:12 2017.You can adapt this file completely to your liking, but it should at leastcontain the root `toctree` directive.=======Mobetta=======.. rubric:: Manage translations in Django projects.. image:: https://travis-ci.org/maykinmedia/mobetta.svg?branch=master:target: https://travis-ci.org/maykinmedia/mobetta.. image:: https://codecov.io/gh/maykinmedia/mobetta/branch/develop/graph/badge.svg:target: https://codecov.io/gh/maykinmedia/mobetta.. image:: https://img.shields.io/pypi/v/mobetta.svg:target: https://pypi.python.org/pypi/mobettaMobetta is a reusable app to manage translation files in Django projects.It's inspired on `django-rosetta`_, but takes a more modern approach to problemand adds extra features, such as:* comments on translations* edit history* support for `ICU message format`_ with json catalogs.. toctree:::maxdepth: 2:caption: Contents:installationusage.. _quickstart:Quickstart==========Install with pip::pip install mobettaAdd it to your installed apps::INSTALLED_APPS = [...,'mobetta',...,]Hook up the urls in your root ``urls.py``::urlpatterns = [url(r'^admin/', include(admin.site.urls)),  # optionalurl(r'^admin/mobetta/', include('mobetta.urls', namespace='mobetta')),...]Run migrate to create the necessary database tables::python manage.py migrate.. _usage:Usage=====Mobetta discovers your translation files with a management command::python manage.py locate_translation_filesOpen localhost:8000/admin/mobetta/ to manage your translations.Notes=====How Django loads your translation files---------------------------------------See the `django translation docs`_Indices and tables==================* :ref:`genindex`* :ref:`modindex`* :ref:`search`.. _django-rosetta: https://github.com/mbi/django-rosetta.. _django translation docs: https://docs.djangoproject.com/en/stable/topics/i18n/translation/#how-django-discovers-translations.. _ICU message format: https://formatjs.io/guides/message-syntax/
Package: mobfot
mobfotA Python wrapper around the unofficialFotMobAPITable of ContentsmobfotTable of ContentsInstallUsageContributingLicenseInstallpipinstallmobfotUsagefrommobfotimportMobFotclient=MobFot()client.get_matches_by_date("20221205")ContributingFeel free toopen an issueor submit a pull request.LicenseMIT© Brian Greenwood
Package: mobi
mobi - library for unpacking unencrypted mobi filesA fork ofKindleUnpackwhich removes the GUI part and makes it available as a python library viaPyPifor easy unpacking of mobi files.UsageAs libraryimportmobitempdir,filepath=mobi.extract("mybook.mobi")'tempdir' is the path where the mobi is unpacked
'filepath' is the path to either an epub, html or pdf file depending on the mobi typeNOTE: You are responsible to delete the generated tempdir!From the command lineThe installer also creates a console script entrypoint that wraps the original KindleUnpack$mobiunpackKindleUnpack v0.82Based on initial mobipocket version Copyright © 2009 Charles M. Hannum <root@ihack.net>Extensive Extensions and Improvements Copyright © 2009-2014by:  P. Durrant, K. Hendricks, S. Siebert, fandrieu, DiapDealer, nickredding, tkeo.This program is free software: you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation, version 3.Description:Unpacks an unencrypted Kindle/MobiPocket ebook to html and imagesor an unencrypted Kindle/Print Replica ebook to PDF and imagesinto the specified output folder.Usage:mobiunpack -r -s -p apnxfile -d -h --epub_version= infile [outdir]Options:-h                 print this help message-i                 use HD Images, if present, to overwrite reduced resolution images-s                 split combination mobis into mobi7 and mobi8 ebooks-p APNXFILE        path to an .apnx file associated with the azw3 input (optional)--epub_version=    specify epub version to unpack to: 2, 3, A (for automatic) orF (force to fit to epub2 definitions), default is 2-d                 dump headers and other info to output and extra files-r                 write raw data to the output folder[0.3.3] - 2022-03-03Add GitHub build workfowUpdated dependenciesRmoved python 3.6 support (EOL)[0.3.2] - 2021-10-14Update dependencies[0.3.1] - 2020-06-27Fix pypi linkUpdate dependencies[0.3.0] - 2020-03-02Add support for mobi7 only filesAdd experimental support for mobi print replica filesAdd support for file-like objects[0.2.0] - 2020-03-02Minimal working 'extract' function and 'mobiunpack' console wrapperReplace most print calls with logging[0.1.0] - 2020-03-02Empty package registered on pypiLicenseGPL-3.0-onlyAll credits for the hard work go tohttps://github.com/kevinhendricks/KindleUnpack
Package: mobi-apns
A library for interacting with APNs using HTTP/2 and token based
authentication.Forked from Gene Sluder’s gobiko.apns
(https://github.com/genesluder/python-apns)Installationpip installmobi-apnsRequirementsPython 3.5+hyperpyjwtcryptographyUsageCreate a client:from mobi.apns import APNsClient, APNsMessage

client = APNsClient(
    team_id=TEAM_ID,
    bundle_id=BUNDLE_ID,
    auth_key_id=APNS_KEY_ID,
    auth_key_filepath=APNS_KEY_FILEPATH,
    use_sandbox=True
)Alternatively, you can create a client with the contents of the auth key
file directly:client = APNsClient(
    team_id=TEAM_ID,
    bundle_id=BUNDLE_ID,
    auth_key_id=APNS_KEY_ID,
    auth_key=APNS_KEY,
    use_sandbox=True
)If you run into any problems deserializing the key, try wrapping it to
64 lines:client = APNsClient(
    team_id=TEAM_ID,
    bundle_id=BUNDLE_ID,
    auth_key_id=APNS_KEY_ID,
    auth_key=APNS_KEY,
    use_sandbox=True,
    wrap_key=True
)Construct a message:message = APNsMessage('TEST',
           badge=1,
           sound='default',
           loc_key='This is a %@',
           loc_args=['Test'])Now you can send a message to a device by specifying its registration
ID:client.send_message(
    registration_id,
    message
)Or you can send bulk messages to a list of devices:client.send_bulk_message(
    [registration_id_1, registration_id_2],
    message
)PayloadAdditional APNs payload values can be passed into the message
constructionmessage = APNsMessage(
    "All your base are belong to us.",
    badge=None,
    sound=None,
    category=None,
    content_available=False,
    action_loc_key=None,
    loc_key=None,
    loc_args=[],
    extra={},
    identifier=None,
    expiration=None,
    priority=10,
    topic=None
)PruningThe legacy binary interface APNs provided an endpoint to check whether a
registration ID had become inactive. Now the service returns a
BadDeviceToken error when you attempt to deliver an alert to an inactive
registration ID. If you need to prune inactive IDs from a database you
can handle the BadDeviceToken exception to do so:::from mobi.apns.exceptions import BadDeviceTokentry:client.send_message(OLD_REGISTRATION_ID, “Message to an invalid registration ID.”)except BadDeviceToken:# Handle invalid ID here
passSame approach if sending by bulk:::from mobi.apns.exceptions import PartialBulkMessagetry:client.send_bulk_message([registration_id1, registration_id2], “Message”)except PartialBulkMessage as e:# Handle list of invalid IDs using e.bad_registration_ids
passDocumentationMore information on APNs and an explanation of the above can be foundin this blog post<http://gobiko.com/blog/token-based-authentication-http2-example-apns/>_.Apple documentation for APNs can be foundhere<https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/APNSOverview.html#//apple_ref/doc/uid/TP40008194-CH8-SW1>_.CreditsGene Sluder
Package: mobi.devices
See documentation athttp://mobi.infrae.com/.mobi.devicesis a set of tools that detect mobile user agents. It uses
theWURFL databaseas well as data from
theMIT mobile project.It provides WSGI middleware that can tag a request with information about
the device performing the request.For best performance, please installpytc. It is not a package requirement
since it is not available on all platforms.Paster example configuration:[app:yourapp]
# This part describes your application
# use = ...

[filter:mobidevicedetection]
# The entry point to use the classifier
use = egg:mobi.devices#classifier
# cache the classification on a client side cookie (default: true)
cookie_cache = true
# Configure caching (see beaker documentation)
cache.type = ext:memcached
cache.url = 127.0.0.1:11211
cache.lock_dir = /tmp/mobicache
# Data directory *required*. make sure directory is writable
# by the user that run the webserver
var = /var/mobi/db
# Path to wurfl file. by default it uses the one shipped with
# this package. however you should use the latest one.
wurfl_file = /var/mobi/wurfl.xml.gz

[filter:mobirouter]
use = egg:mobi.devices#router
# Redirect mobile devices that connect to infrae.com hostname
# to m.infrae.com
infrae.com = http://m.infrae.com/

[pipeline:main]
# This part configures the actual WSGI stack
pipeline = mobidevicedetection mobirouter yourapp

[server:main]
# This is the configuration for the paster web server.
# It must have the same name as the pipeline.
use = egg:Paste#http
host = 0.0.0.0
port = 8080
threadpool_workers = 7If you are using Apache with rewrite rules that modify the path and
you want the router to route on the original path, please add the
following rule before any rewrite ruleRewriteRule ^(.*)$ - [E=ORIGINAL_PATH:$1]
RequestHeader set X_ORIGINAL_PATH %{ORIGINAL_PATH}eChangelogmobi.devices 1.2 (2011-04-14)add more configuration options (Bruno Binet)mobi.devices 1.1 (2010-12-20)add original path http header handler to make router work with rewrite rules.add simple router middleware.mobi.devices 1.0.1 (2010-09-14)fix wurfl file configuration handlingfix missing importmobi.devices 1.0 (2010-09-13)Add new engine for wurflmobi.devices 1.0b1 (2010-07-14)first release, see README.txt
Package: mobi-header
mobi_headerA python library for reading/editing mobi/azw3 metadata.Install:pip install mobi_headerclassMobiHeadervariables:file_path: str, path of mobi/azw3 file.palm_doc: a PalmDoc object, contain palmdoc's header and records.metadata: a python dict, use offset as key, the metadata of file.exth_value: a python list, the exth metadata of file.method:change_title(title : str):​	change the title of metadata.change_metadata(id : int, value):​	change the mobi metadata. the value will be convert to origin dtype.change_exth_metadata(id : int, value):​	change the mobi exth metadata. the value will be convert to origin dtype.get_exth_value_by_id(id : int):​	return the value of id in exth metadata.get_exth_value_by_name(name : str):​	return the value of name in exth metadata.to_file(file : [str, None] = None):​	write metadata to file. Default write to origin file.About metadata and exth-metadata, the detail seehereExamplefrommobi_headerimportMobiHeaderfoo=MobiHeader("example.azw3")foo.change_exth_metadata(501,"PDOC")foo.to_file()
Package: mobile163
IntroductionRobotFramework-MobileLibrary is an appium testing library forRobotFramework.It usesAppium(version 1.x) to communicate with Android and iOS application
similar to howSelenium WebDrivertalks
to web browser.It support Python 2.x only.InstallationUsingpipThe recommended installation method is usingpip:pip install robotframework-mobilelibraryProject ContributorsDong HaoWang YangdanXia Daqiang
Package: mobile-aat-setup
mobile AAT setupHow to use?Setup FirebaseBefore using this package, you need to setup a firebase project. If you
already have Firebase set up, skip to step 4.Openhttp://firebase.google.com, log in with your google account and
create a new project.The name here does not matter, you don’t need google analyticsIn your project create a database (this is where the data AATs be
stored)click on Realtime Database (on the left)click Create Databasechoose Belgium for Database locationchoose start in locked modeones the database is created click on Rules (on the top) and
change the two “false” to “true”PublishCreate Firebase storage (this is where you can upload experiments)click on Storage (on the left)click on Get startedStart in production modeSet location to Europe westclick on Rules and change the “false” to “true”Add the appClick on the cog, next to Project Overview (upper left)Click on Project settingsClick on the Android logo (bottom)Under Android package name, fill in com.yourname.picturegame,
where you replace yourname with your name or your lab’s name.Download google-services.jsonInstall the mobile aat setup packagepip install mobile_aat_setupSetup the appsetup_aatdownloads the newest version of the mobile AAT app, changes the app’s
package ID (so you can upload your own version of the app to the
Playstore) and links the app to your google Firebase account.frommobile_aat_setup.setupimportsetup_aatPATH_TO_WHERE_YOU_WANT_TO_STORE_THE_APP='/Users/hilmarzech/Desktop/mobileaat'PATH_TO_GOOGLE_SERVICES_JSON='/Users/hilmarzech/Desktop/google-services.json'setup_aat(PATH_TO_WHERE_YOU_WANT_TO_STORE_THE_APP,PATH_TO_GOOGLE_SERVICES_JSON)Download Android Studio and open the created app folderYou should now be able to run the app on your device.
Package: mobile-address
```# Example 1----------------------------In [1]: from mobile_address import MobileAddressIn [2]: ma = MobileAddress('15764235174')In [3]: ma.get_full()Out [1]:{'mts': '1576423','province': '山东','catName': '中国移动','telString': '15764235174','areaVid': '30501','ispVid': '3236139','carrier': '山东移动'}# Example 2In [1]: from mobile_address import get_addressIn [2]: get_address('15764235174')Out [1]:{'mts': '1576423','province': '山东','catName': '中国移动','telString': '15764235174','areaVid': '30501','ispVid': '3236139','carrier': '山东移动'}# Example 3In [1]: from mobile_address import get_provinceIn [2]: get_province('15764235174')Out [1]: '山东'# Example 4In [1]: from mobile_address import get_carrierIn [2]: get_carrier('15764235174')Out [1]: '山东移动'```
Package: mobilealerts
python-mobilealertsPython classes for MobileAlerts gateway and sensorsLibrary act as proxy server which intercepts all measurements and sensors properties which sends MobileAlerts gateway to the cloud.Everything works in asynchronous way in order to build on the base of this libraryHome assistantintegration.Installationpipinstall-Umobilealertsor install withPoetrypoetryaddmobilealerts🛡 LicenseThis project is licensed under the terms of theMITlicense. SeeLICENSEfor more details.CreditsThis project was inspired and developed on the base ofMMMMobileAlertsThis project was generated withpython-package-template
Package: mobile-base-sdk
Mobile Base Python SDK for Reachy 2021As of July 2022, theReachy robotgained mobility!Reachy is now equipped with an omnidirectional open source mobile base allowing the robot to move in any direction, turn itself around, go through doors or squeeze through tight spaces.The mobile base Python SDK is a pure Python SDk library that let you control Reachy's mobile base even without having Reachy's motors turned on.You can use the SDK over the network. The communication to the robot is done viagRPCand can thus work on most kind of network configurations. Local control of the mobile base directly on Reachy's computer can simply be done using the localhost IP.LicenseThe mobile base SDK, and the rest of Reachy software, is open-source and released under an Apache-2.0 License.InstallationFrom PyPipipinstallmobile-base-sdkFrom the sourcegitclonehttps://github.com/pollen-robotics/mobile-base-sdk
pipinstall-emobile-base-sdkWe recommend using avirtual environmentfor your development.The SDK depends onnumpy,grpcandreachy-sdk-api.Getting StartedA section in our online documentation is dedicated to themobile base SDKto learn how to use it.Connecting the SDK to Reachy's mobile base is as simple as:frommobile_base_sdkimportMobileBaseSDKmobile_base=MobileBaseSDK(host='my-reachy-ip')ExamplesExamples are available in this repository as notebooks or Python scripts to show you how to use the mobile base Python SDK.You will find:
**
*Connect to a ReachyIt is also possible to connect simultaneously to Reachy and its mobile base usingreachy-sdk.fromreachy_sdkimportReachySDKreachy=ReachySDK(host='my-reachy-ip',with_mobile_base=True)reachy.mobile_base.goto(x=0.5,y=0.0,theta=0.0)See thededicated notebookfor an example of using both Reachy and its mobile base simultaneously.SupportThis project adheres to the Contributorcode of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior tocontact@pollen-robotics.com.Visitpollen-robotics.comto learn more or join ourDicord communityif you have any questions or want to share your ideas.
Follow@PollenRoboticson Twitter for important announcements.
Package: mobile-camera
For accessing a mobile camera install this library on your desktop.
Then download IP Webcam App on android phone. After installing the app click on start server.
Give all permissions to the app. You will get IPv4 & IPv6 ip address. Copy TPv4 ip address.
Then open browser on your desktop and paste that url on browser. You will get some opption.
Select Javascript. You will get a preview. Then open python file. See the example file.
Then write that code. You can take ip by taking input or you can also give the ip address on file.
You also can edit the mobile_camera library code also and you can give me suggestion onsaminshamima@gmail.com.
Package: mobile-catkin-modules-build-development-tools
ROS Mobile Catkin Modules Build Development ToolsWebsitehttps://application-ui-ux.github.io/mobile_catkin_modules_build_development_tools/target/site/index.htmlUpdated Versionmobile_catkin_modules_build_development_toolsreadme.Old Versionrosjava_build_toolsreadme.Installationpip install mobile-catkin-modules-build-development-toolsWebsitehttps://pypi.org/project/mobile-catkin-modules-build-development-tools/This package is a generator of rosmobile message artifacts for core ros messages for mobileImportantThe repository has diverged, as the old commits and codes are under the previous License and
the new commits and codes are under New LicenseLatest versions and Maintainer is on Application-UI-UXBuilding and PackagingThe packages is published inhttps://github.com/Application-UI-UXAdding PackagesIf you would like to add a message dependency to this list, first consider if it is a worthwhile candidate, these libraries
are not trying  to replace existing more so displaying useful information to the user with controlsIt is a direct dependency for rosmobile/androidIt is a popular and stable dependency that will require little maintenanceLatest versions are on Application-UI-UX and it is mainThen to actually add the dependency:new release versions are mainadd the message dependency to package.xmladd the message dependency to CMakeLists.txtcreate a pull requestupdate the changelog and bump the version number in package.xmltag it with the new version numberreleaseRereleasing Version ChangesWhen the underlying message dependency version numbers shift, this will
require a rebuild of this package:update the changelog and bump the version number in package.xmltag it with the new version numberreleaseMaintainerRonaldson BellandeLicenseThis SDK is distributed under theApache License, Version 2.0, seeLICENSEandNOTICEfor more information.
Package: mobilechelonian
“Nevertheless… the turtle moves!”- Small Gods, by Terry PratchettThis is a Turtle module for the Jupyter Notebook. It’s based on code byaspidites, one of two groups atMacewan Universitythat built Turtle
as a class assignment (the other wasPACattack;
I could have based this on either, but I had to pick one).Using it looks like this:from mobilechelonian import Turtle
t = Turtle()
t.speed(5)
colours=["red","blue","yellow","brown","black","purple","green"]

t.penup(); t.left(90); t.forward(200);t.right(90);t.pendown()
for i in range (0,18):
    t.pencolor(colours[i%7])
    t.right(20)
    t.forward(50)

t.right(180)
t.home()
Package: mobile-codes
Contains the country codes from ISO 3166-1 based on the code based on:https://github.com/deactivated/python-iso3166/But also has the MCC and MNC codes based on the Wikipedia page:http://en.wikipedia.org/wiki/List_of_mobile_country_codesAs well as the latest released listing from ITU:http://www.itu.int/dms_pub/itu-t/opb/sp/T-SP-E.212B-2014-PDF-E.pdfNote that MCC codes for a country can be:None (no MCC code)a string (where a country has one code)a tuple of strings (where a country has more than one code)Installation$ pip install mobile-codesUsage>>> import mobile_codesLookup by Mobile Country Code (MCC):>>> mobile_codes.mcc("648")
[Country(name=u'Zimbabwe', alpha2='ZW', alpha3='ZWE', numeric='716', mcc='648')]
>>> mobile_codes.mcc("311")
[Country(name=u'Guam', alpha2='GU', alpha3='GUM', numeric='316', mcc=('310', '311')),
 Country(name=u'United States', alpha2='US', alpha3='USA', numeric='840', mcc=('310', '311', '313', '316'))]
>>> mobile_codes.mcc("313")
[Country(name=u'United States', alpha2='US', alpha3='USA', numeric='840', mcc=('310', '311', '313', '316'))]Lookup by name, alpha2, alpha3 (all case insensitive):>>> mobile_codes.alpha3("CAN")
Country(name=u'Canada', alpha2='CA', alpha3='CAN', numeric='124', mcc='302')
>>> mobile_codes.alpha2("CA")
Country(name=u'Canada', alpha2='CA', alpha3='CAN', numeric='124', mcc='302')
>>> mobile_codes.name('canada')
Country(name=u'Canada', alpha2='CA', alpha3='CAN', numeric='124', mcc='302')Lookup operators by mcc (returns a list of all operators):>>> mobile_codes.operators('302')
[Operator(mcc='302', mnc='220', brand='Telus', operator=u'Telus'),
 Operator(mcc='302', mnc='221', brand='Telus', operator=u'Telus'),...Lookup operator by mcc and Mobile Network Code (MNC):>>> mobile_codes.mcc_mnc('722', '070')
Operator(mcc='722', mnc='070', brand='Movistar', operator=u'Movistar')All lookups raise a KeyError if the requested value is not found.DevelopmentIf you want to do development on the library, follow these steps:Create a virtualenvbin/pip install -r requirements/tests.txtbin/nosetests -s mobile_codesContributorsHanno Schlichting (hannosch)Jared Kerim (jaredkerim)Changes0.6 - 2014-10-14Move network and country constants into JSON filesIncorporate ITU data for operators0.5 - unreleased0.4 - 2014-06-13Declare compatibility with Python 3.4.Fix a number of country to mcc mappings.Issue #9: Fix typo in mcc for Yemen.Issue #10: Allow 310 as a mcc value for Puerto Rico.0.3 - 2014-05-14Changed mcc API to always return a list, possibly empty, possibly
containing multiple countries.0.2.2 - 2014-04-22Some tests, docs changes and updates to the records, thanks hannosch.0.2 - 2013-10-26Added in MNC codes and a script to scrape them.0.1 - 2013-10-22Added in MCC codes and a lookup.Made completely lazy, no records generated or indexed until first asked for.