Personal tools
Skip to content. | Skip to navigation
Terraform tls provider
Terraform vault provider
Anthropic Python API library The Anthropic Python library provides convenient access to the Anthropic REST API from any Python 3.8+ application. It includes type definitions for all request params and response fields, and offers both synchronous and asynchronous clients powered by httpx. Documentation The REST API documentation can be found on docs.anthropic.com. The full API of this library can be found in api.md. Installation pip install anthropic Usage The full API of this library can be found in api.md. import os from anthropic import Anthropic client = Anthropic( api_key=os.environ.get("ANTHROPIC_API_KEY"), ) message = client.messages.create( max_tokens=1024, messages=[ { "role": "user", "content": "Hello, Claude", } ], model="claude-3-opus-20240229", ) print(message.content) While you can provide an api_key keyword argument, we recommend using python-d
Python job scheduling for humans. Run Python functions (or any other callable) periodically using a friendly syntax. A simple to use API for scheduling jobs, made for humans. In-process scheduler for periodic jobs. No extra processes needed! Very lightweight and no external dependencies. Excellent test coverage. Tested on Python and 3.7, 3.8, 3.9, 3.10, 3.11, 3.12 Usage $ pip install schedule import schedule import time def job(): print("I'm working...") schedule.every(10).seconds.do(job) schedule.every(10).minutes.do(job) schedule.every().hour.do(job) schedule.every().day.at("10:30").do(job) schedule.every(5).to(10).minutes.do(job) schedule.every().monday.do(job) schedule.every().wednesday.at("13:15").do(job) schedule.every().day.at("12:42", "Europe/Amsterdam").do(job) schedule.every().minute.at(":17").do(job) def job_with_argument(name): print(f"I am {name}") schedule.every(10).seconds.do(job_with_argument, name="Peter") while True: schedule.run_pending() time
Generic way to create meaningful and easy to use assertions for the Robot Framework libraries. This tools is spin off from Browser library project, where the Assertion Engine was developed as part of the of library. Supported Assertions Currently supported assertion operators are: Operator Alternative Operators Description Validate Equivalent == equal, equals, should be Checks if returned value is equal to expected value. value == expected != inequal, should not be Checks if returned value is not equal to expected value. value != expected > greater than Checks if returned value is greater than expected value. value > expected >= Checks if returned value is greater than or equal to expected value. value >= expected < less than Checks if returned value is less than expected value. value < expected <= Checks if returned value is less than or equal to expected value. value <= expected *= contains Checks if returned value contains expected value as substring. expected in valu
robotframework-retryfailed A listener to automatically retry tests or tasks based on tags. InstallationInstall with pip: pip install robotframework- retryfailed UsageAdd the listener to your robot execution, via command line arguments. When your tests do fail and you have tagged them with test:retry(2), it will retry the test 2 times. Retry can be also set globally as a parameter to the...
Selenium2Library Selenium2Library is a web testing library for Robot Framework_ that uses the Selenium_ tool internally. The project is hosted on GitHub_ and downloads can be found from PyPI_.Starting from version 3.0, Selenium2Library is renamed to SeleniumLibrary_ and this project exists mainly to help with transitioning.Versions Selenium2Library 3.0 and newer extend the new SeleniumLibrary_...
Auto-terminate potentially long-running operations in Ruby.
Jenkins aws-java-sdk-cloudwatch
Jenkins aws-java-sdk2-core