Skip to main content

rest-framework-djongo

rest-framework-djongo 是一个用于处理 Djongo(Django 和 MongoDB 的集成)相关序列化和视图操作的工具库,帮助开发者更方便地在 Django REST Framework 中使用 MongoDB。

项目信息

  • 项目名称:rest-framework-djongo
  • 版本:0.1.4
  • 作者:vfeng 1914007838@qq.com
  • Python 版本要求:>=3.9

功能概述

序列化器

  • EmbeddedSerializer:用于处理嵌入式数据的序列化,继承自 GenericDjongoSerializer,并跳过了一些验证器。

字段

  • ObjectIdField:处理 MongoDB 的 ObjectId 类型数据,提供了 to_internal_value 和 to_representation 方法。
  • EmbeddedField:处理嵌入式字段,也提供了 to_internal_value 和 to_representation 方法。

视图

  • DjongoSearchMixin:重写 get_object 方法。

安装

  pip install rest-framework-djongo

Metadata

Release files for rest-framework-djongo 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rest-framework-djongo 0.1.7
File Size Uploaded Provenance Actions
rest_framework_djongo-0.1.7.tar.gz 3.5 kB Without provenance Details for rest_framework_djongo-0.1.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rest-framework-djongo 0.1.7
File Interpreter ABI Platform Actions
rest_framework_djongo-0.1.7-py3-none-any.whl Python 3 none any Details for rest_framework_djongo-0.1.7-py3-none-any.whl

Total release size: 9.0 kB

Release files / rest_framework_djongo-0.1.7.tar.gz

Download URL rest_framework_djongo-0.1.7.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a18cb485a4484c891996c706a772001fb4c7021a08ecbc8c8794f90741ea7796
BLAKE2b-256 checksum
How to use checksums
9417bfed82a9d868bb888ef983c6ffc7ad679fda768da0eaa7714be92b8d60c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.13.2 Darwin/24.0.0

Release files / rest_framework_djongo-0.1.7-py3-none-any.whl

Download URL rest_framework_djongo-0.1.7-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1bc5bd6c05c919b3f920acd7f721d98bc216d6afed80724474dc2708b57d28c6
BLAKE2b-256 checksum
How to use checksums
38d0628c7926c85fe928f642a5a1df3de00952c07e738738a196fe9db849802d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.13.2 Darwin/24.0.0

Security for rest-framework-djongo 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page