Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ "3.12", "3.13" ]
python-version: [ "3.11", "3.12", "3.13", "3.14" ]

steps:

Expand Down
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
<img src="https://d32exi8v9av3ux.cloudfront.net/static/images/luno-email-336.png">

# Luno API [![Build Status](https://travis-ci.org/luno/luno-python.svg?branch=master)](https://travis-ci.org/luno/luno-python)
# Luno Python SDK

[![Run Tests](https://github.com/luno/luno-python/actions/workflows/test.yml/badge.svg)](https://github.com/luno/luno-python/actions/workflows/test.yml)
[![PyPI version](https://img.shields.io/pypi/v/luno-python.svg)](https://pypi.org/project/luno-python/)
[![Python Versions](https://img.shields.io/pypi/pyversions/luno-python.svg)](https://pypi.org/project/luno-python/)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/luno/luno-python/blob/main/LICENSE.txt)

[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=luno_luno-python&metric=alert_status)](https://sonarcloud.io/dashboard?id=luno_luno-python)
[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=luno_luno-python&metric=bugs)](https://sonarcloud.io/dashboard?id=luno_luno-python)
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=luno_luno-python&metric=security_rating)](https://sonarcloud.io/dashboard?id=luno_luno-python)
[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=luno_luno-python&metric=vulnerabilities)](https://sonarcloud.io/dashboard?id=luno_luno-python)
[![Duplicated Lines (%)](https://sonarcloud.io/api/project_badges/measure?project=luno_luno-python&metric=duplicated_lines_density)](https://sonarcloud.io/dashboard?id=luno_luno-python)
Comment thread
echarrod marked this conversation as resolved.

This Python package provides a wrapper for the [Luno API](https://www.luno.com/api).

Expand Down Expand Up @@ -28,6 +39,8 @@ except Exception as e:
print(e)
```

For more examples, see the [examples](./examples) folder.

### License

[MIT](https://github.com/luno/luno-python/blob/master/LICENSE.txt)
[MIT](https://github.com/luno/luno-python/blob/main/LICENSE.txt)
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ skip_gitignore = true
exclude_dirs = ["tests", "env", "build"]
skips = [
"B101", # Skip assert_used check (common in tests)
"B107", # Skip hardcoded_password_default (empty string defaults are acceptable for optional credentials)
]

[tool.pytest.ini_options]
Expand Down
15 changes: 14 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
"""Setup script for luno-python package."""

from pathlib import Path

from setuptools import find_packages, setup

from luno_python import VERSION
Expand All @@ -8,13 +10,24 @@
name="luno-python",
version=VERSION,
packages=find_packages(exclude=["tests"]),
description="A Luno API client for Python",
description="A Python client for the Luno cryptocurrency exchange API",
long_description=(Path(__file__).parent / "README.md").read_text(encoding="utf-8"),
long_description_content_type="text/markdown",
author="Neil Garb",
author_email="neil@luno.com",
install_requires=["requests>=2.18.4", "six>=1.11.0"],
license="MIT",
url="https://github.com/luno/luno-python",
download_url=f"https://github.com/luno/luno-python/tarball/{VERSION}",
python_requires=">=3.11",
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
],
keywords="Luno API Bitcoin Ethereum",
test_suite="tests",
setup_requires=["pytest-runner"],
Expand Down