Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #106

Merged
merged 7 commits into from
Apr 23, 2024
Merged

Dev #106

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
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## [1.2.10] - 2024/03/08

### Changed
- ⚠ PACKAGE DEPRECATED

## [1.2.9] - 2023/10/04

### Changed
Expand Down
24 changes: 14 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
# osdatahub <!-- omit in toc -->


> ⚠ **Important Notice**:
>
> - This Python package is no longer actively maintained and will not receive updates.
> - It may become incompatible with future [OS Data Hub APIs](https://osdatahub.os.uk/).


[![GitHub issues](https://img.shields.io/github/issues/OrdnanceSurvey/osdatahub)](https://github.com/OrdnanceSurvey/osdatahub/issues)
[![Python package](https://github.com/OrdnanceSurvey/osdatahub/actions/workflows/python-package.yml/badge.svg)](https://github.com/OrdnanceSurvey/osdatahub/actions/workflows/python-package.yml)
<a href="https://codeclimate.com/github/dchirst/osdatahub/maintainability"><img src="https://api.codeclimate.com/v1/badges/471fd53dbb22e9e28546/maintainability" /></a>

> Coding in JavaScript?
> `osdatahub` has a sibling package for JavaScript developers with similar functionality, [check it out here](https://github.com/OrdnanceSurvey/osdatahub-js).

`osdatahub` is a python package from Ordnance Survey (OS) that makes it easier to interact with OS data via
the [OS Data Hub APIs](https://osdatahub.os.uk/).
Expand Down Expand Up @@ -35,21 +40,20 @@ the [OS Data Hub Explorer](https://labs.os.uk/public/data-hub-explorer/).
- Data Hub Explorer: https://labs.os.uk/prototyping/data-hub-explorer/
- Free Software: Open Government License

**Note:** This package is under active development.

## Contents <!-- omit in toc -->

- [Setup](#setup)
- [Quick Start](#quick-start)
- [NGD API](#ngd-api)
- [Features API](#features-api)
- [Places API](#places-api)
- [Names API](#names-api)
- [Linked Identifiers API](#linked-identifiers-api)
- [Downloads API](#downloads-api)
- [NGD API](#ngd-api)
- [Features API](#features-api)
- [Places API](#places-api)
- [Names API](#names-api)
- [Linked Identifiers API](#linked-identifiers-api)
- [Downloads API](#downloads-api)
- [Tutorials](#tutorials)
- [Proxies](#proxies)
- [Contribute](#contribute)
- [Support](#support)


# Setup
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = osdatahub
version = 1.2.9
version = 1.2.10
author = OS Rapid Prototyping
author_email = [email protected]
classifiers =
Expand Down
9 changes: 8 additions & 1 deletion src/osdatahub/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
import os
import json
import logging

message = """Deprecation Warning:
- The osdatahub Python package is no longer actively maintained and will not receive updates.
- It may become incompatible with future OS Data Hub APIs.
"""
logging.warning(message)

os.environ["_OSDATAHUB_PROXIES"] = json.dumps({})

Expand All @@ -9,7 +16,7 @@ def set_proxies(proxies):
def get_proxies():
return json.loads(os.environ["_OSDATAHUB_PROXIES"])

__version__ = "1.2.9"
__version__ = "1.2.10"

from osdatahub.extent import Extent
from osdatahub.FeaturesAPI import FeaturesAPI
Expand Down
Empty file.
Loading