amochka 0.1.9__tar.gz → 0.3.0__tar.gz

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.
@@ -1,14 +1,14 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amochka
3
- Version: 0.1.9
4
- Summary: Python library for working with amoCRM API
3
+ Version: 0.3.0
4
+ Summary: Python library for working with amoCRM API with ETL capabilities
5
5
  Author-email: Timur <timurdt@gmail.com>
6
6
  License: MIT
7
7
  Project-URL: Homepage, https://github.com/yourusername/amochka
8
8
  Project-URL: Documentation, https://github.com/yourusername/amochka
9
9
  Project-URL: Repository, https://github.com/yourusername/amochka
10
10
  Project-URL: Bug Tracker, https://github.com/yourusername/amochka/issues
11
- Keywords: amocrm,crm,api,client,automation
11
+ Keywords: amocrm,crm,api,client,automation,etl
12
12
  Classifier: Development Status :: 4 - Beta
13
13
  Classifier: Intended Audience :: Developers
14
14
  Classifier: License :: OSI Approved :: MIT License
@@ -27,6 +27,8 @@ Requires-Python: >=3.6
27
27
  Description-Content-Type: text/markdown
28
28
  Requires-Dist: requests>=2.25.0
29
29
  Requires-Dist: ratelimit>=2.2.0
30
+ Requires-Dist: psycopg2-binary>=2.9.0
31
+ Requires-Dist: python-dotenv>=1.0.0
30
32
 
31
33
  # amochka
32
34
 
@@ -0,0 +1,28 @@
1
+ """
2
+ amochka: Библиотека для работы с API amoCRM.
3
+ """
4
+
5
+ __version__ = "0.2.0"
6
+
7
+ from .client import AmoCRMClient, CacheConfig
8
+ from .etl import (
9
+ write_ndjson,
10
+ export_leads_to_ndjson,
11
+ export_contacts_to_ndjson,
12
+ export_notes_to_ndjson,
13
+ export_events_to_ndjson,
14
+ export_users_to_ndjson,
15
+ export_pipelines_to_ndjson,
16
+ )
17
+
18
+ __all__ = [
19
+ "AmoCRMClient",
20
+ "CacheConfig",
21
+ "write_ndjson",
22
+ "export_leads_to_ndjson",
23
+ "export_contacts_to_ndjson",
24
+ "export_notes_to_ndjson",
25
+ "export_events_to_ndjson",
26
+ "export_users_to_ndjson",
27
+ "export_pipelines_to_ndjson",
28
+ ]