Skip to main content

ddtcurve

一个用于计算弹弹堂游戏力度的软件包。

A package used to calculate the strength of the ddtank game.


快速开始

1.传统方式计算力度

本方法是在 https://www.52pojie.cn/thread-1132459-1-1.html 基础上的改良。

import ddtcurve as ddtc

result = ddtc.predict(65, 0, 10, 0)
print(result)

result = ddtc.predict(65, 1, 10, 0)
print(result)

result = ddtc.predict(65, 0, 10, 1)
print(result)

Output:

56.984355730170684
54.693446341504185
58.14777549325182

2.深度学习推理力度

方法详见 https://www.52pojie.cn/thread-1889310-1-1.html

import ddtcurve as ddtc

result = ddtc.inference(65, 0, 10, 0)
print(result)

result = ddtc.inference(65, 1, 10, 0)
print(result)

result = ddtc.inference(65, 0, 10, 1)
print(result)

Output:

57.528175
53.786335
59.91937

Remarks:

There are many authors who have contributed to this package. :)

Metadata

Release files for ddtcurve 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ddtcurve 0.2.1
File Size Uploaded Provenance Actions
ddtcurve-0.2.1.tar.gz 3.9 kB Without provenance Details for ddtcurve-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ddtcurve 0.2.1
File Interpreter ABI Platform Actions
ddtcurve-0.2.1-py3-none-any.whl Python 3 none any Details for ddtcurve-0.2.1-py3-none-any.whl

Total release size: 8.6 kB

Release files / ddtcurve-0.2.1.tar.gz

Download URL ddtcurve-0.2.1.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
28524e5140b6cc9350f5e1491019c302c9b3a9234bd5f2ae243e89f565fba7df
BLAKE2b-256 checksum
How to use checksums
bfaccea56cf1e9c12a1f3d4d347af3e77422d4506c770fe9fd952dfb1b1e8226
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.18

Release files / ddtcurve-0.2.1-py3-none-any.whl

Download URL ddtcurve-0.2.1-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e8b66464347d6dc2e018af776991ab56f277f5fdb47860a8516aafbfa1e956e9
BLAKE2b-256 checksum
How to use checksums
dbefb66e6d929ba913cf1c872edb76bb45c2f1ddf61e81ae9a23290c7e184833
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.18

Security for ddtcurve 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page