bcmd 0.6.0__tar.gz → 0.6.2__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.

Potentially problematic release.


This version of bcmd might be problematic. Click here for more details.

Files changed (40) hide show
  1. bcmd-0.6.2/PKG-INFO +24 -0
  2. {bcmd-0.6.0 → bcmd-0.6.2}/bcmd/common/password.py +4 -3
  3. {bcmd-0.6.0 → bcmd-0.6.2}/bcmd/tasks/lib.py +0 -1
  4. bcmd-0.6.2/bcmd.egg-info/PKG-INFO +24 -0
  5. bcmd-0.6.2/bcmd.egg-info/requires.txt +17 -0
  6. {bcmd-0.6.0 → bcmd-0.6.2}/pyproject.toml +16 -17
  7. bcmd-0.6.0/PKG-INFO +0 -25
  8. bcmd-0.6.0/bcmd.egg-info/PKG-INFO +0 -25
  9. bcmd-0.6.0/bcmd.egg-info/requires.txt +0 -18
  10. {bcmd-0.6.0 → bcmd-0.6.2}/MANIFEST.in +0 -0
  11. {bcmd-0.6.0 → bcmd-0.6.2}/README.md +0 -0
  12. {bcmd-0.6.0 → bcmd-0.6.2}/bcmd/__init__.py +0 -0
  13. {bcmd-0.6.0 → bcmd-0.6.2}/bcmd/common/__init__.py +0 -0
  14. {bcmd-0.6.0 → bcmd-0.6.2}/bcmd/common/func.py +0 -0
  15. {bcmd-0.6.0 → bcmd-0.6.2}/bcmd/main.py +0 -0
  16. {bcmd-0.6.0 → bcmd-0.6.2}/bcmd/resources/project/.gitignore +0 -0
  17. {bcmd-0.6.0 → bcmd-0.6.2}/bcmd/resources/project/.vscode/launch.json +0 -0
  18. {bcmd-0.6.0 → bcmd-0.6.2}/bcmd/resources/project/.vscode/settings.json +0 -0
  19. {bcmd-0.6.0 → bcmd-0.6.2}/bcmd/resources/project/.vscode/tasks.json +0 -0
  20. {bcmd-0.6.0 → bcmd-0.6.2}/bcmd/resources/project/main.py +0 -0
  21. {bcmd-0.6.0 → bcmd-0.6.2}/bcmd/tasks/__init__.py +0 -0
  22. {bcmd-0.6.0 → bcmd-0.6.2}/bcmd/tasks/bin.py +0 -0
  23. {bcmd-0.6.0 → bcmd-0.6.2}/bcmd/tasks/code.py +0 -0
  24. {bcmd-0.6.0 → bcmd-0.6.2}/bcmd/tasks/crypto.py +0 -0
  25. {bcmd-0.6.0 → bcmd-0.6.2}/bcmd/tasks/debian.py +0 -0
  26. {bcmd-0.6.0 → bcmd-0.6.2}/bcmd/tasks/download.py +0 -0
  27. {bcmd-0.6.0 → bcmd-0.6.2}/bcmd/tasks/image.py +0 -0
  28. {bcmd-0.6.0 → bcmd-0.6.2}/bcmd/tasks/json.py +0 -0
  29. {bcmd-0.6.0 → bcmd-0.6.2}/bcmd/tasks/math.py +0 -0
  30. {bcmd-0.6.0 → bcmd-0.6.2}/bcmd/tasks/mirror.py +0 -0
  31. {bcmd-0.6.0 → bcmd-0.6.2}/bcmd/tasks/pdf.py +0 -0
  32. {bcmd-0.6.0 → bcmd-0.6.2}/bcmd/tasks/proxy.py +0 -0
  33. {bcmd-0.6.0 → bcmd-0.6.2}/bcmd/tasks/time.py +0 -0
  34. {bcmd-0.6.0 → bcmd-0.6.2}/bcmd/tasks/upgrade.py +0 -0
  35. {bcmd-0.6.0 → bcmd-0.6.2}/bcmd/tasks/wasabi.py +0 -0
  36. {bcmd-0.6.0 → bcmd-0.6.2}/bcmd.egg-info/SOURCES.txt +0 -0
  37. {bcmd-0.6.0 → bcmd-0.6.2}/bcmd.egg-info/dependency_links.txt +0 -0
  38. {bcmd-0.6.0 → bcmd-0.6.2}/bcmd.egg-info/entry_points.txt +0 -0
  39. {bcmd-0.6.0 → bcmd-0.6.2}/bcmd.egg-info/top_level.txt +0 -0
  40. {bcmd-0.6.0 → bcmd-0.6.2}/setup.cfg +0 -0
bcmd-0.6.2/PKG-INFO ADDED
@@ -0,0 +1,24 @@
1
+ Metadata-Version: 2.4
2
+ Name: bcmd
3
+ Version: 0.6.2
4
+ Summary: Commands for Beni
5
+ Author-email: Beni Mang <benimang@126.com>
6
+ Maintainer-email: Beni Mang <benimang@126.com>
7
+ Keywords: benimang,beni,bcmd
8
+ Requires-Python: >=3.10
9
+ Requires-Dist: aioconsole==0.8.1
10
+ Requires-Dist: async-lru==2.0.5
11
+ Requires-Dist: benimang==0.8.0
12
+ Requires-Dist: cryptography==45.0.4
13
+ Requires-Dist: nest-asyncio==1.6.0
14
+ Requires-Dist: pillow==11.2.1
15
+ Requires-Dist: prettytable==3.16.0
16
+ Requires-Dist: psutil==7.0.0
17
+ Requires-Dist: pymupdf==1.26.1
18
+ Requires-Dist: qiniu==7.16.0
19
+ Requires-Dist: typer==0.16.0
20
+ Provides-Extra: full
21
+ Requires-Dist: img2pdf==0.6.1; extra == "full"
22
+ Requires-Dist: pytest==8.4.0; extra == "full"
23
+ Requires-Dist: pytest-asyncio==1.0.0; extra == "full"
24
+ Requires-Dist: pytest-order==1.3.0; extra == "full"
@@ -1,17 +1,18 @@
1
1
  import getpass
2
2
  from typing import Any
3
3
 
4
- from beni import bcache, bcrypto
4
+ from async_lru import alru_cache
5
+ from beni import bcrypto
5
6
 
6
7
 
7
- @bcache.cache
8
+ @alru_cache
8
9
  async def getPypi() -> tuple[str, str]:
9
10
  content = 'QbuF2mV/lqovtF5dskZGD7qHknYbNuF2QseWRtWxLZTPrC/jL1tcxV8JEKaRjLsu46PxJZ7zepJwggnUTIWnEAoV5VtgP2/hbuzxxHha8817kR5c65H9fXm8eOal7DYXsUoGPQMnm59UWNXUKjmIaP4sn9nySFlRYqa8sEZSbYQ4N0NL35Dpj1e3wyQxJ+7h2jwKAz50Hh8G4yAM3/js9+NUe4ymts+UXcwsP3ADIBMkzjnFc0lEYg2d+fw0A74XWCvoZPoGqHZR/THUOVNAYxoGgDzP4SPIk1XsmtpxvfO/DpJd/Cg/0fB3MYagGKI1+m6Bxqhvd1I/lf0YbM5y4E4='
10
11
  data = _getData(content)
11
12
  return data['username'], data['password']
12
13
 
13
14
 
14
- @bcache.cache
15
+ @alru_cache
15
16
  async def getQiniu() -> tuple[str, str]:
16
17
  content = '7xOuA0FPCndTWcWmWLbqklQTqLTAhuEw9CarRTBYhWQ/g8wPxktw6VAiu50TLv49D1L8oCVfGafsowYDZw/prF6NQwCluPcCMy5JfdC9sKauvuZa51Nsf6PTR1UIyU8ZLUSzH+Ec2Ufcz/yAZCrcAtn63zMHNu3tTAVcZNPL597lSHdSRkpmDR8CaoUh/raH/Q=='
17
18
  data = _getData(content)
@@ -46,7 +46,6 @@ async def update_version(
46
46
  @syncCall
47
47
  async def build(
48
48
  path: Path = typer.Argument(Path.cwd(), help='workspace 路径'),
49
- isKeepBuildFiles: bool = typer.Option(False, '--keep-build-files', '-k', help='是否保留构建文件'),
50
49
  ):
51
50
  '发布项目'
52
51
  user, pwd = await password.getPypi()
@@ -0,0 +1,24 @@
1
+ Metadata-Version: 2.4
2
+ Name: bcmd
3
+ Version: 0.6.2
4
+ Summary: Commands for Beni
5
+ Author-email: Beni Mang <benimang@126.com>
6
+ Maintainer-email: Beni Mang <benimang@126.com>
7
+ Keywords: benimang,beni,bcmd
8
+ Requires-Python: >=3.10
9
+ Requires-Dist: aioconsole==0.8.1
10
+ Requires-Dist: async-lru==2.0.5
11
+ Requires-Dist: benimang==0.8.0
12
+ Requires-Dist: cryptography==45.0.4
13
+ Requires-Dist: nest-asyncio==1.6.0
14
+ Requires-Dist: pillow==11.2.1
15
+ Requires-Dist: prettytable==3.16.0
16
+ Requires-Dist: psutil==7.0.0
17
+ Requires-Dist: pymupdf==1.26.1
18
+ Requires-Dist: qiniu==7.16.0
19
+ Requires-Dist: typer==0.16.0
20
+ Provides-Extra: full
21
+ Requires-Dist: img2pdf==0.6.1; extra == "full"
22
+ Requires-Dist: pytest==8.4.0; extra == "full"
23
+ Requires-Dist: pytest-asyncio==1.0.0; extra == "full"
24
+ Requires-Dist: pytest-order==1.3.0; extra == "full"
@@ -0,0 +1,17 @@
1
+ aioconsole==0.8.1
2
+ async-lru==2.0.5
3
+ benimang==0.8.0
4
+ cryptography==45.0.4
5
+ nest-asyncio==1.6.0
6
+ pillow==11.2.1
7
+ prettytable==3.16.0
8
+ psutil==7.0.0
9
+ pymupdf==1.26.1
10
+ qiniu==7.16.0
11
+ typer==0.16.0
12
+
13
+ [full]
14
+ img2pdf==0.6.1
15
+ pytest==8.4.0
16
+ pytest-asyncio==1.0.0
17
+ pytest-order==1.3.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  [project]
5
5
  name = 'bcmd'
6
- version = '0.6.0'
6
+ version = '0.6.2'
7
7
  description = 'Commands for Beni'
8
8
  requires-python = '>=3.10'
9
9
  keywords = ['benimang', 'beni', 'bcmd']
@@ -11,26 +11,25 @@ authors = [{ name = 'Beni Mang', email = 'benimang@126.com' }]
11
11
  maintainers = [{ name = 'Beni Mang', email = 'benimang@126.com' }]
12
12
 
13
13
  dependencies = [
14
- 'benimang==0.7.14',
15
- 'build',
16
- 'cryptography',
17
- 'pathspec',
18
- 'pillow',
19
- 'prettytable',
20
- 'psutil',
21
- 'pymupdf',
22
- 'qiniu',
23
- 'twine',
24
- 'typer',
14
+ "aioconsole==0.8.1",
15
+ "async-lru==2.0.5",
16
+ "benimang==0.8.0",
17
+ "cryptography==45.0.4",
18
+ "nest-asyncio==1.6.0",
19
+ "pillow==11.2.1",
20
+ "prettytable==3.16.0",
21
+ "psutil==7.0.0",
22
+ "pymupdf==1.26.1",
23
+ "qiniu==7.16.0",
24
+ "typer==0.16.0",
25
25
  ]
26
26
 
27
27
  [project.optional-dependencies]
28
28
  full = [
29
- 'img2pdf',
30
- 'pytest',
31
- 'pytest-asyncio',
32
- 'pytest-order',
33
- 'setuptools',
29
+ "img2pdf==0.6.1",
30
+ "pytest==8.4.0",
31
+ "pytest-asyncio==1.0.0",
32
+ "pytest-order==1.3.0",
34
33
  ]
35
34
 
36
35
  [project.scripts]
bcmd-0.6.0/PKG-INFO DELETED
@@ -1,25 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: bcmd
3
- Version: 0.6.0
4
- Summary: Commands for Beni
5
- Author-email: Beni Mang <benimang@126.com>
6
- Maintainer-email: Beni Mang <benimang@126.com>
7
- Keywords: benimang,beni,bcmd
8
- Requires-Python: >=3.10
9
- Requires-Dist: benimang==0.7.14
10
- Requires-Dist: build
11
- Requires-Dist: cryptography
12
- Requires-Dist: pathspec
13
- Requires-Dist: pillow
14
- Requires-Dist: prettytable
15
- Requires-Dist: psutil
16
- Requires-Dist: pymupdf
17
- Requires-Dist: qiniu
18
- Requires-Dist: twine
19
- Requires-Dist: typer
20
- Provides-Extra: full
21
- Requires-Dist: img2pdf; extra == "full"
22
- Requires-Dist: pytest; extra == "full"
23
- Requires-Dist: pytest-asyncio; extra == "full"
24
- Requires-Dist: pytest-order; extra == "full"
25
- Requires-Dist: setuptools; extra == "full"
@@ -1,25 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: bcmd
3
- Version: 0.6.0
4
- Summary: Commands for Beni
5
- Author-email: Beni Mang <benimang@126.com>
6
- Maintainer-email: Beni Mang <benimang@126.com>
7
- Keywords: benimang,beni,bcmd
8
- Requires-Python: >=3.10
9
- Requires-Dist: benimang==0.7.14
10
- Requires-Dist: build
11
- Requires-Dist: cryptography
12
- Requires-Dist: pathspec
13
- Requires-Dist: pillow
14
- Requires-Dist: prettytable
15
- Requires-Dist: psutil
16
- Requires-Dist: pymupdf
17
- Requires-Dist: qiniu
18
- Requires-Dist: twine
19
- Requires-Dist: typer
20
- Provides-Extra: full
21
- Requires-Dist: img2pdf; extra == "full"
22
- Requires-Dist: pytest; extra == "full"
23
- Requires-Dist: pytest-asyncio; extra == "full"
24
- Requires-Dist: pytest-order; extra == "full"
25
- Requires-Dist: setuptools; extra == "full"
@@ -1,18 +0,0 @@
1
- benimang==0.7.14
2
- build
3
- cryptography
4
- pathspec
5
- pillow
6
- prettytable
7
- psutil
8
- pymupdf
9
- qiniu
10
- twine
11
- typer
12
-
13
- [full]
14
- img2pdf
15
- pytest
16
- pytest-asyncio
17
- pytest-order
18
- setuptools
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes