Skip to main content

Install:

pip install PhpBB-Utility

Example:

from madyel import PhpBB

if __name__ == '__main__':
    config = {
        'ssh_host': '192.168.0.32',
        'ssh_username': 'root',
        'ssh_password': 'password',
        'ssh_port': 22,
        'database_username': 'phpBBUser',
        'database_password': 'phpBBPassword',
        'database_name': 'phpBBDB',
        'localhost': '127.0.0.1',
        'port_db': 3306,
    }
    p = PhpBB(config, enable_ssh=True)
    category_id_phpbb = 4
    username_phpbb = "lilli"
    title = "Hello"
    body_post = "Hello World"
    print(p.insert_topic_post(category_id_phpbb, username_phpbb, title, body_post))
    p.close()

Release files for phpbb-topic-post 0.9

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

Source distribution (sdist)

Source distribution for phpbb-topic-post 0.9
File Size Uploaded
phpbb-topic-post-0.9.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for phpbb-topic-post 0.9
File Interpreter ABI Platform
phpbb_topic_post-0.9-py3-none-any.whl Python 3 none any Details

Total release size: 9.8 kB

Release files / phpbb-topic-post-0.9.tar.gz

Download URL phpbb-topic-post-0.9.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
226fdc0d685e0887b6a1583c14a1271317773215f822437d93c3861b31786b56
BLAKE2b-256 checksum
How to use checksums
0a5f14000f404f03f9f997c17ce4763f7a9d69b99e67375dcb0ae141ef92ded1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.2

Release files / phpbb_topic_post-0.9-py3-none-any.whl

Download URL phpbb_topic_post-0.9-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
97b9714a98f3c68bad9c4556deee199ce32a58270e06288cfe0ffc521d45ae9a
BLAKE2b-256 checksum
How to use checksums
1825df80896a7a34eae3e0e394b6ef3fd3e8aa330df1bfb7c0663e413ca5d9ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.2

Release history Release notifications | RSS feed

This release

0.9 This release

2 release files

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