clinton 0.0.5__tar.gz → 0.0.7__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.
- clinton-0.0.7/Clinton/__init__.py +4 -0
- clinton-0.0.7/Clinton/functions/__init__.py +1 -0
- clinton-0.0.7/Clinton/functions/function01.py +107 -0
- clinton-0.0.7/Clinton/scripts/script01.py +11 -0
- clinton-0.0.7/PKG-INFO +36 -0
- clinton-0.0.7/README.md +14 -0
- clinton-0.0.7/clinton.egg-info/PKG-INFO +36 -0
- {clinton-0.0.5 → clinton-0.0.7}/clinton.egg-info/SOURCES.txt +1 -3
- clinton-0.0.7/clinton.egg-info/requires.txt +3 -0
- clinton-0.0.7/pyproject.toml +32 -0
- clinton-0.0.5/Clinton/__init__.py +0 -19
- clinton-0.0.5/Clinton/functions/__init__.py +0 -2
- clinton-0.0.5/Clinton/functions/function01.py +0 -24
- clinton-0.0.5/Clinton/functions/function02.py +0 -79
- clinton-0.0.5/Clinton/scripts/script01.py +0 -5
- clinton-0.0.5/LICENSE +0 -21
- clinton-0.0.5/PKG-INFO +0 -42
- clinton-0.0.5/README.md +0 -17
- clinton-0.0.5/clinton.egg-info/PKG-INFO +0 -42
- clinton-0.0.5/clinton.egg-info/requires.txt +0 -3
- clinton-0.0.5/setup.py +0 -21
- {clinton-0.0.5 → clinton-0.0.7}/Clinton/functions/collections.py +0 -0
- {clinton-0.0.5 → clinton-0.0.7}/Clinton/scripts/__init__.py +0 -0
- {clinton-0.0.5 → clinton-0.0.7}/Clinton/scripts/script02.py +0 -0
- {clinton-0.0.5 → clinton-0.0.7}/Clinton/scripts/script05.py +0 -0
- {clinton-0.0.5 → clinton-0.0.7}/clinton.egg-info/dependency_links.txt +0 -0
- {clinton-0.0.5 → clinton-0.0.7}/clinton.egg-info/top_level.txt +0 -0
- {clinton-0.0.5 → clinton-0.0.7}/setup.cfg +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from .function01 import Media
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import os
|
|
2
|
+
import time
|
|
3
|
+
import ffmpeg
|
|
4
|
+
import random
|
|
5
|
+
import asyncio
|
|
6
|
+
|
|
7
|
+
from ..scripts import Scripted
|
|
8
|
+
from .collections import SMessage
|
|
9
|
+
from hachoir.parser import createParser
|
|
10
|
+
from hachoir.metadata import extractMetadata
|
|
11
|
+
#=====================================================================================================
|
|
12
|
+
|
|
13
|
+
class Media:
|
|
14
|
+
|
|
15
|
+
@staticmethod
|
|
16
|
+
async def interval(numpic, durations, minimum):
|
|
17
|
+
moonus = random.sample(range(minimum, durations), numpic)
|
|
18
|
+
moonus.sort()
|
|
19
|
+
return moonus
|
|
20
|
+
|
|
21
|
+
#=====================================================================================================
|
|
22
|
+
|
|
23
|
+
@staticmethod
|
|
24
|
+
async def filename(location, filename=None, extension=Scripted.DATA06):
|
|
25
|
+
moones = filename if filename else round(time.time())
|
|
26
|
+
moonus = str(location) + str(moones) + extension
|
|
27
|
+
return moonus
|
|
28
|
+
|
|
29
|
+
#=====================================================================================================
|
|
30
|
+
|
|
31
|
+
@staticmethod
|
|
32
|
+
async def duration(flocation, default=0):
|
|
33
|
+
metadato = createParser(flocation)
|
|
34
|
+
metadata = extractMetadata(metadato)
|
|
35
|
+
if not metadata or metadata == None:
|
|
36
|
+
return default
|
|
37
|
+
duration = metadata.get("duration", default)
|
|
38
|
+
durations = duration if duration == 0 else duration.seconds
|
|
39
|
+
return durations
|
|
40
|
+
|
|
41
|
+
#=====================================================================================================
|
|
42
|
+
|
|
43
|
+
@staticmethod
|
|
44
|
+
async def metadata(flocation, outgoing, maps="0", command=None):
|
|
45
|
+
if not command or flocation == None:
|
|
46
|
+
return flocation
|
|
47
|
+
try:
|
|
48
|
+
mainse = ffmpeg.input(flocation)
|
|
49
|
+
nemose = mainse.output(outgoing, map=maps, **command, c="copy")
|
|
50
|
+
moonus = nemose.run(quiet=True)
|
|
51
|
+
except ffmpeg.Error as errors:
|
|
52
|
+
moonus = str(errors.stderr.decode('utf-8'))
|
|
53
|
+
return SMessage(result=None, errors=moonus)
|
|
54
|
+
except Exception as errors:
|
|
55
|
+
return SMessage(result=None, errors=errors)
|
|
56
|
+
else:
|
|
57
|
+
os.remove(flocation)
|
|
58
|
+
return SMessage(result=outgoing)
|
|
59
|
+
|
|
60
|
+
#=====================================================================================================
|
|
61
|
+
|
|
62
|
+
@staticmethod
|
|
63
|
+
async def videoshort(stime, etime, vidfile, extension, dlocation):
|
|
64
|
+
try:
|
|
65
|
+
output = await Media.filename(dlocation, extension=extension)
|
|
66
|
+
ffmpeg.input(vidfile, ss=stime, t=etime).output(output).run(quiet=True)
|
|
67
|
+
moonos = output if os.path.lexists(output) else None
|
|
68
|
+
return moonos
|
|
69
|
+
except Exception:
|
|
70
|
+
return None
|
|
71
|
+
|
|
72
|
+
#=====================================================================================================
|
|
73
|
+
|
|
74
|
+
@staticmethod
|
|
75
|
+
async def screenshot(file, dlocation, duration):
|
|
76
|
+
try:
|
|
77
|
+
output = await Media.filename(dlocation, extension=".jpg")
|
|
78
|
+
ffmpeg.input(file, ss=duration).output(output, vframes=1).run(quiet=True)
|
|
79
|
+
moonos = output.filename if os.path.lexists(output.filename) else None
|
|
80
|
+
return SMessage(result=moonos)
|
|
81
|
+
except ffmpeg.Error as errors:
|
|
82
|
+
moonus = errors.stderr.decode('utf-8')
|
|
83
|
+
return SMessage(errors=str(moonus))
|
|
84
|
+
except Exception as errors:
|
|
85
|
+
return SMessage(errors=moonus)
|
|
86
|
+
|
|
87
|
+
#=====================================================================================================
|
|
88
|
+
|
|
89
|
+
@staticmethod
|
|
90
|
+
async def screenshots(imog, file, location, numpic, dminimum=5, imageses=[], counters=0):
|
|
91
|
+
durations = await Media.duration(file)
|
|
92
|
+
if durations < dminimum:
|
|
93
|
+
return imageses
|
|
94
|
+
interval = await Media.interval(numpic, durations, dminimum)
|
|
95
|
+
for looper in range(numpic):
|
|
96
|
+
valuesom = interval[0]
|
|
97
|
+
imagesos = await Media.screenshot(file, location, valuesom)
|
|
98
|
+
if imagesos.result == None:
|
|
99
|
+
continue
|
|
100
|
+
counters += 1
|
|
101
|
+
imageses.append(imagesos.result)
|
|
102
|
+
interval.remove(valuesom)
|
|
103
|
+
await asyncio.sleep(2)
|
|
104
|
+
else:
|
|
105
|
+
return imageses
|
|
106
|
+
|
|
107
|
+
#=====================================================================================================
|
clinton-0.0.7/PKG-INFO
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: clinton
|
|
3
|
+
Version: 0.0.7
|
|
4
|
+
Summary: Clinton
|
|
5
|
+
Author-email: Clinton Abraham <clintonabrahamc@gmail.com>
|
|
6
|
+
Project-URL: Homepage, https://telegram.me/Clinton_Abraham
|
|
7
|
+
Keywords: apps,python,extensions
|
|
8
|
+
Classifier: Natural Language :: English
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
17
|
+
Requires-Python: >=3.10
|
|
18
|
+
Description-Content-Type: text/markdown
|
|
19
|
+
Requires-Dist: pillow
|
|
20
|
+
Requires-Dist: hachoir
|
|
21
|
+
Requires-Dist: ffmpeg-python
|
|
22
|
+
|
|
23
|
+
<p align="center">
|
|
24
|
+
<a href="https://ibb.co/7NXDmQ8j"><img src="https://i.ibb.co/N2GsSp4b/file-00000000bd908211a319795ae2a89be9.png" alt="file-00000000d61c8211bf1838bd7e34f360" border="0">
|
|
25
|
+
</a>
|
|
26
|
+
<br>
|
|
27
|
+
<b>Python applications extension</b>
|
|
28
|
+
<br>
|
|
29
|
+
</p>
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
<p align="center">
|
|
33
|
+
<a href="https://telegram.me/Space_x_bots"><img src="https://img.shields.io/badge/Sᴘᴀᴄᴇ 𝕩 ʙᴏᴛꜱ-30302f?style=flat&logo=telegram" alt="telegram badge"/></a>
|
|
34
|
+
<a href="https://telegram.me/clinton_abraham"><img src="https://img.shields.io/badge/Cʟɪɴᴛᴏɴ Aʙʀᴀʜᴀᴍ-30302f?style=flat&logo=telegram" alt="telegram badge"/></a>
|
|
35
|
+
<a href="https://telegram.me/sources_codes"><img src="https://img.shields.io/badge/Sᴏᴜʀᴄᴇ ᴄᴏᴅᴇꜱ-30302f?style=flat&logo=telegram" alt="telegram badge"/></a>
|
|
36
|
+
</p>
|
clinton-0.0.7/README.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="https://ibb.co/7NXDmQ8j"><img src="https://i.ibb.co/N2GsSp4b/file-00000000bd908211a319795ae2a89be9.png" alt="file-00000000d61c8211bf1838bd7e34f360" border="0">
|
|
3
|
+
</a>
|
|
4
|
+
<br>
|
|
5
|
+
<b>Python applications extension</b>
|
|
6
|
+
<br>
|
|
7
|
+
</p>
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
<p align="center">
|
|
11
|
+
<a href="https://telegram.me/Space_x_bots"><img src="https://img.shields.io/badge/Sᴘᴀᴄᴇ 𝕩 ʙᴏᴛꜱ-30302f?style=flat&logo=telegram" alt="telegram badge"/></a>
|
|
12
|
+
<a href="https://telegram.me/clinton_abraham"><img src="https://img.shields.io/badge/Cʟɪɴᴛᴏɴ Aʙʀᴀʜᴀᴍ-30302f?style=flat&logo=telegram" alt="telegram badge"/></a>
|
|
13
|
+
<a href="https://telegram.me/sources_codes"><img src="https://img.shields.io/badge/Sᴏᴜʀᴄᴇ ᴄᴏᴅᴇꜱ-30302f?style=flat&logo=telegram" alt="telegram badge"/></a>
|
|
14
|
+
</p>
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: clinton
|
|
3
|
+
Version: 0.0.7
|
|
4
|
+
Summary: Clinton
|
|
5
|
+
Author-email: Clinton Abraham <clintonabrahamc@gmail.com>
|
|
6
|
+
Project-URL: Homepage, https://telegram.me/Clinton_Abraham
|
|
7
|
+
Keywords: apps,python,extensions
|
|
8
|
+
Classifier: Natural Language :: English
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
17
|
+
Requires-Python: >=3.10
|
|
18
|
+
Description-Content-Type: text/markdown
|
|
19
|
+
Requires-Dist: pillow
|
|
20
|
+
Requires-Dist: hachoir
|
|
21
|
+
Requires-Dist: ffmpeg-python
|
|
22
|
+
|
|
23
|
+
<p align="center">
|
|
24
|
+
<a href="https://ibb.co/7NXDmQ8j"><img src="https://i.ibb.co/N2GsSp4b/file-00000000bd908211a319795ae2a89be9.png" alt="file-00000000d61c8211bf1838bd7e34f360" border="0">
|
|
25
|
+
</a>
|
|
26
|
+
<br>
|
|
27
|
+
<b>Python applications extension</b>
|
|
28
|
+
<br>
|
|
29
|
+
</p>
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
<p align="center">
|
|
33
|
+
<a href="https://telegram.me/Space_x_bots"><img src="https://img.shields.io/badge/Sᴘᴀᴄᴇ 𝕩 ʙᴏᴛꜱ-30302f?style=flat&logo=telegram" alt="telegram badge"/></a>
|
|
34
|
+
<a href="https://telegram.me/clinton_abraham"><img src="https://img.shields.io/badge/Cʟɪɴᴛᴏɴ Aʙʀᴀʜᴀᴍ-30302f?style=flat&logo=telegram" alt="telegram badge"/></a>
|
|
35
|
+
<a href="https://telegram.me/sources_codes"><img src="https://img.shields.io/badge/Sᴏᴜʀᴄᴇ ᴄᴏᴅᴇꜱ-30302f?style=flat&logo=telegram" alt="telegram badge"/></a>
|
|
36
|
+
</p>
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
LICENSE
|
|
2
1
|
README.md
|
|
3
|
-
|
|
2
|
+
pyproject.toml
|
|
4
3
|
Clinton/__init__.py
|
|
5
4
|
Clinton/functions/__init__.py
|
|
6
5
|
Clinton/functions/collections.py
|
|
7
6
|
Clinton/functions/function01.py
|
|
8
|
-
Clinton/functions/function02.py
|
|
9
7
|
Clinton/scripts/__init__.py
|
|
10
8
|
Clinton/scripts/script01.py
|
|
11
9
|
Clinton/scripts/script02.py
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=77", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "clinton"
|
|
7
|
+
version = "0.0.7"
|
|
8
|
+
description = "Clinton"
|
|
9
|
+
requires-python = ">=3.10"
|
|
10
|
+
keywords = ["apps", "python", "extensions"]
|
|
11
|
+
dependencies = ["pillow", "hachoir", "ffmpeg-python"]
|
|
12
|
+
readme = { file = "README.md", content-type = "text/markdown" }
|
|
13
|
+
authors = [ { name = "Clinton Abraham", email = "clintonabrahamc@gmail.com" } ]
|
|
14
|
+
|
|
15
|
+
classifiers = [
|
|
16
|
+
"Natural Language :: English",
|
|
17
|
+
"Intended Audience :: Developers",
|
|
18
|
+
"Operating System :: OS Independent",
|
|
19
|
+
"Programming Language :: Python :: 3.10",
|
|
20
|
+
"Programming Language :: Python :: 3.11",
|
|
21
|
+
"Programming Language :: Python :: 3.12",
|
|
22
|
+
"Programming Language :: Python :: 3.13",
|
|
23
|
+
"Programming Language :: Python :: 3.14",
|
|
24
|
+
"Programming Language :: Python :: 3.15"
|
|
25
|
+
]
|
|
26
|
+
|
|
27
|
+
[project.urls]
|
|
28
|
+
Homepage = "https://telegram.me/Clinton_Abraham"
|
|
29
|
+
|
|
30
|
+
[tool.setuptools.packages.find]
|
|
31
|
+
include = ["Clinton*"]
|
|
32
|
+
where = ["."]
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
builded = "20.08.2024"
|
|
2
|
-
appname = "clinton"
|
|
3
|
-
version = "0.0.5"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
install = ["aiohttp",
|
|
7
|
-
"requests",
|
|
8
|
-
"ffmpeg-python"]
|
|
9
|
-
|
|
10
|
-
DATA01 = "clintonabrahamc@gmail.com"
|
|
11
|
-
DATA02 = ['Natural Language :: English',
|
|
12
|
-
'Intended Audience :: Developers',
|
|
13
|
-
'Operating System :: OS Independent',
|
|
14
|
-
'Programming Language :: Python :: 3.10',
|
|
15
|
-
'Programming Language :: Python :: 3.11',
|
|
16
|
-
'Programming Language :: Python :: 3.12',
|
|
17
|
-
'Topic :: Software Development :: Libraries',
|
|
18
|
-
'Topic :: Software Development :: Libraries :: Python Modules',
|
|
19
|
-
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)']
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import json
|
|
2
|
-
import socket
|
|
3
|
-
import requests
|
|
4
|
-
from ..scripts import Apis
|
|
5
|
-
#================================================================
|
|
6
|
-
|
|
7
|
-
class InterNet:
|
|
8
|
-
|
|
9
|
-
def GetIP():
|
|
10
|
-
moones = requests.get(Apis.DATA02)
|
|
11
|
-
moonus = moones.json()
|
|
12
|
-
return moonus['ip']
|
|
13
|
-
|
|
14
|
-
def GetLIP():
|
|
15
|
-
moones = socket.gethostname()
|
|
16
|
-
moonus = socket.gethostbyname(moones)
|
|
17
|
-
return moonus
|
|
18
|
-
|
|
19
|
-
def tracker(IP):
|
|
20
|
-
mainse = requests.get(Apis.DATA01.format(IP))
|
|
21
|
-
moonus = json.loads(mainse.text)
|
|
22
|
-
return moonus
|
|
23
|
-
|
|
24
|
-
#================================================================
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import os
|
|
2
|
-
import time
|
|
3
|
-
import ffmpeg
|
|
4
|
-
import random
|
|
5
|
-
import asyncio
|
|
6
|
-
from ..scripts import Scripted
|
|
7
|
-
from .collections import SMessage
|
|
8
|
-
#====================================================================================================
|
|
9
|
-
|
|
10
|
-
class Media:
|
|
11
|
-
|
|
12
|
-
async def interval(duramini, duration, numbers):
|
|
13
|
-
moonus = random.sample(range(duramini, duration), numbers)
|
|
14
|
-
moonus.sort()
|
|
15
|
-
return moonus
|
|
16
|
-
|
|
17
|
-
#====================================================================================================
|
|
18
|
-
|
|
19
|
-
async def metadata(incoming, outgoing, maps="0", command=None):
|
|
20
|
-
if not command or incoming == None:
|
|
21
|
-
return incoming
|
|
22
|
-
try:
|
|
23
|
-
mainse = ffmpeg.input(incoming)
|
|
24
|
-
nemose = mainse.output(outgoing, map=maps, **command, c="copy")
|
|
25
|
-
moonus = nemose.run(quiet=True)
|
|
26
|
-
os.remove(incoming)
|
|
27
|
-
return SMessage(result=outgoing)
|
|
28
|
-
except ffmpeg.Error as errors:
|
|
29
|
-
moonus = str(errors.stderr.decode('utf-8'))
|
|
30
|
-
return SMessage(result=None, errors=moonus)
|
|
31
|
-
except Exception as errors:
|
|
32
|
-
return SMessage(result=None, errors=errors)
|
|
33
|
-
|
|
34
|
-
#====================================================================================================
|
|
35
|
-
|
|
36
|
-
async def short(stime, etime, file, flocation, extension):
|
|
37
|
-
try:
|
|
38
|
-
output = flocation + str(round(time.time())) + extension
|
|
39
|
-
ffmpeg.input(file, ss=stime, t=etime).output(output).run(quiet=True)
|
|
40
|
-
ouoing = output if os.path.lexists(output) else None
|
|
41
|
-
return ouoing
|
|
42
|
-
except Exception:
|
|
43
|
-
return None
|
|
44
|
-
|
|
45
|
-
#====================================================================================================
|
|
46
|
-
|
|
47
|
-
async def screenshot(file, location, duration, logs=True, extension=Scripted.DATA11):
|
|
48
|
-
try:
|
|
49
|
-
output = location + str(round(time.time())) + extension
|
|
50
|
-
ffmpeg.input(file, ss=duration).output(output, vframes=1).run(quiet=True)
|
|
51
|
-
ouoing = output if os.path.lexists(output) else None
|
|
52
|
-
return ouoing
|
|
53
|
-
except ffmpeg.Error as errors:
|
|
54
|
-
moonus = str(errors.stderr.decode('utf-8'))
|
|
55
|
-
print(moonus) if logs else Scripted.DATA01
|
|
56
|
-
return None
|
|
57
|
-
except Exception as errors:
|
|
58
|
-
print(errors) if logs else Scripted.DATA01
|
|
59
|
-
return None
|
|
60
|
-
|
|
61
|
-
#====================================================================================================
|
|
62
|
-
|
|
63
|
-
async def screenshots(file, location, numbers, duration, durations=5, images=None):
|
|
64
|
-
imageess = images if images else []
|
|
65
|
-
if duration < durations:
|
|
66
|
-
return imageess
|
|
67
|
-
interval = await Media.interval(durations, duration, numbers)
|
|
68
|
-
for looper in range(numbers):
|
|
69
|
-
valuesom = interval[0]
|
|
70
|
-
imagesve = await Media.screenshot(file, location, valuesom)
|
|
71
|
-
if imagesve == None:
|
|
72
|
-
continue
|
|
73
|
-
imageess.append(imagesve)
|
|
74
|
-
interval.remove(valuesom)
|
|
75
|
-
await asyncio.sleep(3)
|
|
76
|
-
else:
|
|
77
|
-
return imageess
|
|
78
|
-
|
|
79
|
-
#====================================================================================================
|
clinton-0.0.5/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright © 2024 Clinton Abraham
|
|
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.
|
clinton-0.0.5/PKG-INFO
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: clinton
|
|
3
|
-
Version: 0.0.5
|
|
4
|
-
Summary: ㅤ
|
|
5
|
-
Home-page: https://github.com/Clinton-Abraham
|
|
6
|
-
Author: Clinton-Abraham
|
|
7
|
-
Author-email: clintonabrahamc@gmail.com
|
|
8
|
-
License: MIT
|
|
9
|
-
Keywords: apps,python,extensions
|
|
10
|
-
Classifier: Natural Language :: English
|
|
11
|
-
Classifier: Intended Audience :: Developers
|
|
12
|
-
Classifier: Operating System :: OS Independent
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
-
Classifier: Topic :: Software Development :: Libraries
|
|
17
|
-
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
18
|
-
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
|
|
19
|
-
Requires-Python: ~=3.10
|
|
20
|
-
Description-Content-Type: text/markdown
|
|
21
|
-
License-File: LICENSE
|
|
22
|
-
Requires-Dist: aiohttp
|
|
23
|
-
Requires-Dist: requests
|
|
24
|
-
Requires-Dist: ffmpeg-python
|
|
25
|
-
|
|
26
|
-
<p align="center">
|
|
27
|
-
📦 <a href="https://pypi.org/project/clinton" style="text-decoration:none;">CLINTON</a>
|
|
28
|
-
</p>
|
|
29
|
-
|
|
30
|
-
```python
|
|
31
|
-
import asyncio
|
|
32
|
-
from Clinton.functions import Media
|
|
33
|
-
|
|
34
|
-
async def main():
|
|
35
|
-
duration = 7000 # IN SECONDS
|
|
36
|
-
save = "./Home/" # OUTPUT LOCATION
|
|
37
|
-
file = "./Home/Video.mp4" # FILE LOCATION
|
|
38
|
-
result = await Media.screenshot(file, save, duration)
|
|
39
|
-
print(result)
|
|
40
|
-
|
|
41
|
-
asyncio.run(main())
|
|
42
|
-
```
|
clinton-0.0.5/README.md
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
<p align="center">
|
|
2
|
-
📦 <a href="https://pypi.org/project/clinton" style="text-decoration:none;">CLINTON</a>
|
|
3
|
-
</p>
|
|
4
|
-
|
|
5
|
-
```python
|
|
6
|
-
import asyncio
|
|
7
|
-
from Clinton.functions import Media
|
|
8
|
-
|
|
9
|
-
async def main():
|
|
10
|
-
duration = 7000 # IN SECONDS
|
|
11
|
-
save = "./Home/" # OUTPUT LOCATION
|
|
12
|
-
file = "./Home/Video.mp4" # FILE LOCATION
|
|
13
|
-
result = await Media.screenshot(file, save, duration)
|
|
14
|
-
print(result)
|
|
15
|
-
|
|
16
|
-
asyncio.run(main())
|
|
17
|
-
```
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: clinton
|
|
3
|
-
Version: 0.0.5
|
|
4
|
-
Summary: ㅤ
|
|
5
|
-
Home-page: https://github.com/Clinton-Abraham
|
|
6
|
-
Author: Clinton-Abraham
|
|
7
|
-
Author-email: clintonabrahamc@gmail.com
|
|
8
|
-
License: MIT
|
|
9
|
-
Keywords: apps,python,extensions
|
|
10
|
-
Classifier: Natural Language :: English
|
|
11
|
-
Classifier: Intended Audience :: Developers
|
|
12
|
-
Classifier: Operating System :: OS Independent
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
-
Classifier: Topic :: Software Development :: Libraries
|
|
17
|
-
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
18
|
-
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
|
|
19
|
-
Requires-Python: ~=3.10
|
|
20
|
-
Description-Content-Type: text/markdown
|
|
21
|
-
License-File: LICENSE
|
|
22
|
-
Requires-Dist: aiohttp
|
|
23
|
-
Requires-Dist: requests
|
|
24
|
-
Requires-Dist: ffmpeg-python
|
|
25
|
-
|
|
26
|
-
<p align="center">
|
|
27
|
-
📦 <a href="https://pypi.org/project/clinton" style="text-decoration:none;">CLINTON</a>
|
|
28
|
-
</p>
|
|
29
|
-
|
|
30
|
-
```python
|
|
31
|
-
import asyncio
|
|
32
|
-
from Clinton.functions import Media
|
|
33
|
-
|
|
34
|
-
async def main():
|
|
35
|
-
duration = 7000 # IN SECONDS
|
|
36
|
-
save = "./Home/" # OUTPUT LOCATION
|
|
37
|
-
file = "./Home/Video.mp4" # FILE LOCATION
|
|
38
|
-
result = await Media.screenshot(file, save, duration)
|
|
39
|
-
print(result)
|
|
40
|
-
|
|
41
|
-
asyncio.run(main())
|
|
42
|
-
```
|
clinton-0.0.5/setup.py
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
from setuptools import setup, find_packages
|
|
2
|
-
from Clinton import appname, version, install, DATA01, DATA02
|
|
3
|
-
|
|
4
|
-
with open("README.md", "r") as o:
|
|
5
|
-
description = o.read()
|
|
6
|
-
|
|
7
|
-
setup(
|
|
8
|
-
name=appname,
|
|
9
|
-
license='MIT',
|
|
10
|
-
version=version,
|
|
11
|
-
description='ㅤ',
|
|
12
|
-
classifiers=DATA02,
|
|
13
|
-
author_email=DATA01,
|
|
14
|
-
author='Clinton-Abraham',
|
|
15
|
-
python_requires='~=3.10',
|
|
16
|
-
packages=find_packages(),
|
|
17
|
-
install_requires=install,
|
|
18
|
-
long_description=description,
|
|
19
|
-
url='https://github.com/Clinton-Abraham',
|
|
20
|
-
keywords=['apps', 'python', 'extensions'],
|
|
21
|
-
long_description_content_type="text/markdown")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|