![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
forumpy is an unofficial SA-MP forum api.This python library ,integerated with selenium and phantomJS,helps you to automate SA-MP forum acitivities like send and get pms,threads,userinfo,contacts etc.Please view the example files for information about using these features in your python application.forumpy is still under development and has not yet been released.
from forum.account import Account
name = input("Input your forum user name : ")
password = input("Input your forum password : ")
a = Account(name,password)
print("Logined with user id : ",a.id)
print("\t**Account info**\n",a.User.info())
print("\n\t***Contacts***\n")
print("\tId\tUsername")
for i in a.getcontacts():
print("\t",i.id,"\t",i.name)
print("\n\t***Threads***\n")
print("\tTitle\tRatings\tAuthor")
for i in a.User.getthreads():
print(i.title,"\t",i.getrating(),"\t",i.author.name)
from forum.user import User
from forum.account import Account
name = input("Input forum username : ")
password = input("Input forum password : ")
a = Account(name,password)
print(a.getpms())
rec_names = input("Input name of recipents (seperated by space) : ").split(" ")
users = []
for rec_name in rec_names:
users.append(User(a.getIdFromUserName(rec_name)))
title = input("Input title : ")
content = input("Input content : ")
a.send_pm(users,title,content)
Please view examples files for more examples
Selenium
libraryPhantomJS
headless web driverBeautifulSoup
libraryFAQs
An unofficial SA-MP forum api
We found that forumpy demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.