Skip to content

Commit c28169f

Browse files
committed
uv init; testing framework; Python 3.14
1 parent a97c904 commit c28169f

File tree

86 files changed

+502
-167
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+502
-167
lines changed

.github/workflows/django.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
max-parallel: 4
1515
matrix:
16-
python-version: [3.9]
16+
python-version: [3.14]
1717

1818
steps:
1919
- uses: actions/checkout@v2

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.14

.vscode/launch.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@
44
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
55
"version": "0.2.0",
66
"configurations": [
7-
87
{
98
"name": "Python: Django",
10-
"type": "python",
9+
"type": "debugpy",
1110
"request": "launch",
1211
"program": "${workspaceFolder}\\manage.py",
1312
"args": [

CHANGELOG.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ ChangeLog
22
===========================
33
PLEASE NOTE THIS IS ONLY A BETA RELEASE. THE OPENNPL API IS STILL UNSTABLE
44

5-
5+
v0.7.0 (09-06-2025)
6+
-------------------
7+
* Avro Schemas
68

79
v0.6.4 (20-06-2024)
810
-------------------

CONTRIBUTING.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ CONTRIBUTING
44

55
Thank you very much for your interest in openNPL.
66

7-
We always welcome contributions!
7+
We always welcome contributions, whether they are in the form of code, documentation, issues, suggestions or financial support.
8+

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.10-slim
1+
FROM python:3.14-slim
22
LABEL version="0.6.4"
33
LABEL author="Open Risk <www.openriskmanagement.com>"
44
LABEL description="openNPL: Open Source Credit Portfolio Management"

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020 - 2024 Open Risk (https://www.openriskmanagement.com)
3+
Copyright (c) 2020 - 2025 Open Risk (https://www.openriskmanagement.com)
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ The platform is in active development, parties interested in its further develop
1717
![Landing](/docs/source/screenshots/landing.png)
1818

1919
## Motivation
20+
2021
Non-Performing loans pose a serious and ongoing challenge that affects many economies. Developing tools and methodologies that reduce the burden and improve the ability to manage problem loans is thus an important objective. For more background and previous work and references see the [blog post and links therein](https://www.openriskmanagement.com/opennpl-open-source-npl-platform-first-release/).
2122

2223
## Summary of Structure and Functionality
@@ -36,6 +37,7 @@ Once the openNPL platform is up and running:
3637
![Filter](/docs/source/screenshots/filter.png)
3738

3839
### Machine Oriented Functionality
40+
3941
openNPL aims to be at the same time easy to integrate into automated (computer driven) workflows. For this reason it exposes a *REST API* that offers both overviews and granular access to individual loan records.
4042

4143
![API](/docs/source/API.png)
@@ -54,6 +56,7 @@ openNPL includes two broad categories of documentation:
5456
particular the relevant counterparty and loan data that are important for the management of NPL portfolios
5557

5658
## Code and User Documentation
59+
5760
The technical / user documentation is included in this distribution and is hosted online at [readthedocs](http://opennpl.readthedocs.io)
5861

5962
## Data Documentation
@@ -66,21 +69,23 @@ The domain knowledge and detailed data documentation is provided via the **Open
6669
The Open Risk Manual articles further connect specific NPL knowledge bases to more general *credit portfolio* and *risk management* concepts, procedures and overall knowledge bases.
6770

6871
# Installation
72+
6973
There are several options to install openNPL, check out the details below
7074

7175
## Manual Installation from Source
7276
Manual installation from the repository source files requires some familiarity with python, django and web applications
7377

7478
### Prerequisites
7579
- openNPL requires a working Python 3 installation (including pip)
76-
- Python >= 3.10
77-
- Django >= 4.0
80+
- Python >= 3.14
81+
- Django >= 5.2
7882
- The precise python library dependencies are listed in the :doc:`requirements`.txt file.
7983
- Note: The current User Interface (UI) is desktop oriented and might not work properly in smaller mobile screens
8084
- openNPL may work with earlier versions of these packages but this has not been tested
81-
- A linux based system is recommended. Some tweaks are required for Windows but is in principle also possible to deploy there
85+
- A Linux based system is recommended. Some tweaks are required for Windows but is in principle also possible to deploy there
8286

8387
### Summary of Steps
88+
8489
Conceptually the required steps are as follows:
8590
* Step 1. Clone the openNPL repository from GitHub
8691
* Step 2. Create a virtual environment
@@ -90,7 +95,8 @@ Conceptually the required steps are as follows:
9095
* Step 6. Load some dummy data
9196
* Step 7. Have fun exploring openNPL!
9297

93-
In summary the required commands are as follows (more details in the documentation)
98+
In summary the required commands are as follows (more details in the documentation):
99+
94100
``` python
95101
git clone https://github.com/open-risk/openNPL
96102
virtualenv -p python3 venv

common/models.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2020 - 2024 Open Risk (https://www.openriskmanagement.com)
1+
# Copyright (c) 2020 - 2025 Open Risk (https://www.openriskmanagement.com)
22
#
33
# Permission is hereby granted, free of charge, to any person obtaining a copy
44
# of this software and associated documentation files (the "Software"), to deal
@@ -21,7 +21,7 @@
2121
from django.db import models
2222

2323
'''
24-
common abstract openNPL models
24+
common (abstract) openNPL models
2525
2626
Entity
2727
PrivatePerson
@@ -43,7 +43,7 @@
4343

4444
class Portfolio(models.Model):
4545
"""
46-
The portfolio data object is useful to aggregate datasets belonging to the same actual credit portfolio. A portfolio may be optionally named to facilitate recognition and a longer description provides further details.
46+
The portfolio data object aggregates datasets belonging to the same actual credit portfolio. A portfolio may be optionally named to facilitate recognition. A longer description provides further details.
4747
4848
.. note:: The actual Portfolio data are stored in the various NPL models (with foreign key to Portfolio)
4949

createadmin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python
2-
# Copyright (c) 2020 - 2024 Open Risk (https://www.openriskmanagement.com)
2+
# Copyright (c) 2020 - 2025 Open Risk (https://www.openriskmanagement.com)
33
#
44
# Permission is hereby granted, free of charge, to any person obtaining a copy
55
# of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)