Exchanging data between different systems
Project description
Django-Filip
Background
django-filip is a light-weight integration layer for use with Django. It allows you to easily connect to different kinds of servers, using API, MSSQL and SFTP.
django-filip is currently in early development, and breaking changes may happen at any time. Make sure to pin your exact version!
Quickstart
Installing with uv
uv add django-filip
Add to installed apps
# settings.py
INSTALLED_APPS = [
...
'django-filip',
...
Make sure to do database migrations:
uv run manage.py migrate
Usage examples
Set up connections in Django-Admin
API Request
from django_filip.models import Connection
connection = Connection.objects.get(id=1)
response = connection.client.get('v1/objects/suppliers?param=1')
items = response.json()
Database Query
from django_filip.models import Connection
connection = Connection.objects.get(id=1)
query = 'SELECT * FROM suppliers'
results = connection.client.execute_query(query)
SFTP Upload
from django_filip.models import Connection
connection = Connection.objects.get(id=1)
with document.file.open('rb') as file:
response = connection.client.upload(file, '/remote/path', 'document.pdf')
For more examples, see examples.md
Compatibility
This app is designed and tested to work with the Django LTS versions:
- Django 5.2.x
Other versions (ex. 5.0.x, 5.1.x) are not officially supported. Make sure to lock in on an LTS-version in 'pyproject.toml':
For Django 5.2.x:
dependencies = ["django>=5.2,<5.3"]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_filip-0.1.4.tar.gz.
File metadata
- Download URL: django_filip-0.1.4.tar.gz
- Upload date:
- Size: 67.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0726c4a28a087eaa45a7fde41bc327e5781bdae5b440ef6c295205c76f8b0b8e
|
|
| MD5 |
5000a3b87dc302e8ce4caaac31cc0d94
|
|
| BLAKE2b-256 |
d6aa8de53c088875e2243aca29e4fa05345eac949ea8c20629774b8800818632
|
File details
Details for the file django_filip-0.1.4-py3-none-any.whl.
File metadata
- Download URL: django_filip-0.1.4-py3-none-any.whl
- Upload date:
- Size: 20.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb0c141e0736d060285a3b1e5499a962b8a8814129e1df1cfe1684052350bad6
|
|
| MD5 |
0a75148ff3140fd7112a71092b4a5fb2
|
|
| BLAKE2b-256 |
9018bcc1d222408533c290a0c3423a4bb290dc02272936e9fa57149ba214f5cf
|