Contentstack 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- contentstack/__init__.py +29 -0
- contentstack/asset.py +784 -0
- contentstack/config.py +162 -0
- contentstack/content_type.py +233 -0
- contentstack/entry.py +1162 -0
- contentstack/errors.py +162 -0
- contentstack/http_connection.py +195 -0
- contentstack/query.py +1632 -0
- contentstack/stack.py +760 -0
- contentstack/utils.py +34 -0
- contentstack-0.1.0.dist-info/LICENSE +21 -0
- contentstack-0.1.0.dist-info/METADATA +150 -0
- contentstack-0.1.0.dist-info/RECORD +15 -0
- contentstack-0.1.0.dist-info/WHEEL +5 -0
- contentstack-0.1.0.dist-info/top_level.txt +1 -0
contentstack/__init__.py
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
|
|
2
|
+
"""
|
|
3
|
+
__init__.py
|
|
4
|
+
contentstack
|
|
5
|
+
Created by Shailesh Mishra on 22/06/19.
|
|
6
|
+
Copyright 2019 Contentstack. All rights reserved.
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
import warnings
|
|
10
|
+
|
|
11
|
+
__author__ = 'Contentstack'
|
|
12
|
+
__status__ = 'debug'
|
|
13
|
+
__version__ = '0.1.0'
|
|
14
|
+
__package__ = 'contentstack'
|
|
15
|
+
__endpoint__ = 'cdn.contentstack.io'
|
|
16
|
+
__email__ = "mobile@contentstack.com"
|
|
17
|
+
|
|
18
|
+
from .entry import Entry
|
|
19
|
+
from .asset import Asset
|
|
20
|
+
from .config import Config
|
|
21
|
+
from .content_type import ContentType
|
|
22
|
+
from .errors import Error, FileModeWarning
|
|
23
|
+
from .http_connection import HTTPConnection
|
|
24
|
+
from .stack import Stack
|
|
25
|
+
|
|
26
|
+
import logging
|
|
27
|
+
from logging import NullHandler
|
|
28
|
+
logging.getLogger(__name__).addHandler(NullHandler())
|
|
29
|
+
warnings.simplefilter('default', FileModeWarning, append=True)
|