fastpocketoption-api 1.0.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.
- fastpocketoption_api-1.0.0/LICENSE +21 -0
- fastpocketoption_api-1.0.0/PKG-INFO +58 -0
- fastpocketoption_api-1.0.0/README.md +21 -0
- fastpocketoption_api-1.0.0/fastpo/__init__.py +25 -0
- fastpocketoption_api-1.0.0/fastpo/client.py +779 -0
- fastpocketoption_api-1.0.0/fastpo/errors.py +25 -0
- fastpocketoption_api-1.0.0/fastpo/models.py +51 -0
- fastpocketoption_api-1.0.0/fastpo/parser.py +246 -0
- fastpocketoption_api-1.0.0/fastpo/protocol.py +169 -0
- fastpocketoption_api-1.0.0/fastpo/utils.py +72 -0
- fastpocketoption_api-1.0.0/fastpocketoption_api.egg-info/PKG-INFO +58 -0
- fastpocketoption_api-1.0.0/fastpocketoption_api.egg-info/SOURCES.txt +15 -0
- fastpocketoption_api-1.0.0/fastpocketoption_api.egg-info/dependency_links.txt +1 -0
- fastpocketoption_api-1.0.0/fastpocketoption_api.egg-info/requires.txt +9 -0
- fastpocketoption_api-1.0.0/fastpocketoption_api.egg-info/top_level.txt +1 -0
- fastpocketoption_api-1.0.0/pyproject.toml +58 -0
- fastpocketoption_api-1.0.0/setup.cfg +4 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Your Name
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: fastpocketoption-api
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Fast, reliable, from-scratch Pocket Option API client with real-time sentiment.
|
|
5
|
+
Author-email: Your Name <you@example.com>
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/YOUR_USER/fastpocketoption-api
|
|
8
|
+
Project-URL: Documentation, https://github.com/YOUR_USER/fastpocketoption-api#readme
|
|
9
|
+
Project-URL: Source, https://github.com/YOUR_USER/fastpocketoption-api
|
|
10
|
+
Project-URL: Issues, https://github.com/YOUR_USER/fastpocketoption-api/issues
|
|
11
|
+
Project-URL: Changelog, https://github.com/YOUR_USER/fastpocketoption-api/blob/main/CHANGELOG.md
|
|
12
|
+
Keywords: pocketoption,pocket-option,pocket option api,trading,binary-options,sentiment,websocket,socketio,realtime
|
|
13
|
+
Classifier: Development Status :: 4 - Beta
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: Intended Audience :: Financial and Insurance Industry
|
|
16
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
17
|
+
Classifier: Operating System :: OS Independent
|
|
18
|
+
Classifier: Programming Language :: Python :: 3
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
+
Classifier: Topic :: Office/Business :: Financial :: Investment
|
|
23
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
24
|
+
Classifier: Typing :: Typed
|
|
25
|
+
Requires-Python: >=3.10
|
|
26
|
+
Description-Content-Type: text/markdown
|
|
27
|
+
License-File: LICENSE
|
|
28
|
+
Requires-Dist: websockets>=12.0
|
|
29
|
+
Requires-Dist: python-dotenv>=1.0.0
|
|
30
|
+
Requires-Dist: msgpack>=1.0
|
|
31
|
+
Provides-Extra: dev
|
|
32
|
+
Requires-Dist: pytest>=8.0; extra == "dev"
|
|
33
|
+
Requires-Dist: pytest-asyncio>=0.23; extra == "dev"
|
|
34
|
+
Requires-Dist: ruff>=0.4; extra == "dev"
|
|
35
|
+
Requires-Dist: mypy>=1.9; extra == "dev"
|
|
36
|
+
Dynamic: license-file
|
|
37
|
+
|
|
38
|
+
# fastpocketoption-api
|
|
39
|
+
|
|
40
|
+
> **Fast, reliable, from-scratch Pocket Option API client** with real-time sentiment.
|
|
41
|
+
|
|
42
|
+
[](https://pypi.org/project/fastpocketoption-api/)
|
|
43
|
+
[](https://pypi.org/project/fastpocketoption-api/)
|
|
44
|
+
[](https://pypi.org/project/fastpocketoption-api/)
|
|
45
|
+
|
|
46
|
+
Not affiliated with Pocket Option. Use at your own risk. See [Disclaimer](#disclaimer).
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
`fastpocketoption-api` speaks the Pocket Option binary Socket.IO protocol
|
|
51
|
+
directly, handles Socket.IO binary-attached events (`45N-[...]` + msgpack
|
|
52
|
+
frames), and keeps a warm cache of live sentiment for the entire asset catalog.
|
|
53
|
+
|
|
54
|
+
Despite the package name, **you import it as `fastpo`**:
|
|
55
|
+
|
|
56
|
+
```python
|
|
57
|
+
pip install fastpocketoption-api
|
|
58
|
+
from fastpo import FastPO
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# fastpocketoption-api
|
|
2
|
+
|
|
3
|
+
> **Fast, reliable, from-scratch Pocket Option API client** with real-time sentiment.
|
|
4
|
+
|
|
5
|
+
[](https://pypi.org/project/fastpocketoption-api/)
|
|
6
|
+
[](https://pypi.org/project/fastpocketoption-api/)
|
|
7
|
+
[](https://pypi.org/project/fastpocketoption-api/)
|
|
8
|
+
|
|
9
|
+
Not affiliated with Pocket Option. Use at your own risk. See [Disclaimer](#disclaimer).
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
`fastpocketoption-api` speaks the Pocket Option binary Socket.IO protocol
|
|
14
|
+
directly, handles Socket.IO binary-attached events (`45N-[...]` + msgpack
|
|
15
|
+
frames), and keeps a warm cache of live sentiment for the entire asset catalog.
|
|
16
|
+
|
|
17
|
+
Despite the package name, **you import it as `fastpo`**:
|
|
18
|
+
|
|
19
|
+
```python
|
|
20
|
+
pip install fastpocketoption-api
|
|
21
|
+
from fastpo import FastPO
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"""fastpo — fast, reliable Pocket Option API."""
|
|
2
|
+
|
|
3
|
+
from .client import FastPO
|
|
4
|
+
from .errors import (
|
|
5
|
+
AuthError,
|
|
6
|
+
ConnectionError,
|
|
7
|
+
FastPOError,
|
|
8
|
+
NotConnected,
|
|
9
|
+
Timeout,
|
|
10
|
+
)
|
|
11
|
+
from .models import Asset, Balance, Health, Sentiment
|
|
12
|
+
|
|
13
|
+
__version__ = "0.3.0"
|
|
14
|
+
__all__ = [
|
|
15
|
+
"FastPO",
|
|
16
|
+
"Asset",
|
|
17
|
+
"Balance",
|
|
18
|
+
"Health",
|
|
19
|
+
"Sentiment",
|
|
20
|
+
"FastPOError",
|
|
21
|
+
"AuthError",
|
|
22
|
+
"ConnectionError",
|
|
23
|
+
"Timeout",
|
|
24
|
+
"NotConnected",
|
|
25
|
+
]
|