Saravanan666/pypi-org huggingface dataset:
Package: amazon-codeguru-jupyterlab-extension
Amazon CodeGuru JupyterLab ExtensionAmazon CodeGuru extension forJupyterLabandSageMaker Studio.
This extension runs scans on your notebook files and provides security recommendations and quality improvements to your code.RequirementsJupyterLab >= 3.0Installpipinstallamazon_codeguru_jupyterlab_extensionUninstallpipuninstallamazon_codeguru_jupyterlab_extensionDevelopmentPrerequisitesEnsure the following dependencies are available in your environment.Python >= 3.8JupyterLab >= 3.0NodeJS >= 18Alternatively, you can create a conda virtual environment with the following commands:condaenvupdate--filebinder/environment.yml
condaactivateamazon-codeguru-extension-demoManual SetupInstall the Python package in development mode.pipinstall-e.Link the extension with JupyterLab.jupyterlabextensiondevelop.--overwriteBuild the Typescript source.jlpmbuild# orjlpmwatch# automatically rebuild changesStart the JupyterLab serverjupyterlabQuick SetupRun the following command to quickly build and install the extension.python3binder/postBuildReleaseThis extension can be distributed as a Python package.
First, install build dependencies:pipinstallbuildtwinehatchBump the version usinghatch. By default this will create a tag.hatchversion<new-version>To generate a new Python source package (.tar.gz) and the binary package (.whl) in thedist/directory, run the following command:python-mbuildThen to upload the package to PyPI, run the following command:twineuploaddist/*SecuritySeeSECURITYfor more information.LicenseThis project is licensed under the Apache-2.0 License.
Package: amazon-connect-decryption-lib
RequiredPython 3.8+https://github.com/aws/aws-encryption-sdk-python/boto3Install$ pip install amazon-connect-decryption-libUsagefromamazon_connect_decryption_libimportdecryptssm_parameter_name='CONNECT_INPUT_DECRYPTION_KEY'encrypted_text='AYADeOCM0sgyKxALhzT1Q0fD+FEAXwABABVhd3MtY3J5cHRvLXB1YmxpYy1rZXkAREFxdnNLME55K1J1R3JSR0lLdmFuSVp5Q254RHpNMTY0ZUx4SUt0RE80czR1QWhKRlV2Tm44VExic0p1UnIvb2FnQT09AAEADUFtYXpvbkNvbm5lY3QAJGE1ZWNkNzQ5LTRiZDgtNGE5NC1iZmRlLTI3ZWVmZTRmMTJiMQIAfQ/ZWMphr1+3+vAd9REB07pMkNP4bgQSamOzwmSHX7B3Fx5GX1wlbkys9yC//5WfUy7ikFKVsy1BpyyGZ3gtkw8+etXt6c/TIScjxHP+4pXFGVHPwTeAPNNERMJwu3P5DyZEEflCDIpP6EtcCBlWgNAu4bOTxEDmUdesR1M3xy/BmIK/daUY9A6Z35NKmS1rV3L8kxPwvLzi93m2vwH1YGXcDcxuL3Iwc6YoTpI0ZIpQtNs30yeYBm1NNW3No76Wq6+dxNTRs5O6moaS0SNYoPrVmBImU7xqvHKoiBJeRxyA20rRPNbyrAZw3kcoLxyuhSqcJJS1NKpuUY/XO4i/xMa5C+ZtzfWbsiUF4ApGzkEVZ/m5iMTIFwI6BVlTV60wVMZkqSaQSnJpoC/qOdWK78LxxdBdmL470lWze0J35Wy7VXynpPAqq9tFYA6Lfq2OyOfjDxj1hwOcaIvjO3yeWCH8SPjer6NChYUUWhLt0CObxaJcHyH5YogzknLyiBAvfvVmlJgP8HcLKg8mJM0GQ+aEokISp9HNIyvFqDTwXsRz2OIdOE2a9qrDirkYC/+HEbkka/hYl4nYr+n+Knn/0RCQ8Nwb7oYk7WnZlU1ADCmYIKjotor2hEK/TlcuxXLylJj8ofgbe8HbsEjFMBdG442b1Eun4r4nUZuLZfm33ncCAAAAAAwAABAAxVaVGO1V9GzHfrF+z1YV08Baa+e9WeAKBoDFiP////8AAAAB4doeJ2gezq6CHwv+AAAADMznKid/99jwAREvH4WZtUbQSJSINk1Jes+EmT8AZzBlAjBdmQ6tP1SFucy/R6YrhrTR29AeBK3qF50WMOZ+TC55Yk3J+QAxy3HhSF4zI6mXn5kCMQC2sBABuFsktmfEvfr1EVWGPGtDYaXEk72ZBR6r3TG/opJSaWuoAUkxxAHCUt6gEl4='plain_text=decrypt(ssm_parameter_name,encrypted_text)print(plain_text)# output is 112344567789Usage with AWS Lambdafromamazon_connect_decryption_libimportdecryptdeflambda_handler(event,context):ssm_parameter_name='CONNECT_INPUT_DECRYPTION_KEY'encrypted_text=event['Details']['ContactData']['Attributes']['EncryptedNumber']# EncryptedNumber is your contact attribute name.plain_text=decrypt(ssm_parameter_name,encrypted_text)print(plain_text)return{'DecryptResult':plain_text}Test(for Developer)$ python -m unittest
Package: amazondata
amazondataA python package to get amazon product and search data in json form. The package does not require any API keys as it works by scraping the amazon page.Reference:How To Scrape Amazon Product Details and Pricing using PythonInstallpip install amazondataUsageTo get Amazon product details from the url, use the following function.get_product_from_url(url)fromamazondata.product_details_extractorimportProductDetailsExtractorproduct_details_extractor=ProductDetailsExtractor()data=product_details_extractor.get_product_from_url('https://www.amazon.in/dp/B09JSYVNZ2')print(data)To get Amazon product details from the ASIN (Amazon Standard Identification Number) code, use the following function.get_product_from_asin_code(asin_code)fromamazondata.product_details_extractorimportProductDetailsExtractorproduct_details_extractor=ProductDetailsExtractor()data=product_details_extractor.get_product_from_asin_code('B09JSYVNZ2')print(data)To get the list of products from search query use the following functionsearch(query, page)fromamazondata.search_result_extractorimportSearchResultExtractorsearch_result_extractor=SearchResultExtractor()data=search_result_extractor.search('perfume for men',3)print(data)NOTE: Optionally, you can pass customheadersto all these functions. The default headers value is:headers={"Accept":"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8","Sec-Fetch-Site":"none","Host":"www.amazon.in","Accept-Language":"en-IN,en-GB;q=0.9,en;q=0.8","Sec-Fetch-Mode":"navigate","Accept-Encoding":"gzip, deflate, br","User-Agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15","Connection":"keep-alive","Upgrade-Insecure-Requests":"1","Sec-Fetch-Dest":"document","Priority":"u=0, i",}In case the the scraper gets blocked from Amazon, you can fetch the html code using selenium and pass the html code to the following functiondata=extract_search_results(html_code)data=extract_product_details(html_code)
Package: amazonenvirosensors
NewkitonI bought a temperature senson on Amazon (https://www.amazon.com/Newkiton-NK-01B-Thermometer-Temperature-Compatible/dp/B07W53L4RD)
I wanted to integrate it into a Graphana dashboard and to do so I needed to figure out how to pull the data from itWith that in mind, I reverse engineered the protocol. At the moment I know the basic on how to get the temperatire readings
from the device and not much more.I am not that familar with BLE but I know wireshark so I used that to reverse engineer it. The  I just copied the
protocol and came up with thisThe device seems to store the data on a NVM with a simple address scheme. I presume it wraps around but I haven't
run it for long enough just yet.To use this, just instanciate a device and call the temperature method. The temperature is only updated every 10 minutes
so call it more frequently will only return a cached versionfromNewkitonimportNewkitonimporttimesensor=Newkiton.Newkiton(deviceAddr="8e:f9:00:00:00:ed")whileTrue:print("Temp={}".format(sensor.temperature()))time.sleep(60*10)ThermoBeaconThis is another similar device from Amazon which I also bought. I based
this code fromhttps://github.com/rnlgreen/thermobeaconfromThermoBeaconimportThermoBeaconimporttimesensor=ThermoBeacon.ThermoBeacon(deviceAddr="8e:f9:00:00:00:ed")whileTrue:print("Temp={}".format(sensor.temperature()))time.sleep(60*10)MiTemperatureThis is another similar device from Amazon which I also bought. I based
this code fromhttps://github.com/JsBergbau/MiTemperature2https://www.amazon.fr/gp/product/B082B4X4B2/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1
Package: amazon-frustration-free-setup-certification-tool
Python-based automation test scripts which can help Non-Amazon device partners to launch their devices with FFS with shorten self-certification time. The document will describe how to run those scripts to complete the certification tests, especially the provisioning performance test.Frustration Free Setup OverviewSeeUnderstanding Frustration-Free Setupfor more information.Frustration Free Setup Certification ProcessSeeProvisionee Certification Guidefor more information.Requirements and Getting started1 Android phone in USB debugging modeAlexa App installed and login with your Amazon accountThe phone is connected with your test machine (Windows, MacOS or Linux) with USB connection.1 Provisioner device, which is registered to your Amazon account, see recommended devices fromUnderstanding Frustration-Free Setup - Testing Your Device1 Provisionee device, your device under test, called DUT in this document.2 Control devices,Amazon Smart Plugsare recommendedPlease register both to your Amazon account.Please plug DUT on top of one smart plug, and turn that plugONif DUT has been registered to your Amazon account, orOFFif DUT is in factory reset mode.Please plug the provisioner device on top of the other smart plug, and turn itON.Please submit your DUT to pre-register our device setup service viaSubmit Test DevicesRun Test ScriptsSeeSource on GitHubfor more detailsLicenseThis project is licensed under the Apache-2.0 License.
Package: amazonian
AmazonianAmazonianis aPythonlibrary for interacting easily with Amazon S3 and Redshift.Installationpip install amazonianUsageS3fromamazonianimportS3s3=S3(key=None,secret=None,iam_role=None,root='s3://',spark=spark)# get list of files:s3.ls(path='s3://bucket/directory/subdirectory')# get a tree representation of folder structures3.tree(path='s3://bucket/directory/subdirectory')# get file size:s3.get_size(path='some_file')# save a Spark DataFrame as a Parquets3.save_parquet(data=my_data,path='s3://bucket/directory/subdirectory/name.parquet')# load a Parquet into a Spark DataFramemy_data=s3.load_parquet(path='s3://bucket/directory/subdirectory/name.parquet')
Package: amazonify
# python-amazonifyThe simplest way to build Amazon Affiliate links, in Python.![amazonify](https://github.com/rdegges/python-amazonify/raw/master/assets/amazonify.jpg)## InstallTo install ``python-amazonify``, simply run``pip install amazonify`` and you'll get the latest version installedautomatically.## UsageUsing ``amazonify`` is really easy. All you do is pass it the Amazon URL you'dlike to make into an affiliate link, and your Amazon affiliate tag.``` python>>> from amazonify import amazonify>>>>>> # Your Amazon affiliate tag:>>> affiliate_tag = 'rdegges-20'>>>>>> # Some non-affiliate Amazon URLs:>>> urls = [...     'http://www.amazon.com/Canon-21-1MP-Frame-Digital-Camera/dp/B001G5ZTLS/ref=sr_1_1?ie=UTF8&qid=1337148615&sr=8-1',...     'http://www.amazon.com/Transcend-Compact-Flash-Card-400X/dp/B002WE4H8I/ref=pd_bxgy_p_img_b',...     'http://www.amazon.com/Canon-LP-E6-Battery-Digital-Cameras/dp/B001KELVS0/ref=pd_bxgy_e_img_b',...     'http://www.amazon.com/Canon-50mm-1-8-Camera-Lens/dp/B00007E7JU/ref=sr_1_1?ie=UTF8&qid=1337148688&sr=8-1',...     'http://www.amazon.com/Canon-70-300mm-4-5-6-Lens-Cameras/dp/B0007Y794O/ref=sr_1_3?ie=UTF8&qid=1337148688&sr=8-3',... ]>>> affiliate_urls = [amazonify(u, tag) for u in urls]>>> affiliate_urls['http://www.amazon.com/Canon-21-1MP-Frame-Digital-Camera/dp/B001G5ZTLS/ref=sr_1_1?tag=rdegges-20','http://www.amazon.com/Transcend-Compact-Flash-Card-400X/dp/B002WE4H8I/ref=pd_bxgy_p_img_b?tag=rdegges-20','http://www.amazon.com/Canon-LP-E6-Battery-Digital-Cameras/dp/B001KELVS0/ref=pd_bxgy_e_img_b?tag=rdegges-20','http://www.amazon.com/Canon-50mm-1-8-Camera-Lens/dp/B00007E7JU/ref=sr_1_1?tag=rdegges-20','http://www.amazon.com/Canon-70-300mm-4-5-6-Lens-Cameras/dp/B0007Y794O/ref=sr_1_3?tag=rdegges-20']```**NOTE**: If the URL you try to ``amazonify`` is invalid, ``amazonify`` will return ``None``.## Confused?Have no idea what I'm talking about? See[Amazon's Affiliate Program](https://affiliate-program.amazon.com/gp/associates/network/main.html).Or...[Shop on Amazon!](http://www.amazon.com/?_encoding=UTF8&tag=rdegges-20&linkCode=ur2&camp=1789&creative=390957)## Tests[![Build Status](https://secure.travis-ci.org/rdegges/python-amazonify.png?branch=master)](http://travis-ci.org/rdegges/python-amazonify)Want to run the tests? No problem:``` bash$ git clone git://github.com/rdegges/python-amazonify.git$ cd python-amazonify$ python setup.py develop...$ pip install -r requirements.txt  # Install test dependencies.$ nosetests.............----------------------------------------------------------------------Ran 13 tests in 0.166sOK```## Changelogv0.1: 5-16-2012- Initial release!
Package: amazon-invoice-downloader
Amazon Invoice DownloaderTable of ContentsInstallationLicenseWhat it doesThis programamazon-invoice-downloader.pyis a utility script that uses thePlaywrightlibrary to spin up a Chromium instance and automate the process of downloading invoices for Amazon purchases within a specified date range. The script logs into Amazon using the provided email and password, navigates to the "Returns & Orders" section, and retrieves invoices for the specified year or date range.The user can provide their Amazon login credentials either through command line arguments (--email= --password=) or as environment variables ($AMAZON_EMAIL and $AMAZON_PASSWORD).The script accepts the date range either as a specific year (--year=) or as a date range (--date-range=). If no date range is provided, the script defaults to the current year.Once the invoices are retrieved, they are saved as PDF files in a local "downloads" directory. The filename of each PDF is formatted asYYYYMMDD_<total>_amazon_<orderid>.pdf, where YYYYMMDD is the date of the order, total is the total amount of the order (with dollar signs and commas removed), and orderid is the unique Amazon order ID.The program has a built-in "human latency" function, sleep(), to mimic human behavior by introducing random pauses between certain actions. This can help prevent the script from being detected and blocked as a bot by Amazon.The script will skip downloading a file if it already exists in the./downloadsdirectory.Installationpip install amazon-invoice-downloaderplaywright installUsageWhen running this program, Amazon may detect you are automation and introduce CAPTCHA's or make you login again.  Just do so, and once successfully logged in, the script will continue.$amazon-invoice-downloader-hAmazon Invoice DownloaderUsage:amazon-invoice-downloader.py \[--email=<email> --password=<password>] \[--year=<YYYY> | --date-range=<YYYYMMDD-YYYYMMDD>]amazon-invoice-downloader.py (-h | --help)Login Options:--email=<email>          Amazon login email  [default: $AMAZON_EMAIL].--password=<password>    Amazon login password  [default: $AMAZON_PASSWORD].Date Range Options:--date-range=<YYYYMMDD-YYYYMMDD>  Start and end date range--year=<YYYY>            Year, formatted as YYYY  [default: <CUR_YEAR>].Options:-h --help                Show this screen.Examples:amazon-invoice-downloader.py --year=2022  # This uses env vars $AMAZON_EMAIL and $AMAZON_PASSWORDamazon-invoice-downloader.py --date-range=20220101-20221231amazon-invoice-downloader.py --email=user@example.com --password=secret  # Defaults to current yearamazon-invoice-downloader.py --email=user@example.com --password=secret --year=2022amazon-invoice-downloader.py --email=user@example.com --password=secret --date-range=20220101-20221231Licenseamazon-invoice-downloaderis distributed under the terms of theMITlicense.
Package: amazon-kinesis-utils
amazon-kinesis-utilsA library of useful utilities for Amazon KinesisReferenceSee:https://amazon-kinesis-utils.readthedocs.io/en/latest/Usage# import submodule you want to use with from importfromamazon_kinesis_utilsimportkinesisdeflambda_handler(event,context):raw_records=event['Records']# kinesis.parse_records parses aggregated/non-aggregated records, with or without gzip compression# it even unpacks CloudWatch Logs subscription filters messagesforpayloadinkinesis.parse_records(raw_records):# kinesis.parse_records is a generator, so we only have one payload in memory on every iterationprint(f"Decoded payload:{payload}")ContributingMake sure to have following tools installed:pre-commitSphinx for docs generationmacOS$brewinstallpre-commit#setuppre-commithooksbyrunningbelowcommandinrepositoryroot$pre-commitinstall#installsphinx$pipinstallsphinxsphinx_rtd_theme
Package: amazon-lex-bot-deploy
amazon-lex-bot-deployAmazon Lex Bot DeployThe sample code provides a deploy function and an executable to easily deploy an Amazon Lex bot based on a Lex Schema file.License SummaryThis sample code is made available under a modified MIT license. See the LICENSE file.Deploy and export Amazon Lex Schema bots easily.
Maintain bots in source, share and use for CI/CD processes:pip install amazon-lex-bot-deploythen:lex-bot-deploy --example BookTripTo get the JSON schema easily:lex-bot-get-schema --lex-bot-name BookTripAnd you can specify which schema you would like to deploy obviously:lex-bot-deploy -s BookTrip_Export.jsonFor an example how to use the API check the CLI commandhttps://github.com/aws-samples/amazon-lex-bot-deploy/blob/master/bin/lex-bot-deployFree software: MIT-0 license (https://github.com/aws/mit-0)Documentation:https://lex-bot-deploy.readthedocs.io.FeaturesLet me know :-)Thoughts:
* make creation of permissions optional
* allow mapping of Lambda endpoints or allow options to map aliases to Lambda function (tbd)CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.8 (2020-04-02)fix dependency on legacy from botocore.vendored import requests (thx @davidfsmith)0.1.7 (2020-01-10)fix honoring TTL (thx @AlFalahTaieb)0.1.0 (2018-12-07)First release on PyPI.
Package: amazon-lex-bot-test
amazon_lex_bot_testTest Amazon Lex bots easily by defining business requirements through conversations:lex-bot-test--exampleBookTriplex-bot-test--test-file<your-test-file>--aliastest--regionus-west-2--verboseSample Test Definitions:This should give you an idea how to define your test cases.
Essentially you can test the response attributes and use Python patterns in the test condition.
Not an examples from the samples as they don’t have session attributes.name:test-lex-botdescription:Regression tests for the Amazon Lex botbotName:your-bot-namebotAlias:testwaitBetweenRequestsMillis:0sequences:-name:book a car with all defaultsdescription:book a car with all defaultssequence:-utterance:"bookacarwithallmydefaults"postConditions:message:-"Ok,Pickupofeconomyclasscartomorrowanddropoffin2daysinnewyork?"-utterance:"yes"postConditions:dialogState:ReadyForFulfillmentslots:CarType:economyDriverAge:"38"PickUpCity:new yorkPickUpDate:".*"ReturnDate:".*"sessionAttributes:-name:cartpattern:".*total:$33.35.*"Free software: MIT-0 licenseDocumentation:https://amazon-lex-bot-test.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2018-12-12)First release on PyPI.
Package: amazon-management-page-parser
amazon-management-page-parserCurrently only support seller profile page parsing. All fields use same encoding 'utf-8'.Seller profile fields:namestorefront_urlfeedbacks30dayspositiveneutralnegativecount90dayspositiveneutralnegativecount12monspositiveneutralnegativecountlifetimepositiveneutralnegativecountContentamazon_management_page_parser.seller_profile_parser.SellerProfileParserInstallationThe simplest way is to install it viapip:pip install amazon-management-page-parserRun Testpip install -r requirements-dev.txttox
Package: amazon-mws
# ** DISCLAIMER **
This API is in constant development. Do not rely on it too much until its in stable release.
All except for the last two APIs ( InboundShipment and OutboundShipment ) are complete.
Help towards completing this last two APIs would be greatly appreciated.
I will mark this as stable 1.0 once all tests have been completed.Forked from [czpython/python-amazon-mws](https://github.com/czpython/python-amazon-mws).# Python Amazon MWSPython Amazon MWS is a python interface for the Amazon MWS API.
I wrote it to help me upload my products to amazon. However, seeing its potential i decided
to expand it in order for it to cover most ( if not all ) operations in the Amazon MWS.This is still an ongoing project. If you would like to contribute, see below :).Its based on the [amazon-mws-python](http://code.google.com/p/amazon-mws-python).Checkout the documentation [here](https://python-amazon-mws.readthedocs.org/latest/).
You can read the official Amazon MWS documentation [here](https://developer.amazonservices.com/).# To-DoImprove READMECreate testsFinish InboundShipments & OutboundShipments APIsFinish Docs
Package: amazon-orders
Amazon Ordersamazon-ordersis an unofficial library that provides a command line interface alongside a programmatic API that can
be used to interact with Amazon.com's consumer-facing website.This works by parsing website data from Amazon.com. A nightly build validates functionality to ensure its
stability, but as Amazon provides no official API to use, this package may break at any time. This
package only supports the English version of the website.Installationamazon-ordersis available onPyPIand can be installed usingpip:pipinstallamazon-ordersThat's it!amazon-ordersis now available as a Python package is available from the command line.Basic UsageExecuteamazon-ordersfrom the command line with:amazon-orders--username<AMAZON_EMAIL>--password<AMAZON_PASSWORD>historyOr useamazon-ordersprogrammatically:fromamazonorders.sessionimportAmazonSessionfromamazonorders.ordersimportAmazonOrdersamazon_session=AmazonSession("<AMAZON_EMAIL>","<AMAZON_PASSWORD>")amazon_session.login()amazon_orders=AmazonOrders(amazon_session)orders=amazon_orders.get_order_history(year=2023)fororderinorders:print(f"{order.order_number}-{order.grand_total}")DocumentationFor more advanced usage,amazon-orders's official documentation is available athttp://amazon-orders.readthedocs.io.ContributingIf you would like to get involved, be sure to review theContribution Guide.Want to contribute financially? If you've foundamazon-ordersuseful,sponsorshipwould
also be greatly appreciated!
Package: amazon-paapi5
Amazon Product Advertising API 5.0 wrapper for PythonA simple Python wrapper for the last version of the Amazon Product Advertising API. This module allows to get product information from Amazon using the official API in an easier way.
Like Bottlenose you can use cache reader and writer to limit the number of api calls.FeaturesObject oriented interface for simple usageGet multiple products at onceConfigurable query cachingCompatible with Python versions 3.6 and upSupport for AU, BR, CA, FR, IN, IT, JP, MX, ES, TR, MX, AE, UK and US Amazon Product Advertising API endpointsConfigurable throttling for batches of queriesAsk for new features through theissuessection.Full documentation onRead the DocsInstallationYou can install or upgrade the module with:pip install amazon-paapi5 --upgradeUsage guideSearch items::from amazon.paapi import AmazonAPI
amazon = AmazonAPI(KEY, SECRET, TAG, COUNTRY)
products = amazon.search_items(keywords='harry potter')
print(product['data'][0].image_large)
print(product['data'][1].prices.price)Get multiple products information::from amazon.paapi import AmazonAPI
amazon = AmazonAPI(KEY, SECRET, TAG, COUNTRY)
products = amazon.get_items(item_ids=['B01N5IB20Q','B01F9G43WU'])
print(products['data']['B01N5IB20Q'].image_large)
print(products['data']['B01F9G43WU'].prices.price)Get variations::from amazon.paapi import AmazonAPI
amazon = AmazonAPI(KEY, SECRET, TAG, COUNTRY)
products = amazon.get_variations(asin=['B01N5IB20Q','B01F9G43WU'])Get browse nodes::from amazon.paapi import AmazonAPI
amazon = AmazonAPI(KEY, SECRET, TAG, COUNTRY)
browseNodes = amazon.get_browse_nodes(browse_node_ids=['473535031'])Use cache reader and writer::from amazon.paapi import AmazonAPI

DATA = []

def custom_save_function(url, data, http_info):  
    DATA.append({'url':url, 'data': data, 'http_info':http_info}) 

def custom_retrieval_function(url):  
    for item in DATA:  
        if item["url"] == url: 
            return {'data':item['data'], 'http_info': item['http_info']}  
    return None

amazon = AmazonAPI(KEY, SECRET, TAG, COUNTRY, CacheReader=custom_retrieval_function, CacheWriter=custom_save_function) 
products = amazon.search_items(keywords='harry potter')ChangelogVersion 1.1.2
    - License MIT
Version 1.1.1
    - add additional parameters to api calls
Version 1.1.0
    - CacheReader and CacheWriter available for all the search functions
    - Defintion af AmazonException to get exceptions during the api calls
    - Constants defintion
    - AmazonProduct and AmazonBrowseNode definition
    - Uniform data structure returned by all the api calls
Version 1.0.0
    - CacheReader and CacheWriter
    - Enable throttling
Version 0.1.0
    - First release