tastytopping:客户端上的好吃的API的ORM

时间:2024-06-05 16:39:55
【文件属性】:

文件名称:tastytopping:客户端上的好吃的API的ORM

文件大小:74KB

文件格式:ZIP

更新时间:2024-06-05 16:39:55

Python

美味馅料 旨在减轻客户端使用django-tastypie API的负担。 特征 类似于Django模型的ORM API,允许您进行GET,POST,PUT,PATCH和DELETE: factory = ResourceFactory('http://localhost:8000/myapp/api/v1/') current_resource = factory.resource.get(field='name') # GET new_resource = factory.resource(field='new_name').save() # POST new_resource.field = 'different_name' new_resource.save() # PUT / PATCH curr


【文件预览】:
tastytopping-master
----MANIFEST.in(56B)
----README.rst(4KB)
----tastytopping()
--------exceptions.py(5KB)
--------factory.py(4KB)
--------tastytypes.py(400B)
--------__init__.py(936B)
--------auth.py(2KB)
--------resource.py(18KB)
--------meta.py(2KB)
--------queryset.py(23KB)
--------nested.py(3KB)
--------schema.py(8KB)
--------field.py(6KB)
--------api.py(8KB)
--------lock.py(728B)
----.pylintrc(8KB)
----requirements.txt(18B)
----.travis.yml(500B)
----tox.ini(3KB)
----LICENSE(7KB)
----setup.cfg(22B)
----setup.py(1KB)
----docs()
--------nested.rst(4KB)
--------make.bat(5KB)
--------optimization.rst(6KB)
--------auth.rst(3KB)
--------conf.py(8KB)
--------tastytopping.rst(798B)
--------index.rst(5KB)
--------Makefile(5KB)
--------query.rst(3KB)
--------cookbook.rst(3KB)
--------tutorial.rst(3KB)
----tests()
--------tests_base.py(2KB)
--------tests_queryset.py(25KB)
--------tests.py(23KB)
--------tests_auth.py(3KB)
--------run_testsite.py(1KB)
--------__init__.py(0B)
--------tests_nested.py(3KB)
--------testsite()
----.gitignore(354B)
----.coveragerc(189B)

网友评论