From 7ee1c3ee0b7552926cc498b2456007f4b002a5a1 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 5 May 2023 03:59:37 +0000 Subject: automatic import of python-pyblox3 --- .gitignore | 1 + python-pyblox3.spec | 348 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 350 insertions(+) create mode 100644 python-pyblox3.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..820a2a4 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/pyblox3-2.4.4.tar.gz diff --git a/python-pyblox3.spec b/python-pyblox3.spec new file mode 100644 index 0000000..41617a2 --- /dev/null +++ b/python-pyblox3.spec @@ -0,0 +1,348 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pyblox3 +Version: 2.4.4 +Release: 1 +Summary: An API wrapper for Roblox written in Python. +License: MIT License +URL: https://github.com/RbxAPI/Pyblox/tree/master +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/3c/64/eaf10ae90e9c70e29c2ab8f0a15f8fc561a561fbb6f14d08a53fbd86c061/pyblox3-2.4.4.tar.gz +BuildArch: noarch + + +%description +# Pyblox + +![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg) +[![Travis](https://img.shields.io/travis/rust-lang/rust.svg)]() +[![ROBLOX API Discord](https://img.shields.io/badge/discord-roblox%20api%20chat-blue.svg)](https://discord.gg/EDXNdAT) +[![Downloads](http://pepy.tech/badge/pyblox3)](http://pepy.tech/project/pyblox3) + +An API wrapper for Roblox written in Python. + +The purpose of this API wrapper is to expose Roblox's API for third party use and/or for individual standalone projects. +This is the first stable Python API wrapper for the Roblox API. Documentation can be found within each module. I encourage +developers to look into the codebase to better understand this wrapper and what it can truly offer. + +If you would like to contribute, create a pull request with the changes you made. If you have a complaint, issue or problem, create an issue and I will try to answer as fast as I can. + +For users wanting a Python 2x-compatible version: https://github.com/RbxAPI/Pyblox/tree/python2 + +For users wanting a mid-stable, asynchronous-version: https://github.com/RbxAPI/Pyblox/tree/nightly_build +### Updating + +The Roblox API updates whenever necessary and often the developers don't specify when or why these changes are taking place. +Due to this, this repo could break at anytime. If a break does occur, please open up an issue on this repo detailing the error. + +``Master`` - This branch is at version ``2.4.4`` . Those with ``2.4.1`` may update to this branch without breaking changes. Addresses critical issues and is maintained. Will be uploaded to pip sometime soon. + +``nightly_build`` - Starts at version ``3.x.x`` . Those with ``2.4.1`` or ``2.4.2`` may update to this branch with breaking changes. Features a more organized and powerful version of Pyblox that predicates itself on OOP (Object Orientated Programming) and async (non-blocking method calls / instances). Working towards 100% API coverage and will be marked as master once 80% coverage is completed. Will be uploaded to pip sometime soon. + +## Installing +There's now two ways to install Pyblox. +You may now do it through pip: +``pip install pyblox3`` +or do it manually below: +``` +1. Download or Clone this repo +2. Place the "pyblox" folder into C:\Users\YOURUSERNAMEONWINDOWSMACHINE\AppData\Local\Programs\Python\Python35-32\Lib\site-packages +``` +MacOS and Linux are supported but installation will vary. +This was developed on a windows-based machine and thus, it's recommended to use windows. + +Please note that the "Clone" method is regulary updated. However, the pip-version is often behind. + +## Quick Example + +```py +from pyblox3 import Friends # Imports the Friends class from pyblox wrapper + +def GetAllFriends(): + CoolPeople = Friends.friendList(1) # Takes your userid + print(CoolPeople) # Returns usernames and prints them in the console + +GetAllFriends() # Calls "GetAllFriends" method +``` + +## Requirements + +- Python 3+ +- ``pip install requests`` + +*note: requests may have been already installed.* + +## Related Projects +*https://github.com/iranathan/robloxapi* + +*https://github.com/NoahCristino/robloxlib* + +*https://github.com/sentanos/roblox-js* + +*https://github.com/MartinRBX/bloxy* + +*https://github.com/suufi/noblox.js* + +*https://github.com/gamenew09/RobloxAPI* + +*https://github.com/RbxAPI/Javablox* + +*https://github.com/PizzaCrust/Roblox4j* + +*https://github.com/PizzaCrust/KotlinRoblox* + +*https://github.com/FreeLineTM/roblox.kt* + +*https://github.com/NevermoreFramework/Nevermore* + +*https://github.com/Meqolo/cblox* + +*https://github.com/CrescentCode/RobloxCommunication* + +*https://github.com/OliverHensworth/roblox.lua/* + +*https://github.com/OliverHensworth/roblox.rb* + + + + +%package -n python3-pyblox3 +Summary: An API wrapper for Roblox written in Python. +Provides: python-pyblox3 +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pyblox3 +# Pyblox + +![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg) +[![Travis](https://img.shields.io/travis/rust-lang/rust.svg)]() +[![ROBLOX API Discord](https://img.shields.io/badge/discord-roblox%20api%20chat-blue.svg)](https://discord.gg/EDXNdAT) +[![Downloads](http://pepy.tech/badge/pyblox3)](http://pepy.tech/project/pyblox3) + +An API wrapper for Roblox written in Python. + +The purpose of this API wrapper is to expose Roblox's API for third party use and/or for individual standalone projects. +This is the first stable Python API wrapper for the Roblox API. Documentation can be found within each module. I encourage +developers to look into the codebase to better understand this wrapper and what it can truly offer. + +If you would like to contribute, create a pull request with the changes you made. If you have a complaint, issue or problem, create an issue and I will try to answer as fast as I can. + +For users wanting a Python 2x-compatible version: https://github.com/RbxAPI/Pyblox/tree/python2 + +For users wanting a mid-stable, asynchronous-version: https://github.com/RbxAPI/Pyblox/tree/nightly_build +### Updating + +The Roblox API updates whenever necessary and often the developers don't specify when or why these changes are taking place. +Due to this, this repo could break at anytime. If a break does occur, please open up an issue on this repo detailing the error. + +``Master`` - This branch is at version ``2.4.4`` . Those with ``2.4.1`` may update to this branch without breaking changes. Addresses critical issues and is maintained. Will be uploaded to pip sometime soon. + +``nightly_build`` - Starts at version ``3.x.x`` . Those with ``2.4.1`` or ``2.4.2`` may update to this branch with breaking changes. Features a more organized and powerful version of Pyblox that predicates itself on OOP (Object Orientated Programming) and async (non-blocking method calls / instances). Working towards 100% API coverage and will be marked as master once 80% coverage is completed. Will be uploaded to pip sometime soon. + +## Installing +There's now two ways to install Pyblox. +You may now do it through pip: +``pip install pyblox3`` +or do it manually below: +``` +1. Download or Clone this repo +2. Place the "pyblox" folder into C:\Users\YOURUSERNAMEONWINDOWSMACHINE\AppData\Local\Programs\Python\Python35-32\Lib\site-packages +``` +MacOS and Linux are supported but installation will vary. +This was developed on a windows-based machine and thus, it's recommended to use windows. + +Please note that the "Clone" method is regulary updated. However, the pip-version is often behind. + +## Quick Example + +```py +from pyblox3 import Friends # Imports the Friends class from pyblox wrapper + +def GetAllFriends(): + CoolPeople = Friends.friendList(1) # Takes your userid + print(CoolPeople) # Returns usernames and prints them in the console + +GetAllFriends() # Calls "GetAllFriends" method +``` + +## Requirements + +- Python 3+ +- ``pip install requests`` + +*note: requests may have been already installed.* + +## Related Projects +*https://github.com/iranathan/robloxapi* + +*https://github.com/NoahCristino/robloxlib* + +*https://github.com/sentanos/roblox-js* + +*https://github.com/MartinRBX/bloxy* + +*https://github.com/suufi/noblox.js* + +*https://github.com/gamenew09/RobloxAPI* + +*https://github.com/RbxAPI/Javablox* + +*https://github.com/PizzaCrust/Roblox4j* + +*https://github.com/PizzaCrust/KotlinRoblox* + +*https://github.com/FreeLineTM/roblox.kt* + +*https://github.com/NevermoreFramework/Nevermore* + +*https://github.com/Meqolo/cblox* + +*https://github.com/CrescentCode/RobloxCommunication* + +*https://github.com/OliverHensworth/roblox.lua/* + +*https://github.com/OliverHensworth/roblox.rb* + + + + +%package help +Summary: Development documents and examples for pyblox3 +Provides: python3-pyblox3-doc +%description help +# Pyblox + +![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg) +[![Travis](https://img.shields.io/travis/rust-lang/rust.svg)]() +[![ROBLOX API Discord](https://img.shields.io/badge/discord-roblox%20api%20chat-blue.svg)](https://discord.gg/EDXNdAT) +[![Downloads](http://pepy.tech/badge/pyblox3)](http://pepy.tech/project/pyblox3) + +An API wrapper for Roblox written in Python. + +The purpose of this API wrapper is to expose Roblox's API for third party use and/or for individual standalone projects. +This is the first stable Python API wrapper for the Roblox API. Documentation can be found within each module. I encourage +developers to look into the codebase to better understand this wrapper and what it can truly offer. + +If you would like to contribute, create a pull request with the changes you made. If you have a complaint, issue or problem, create an issue and I will try to answer as fast as I can. + +For users wanting a Python 2x-compatible version: https://github.com/RbxAPI/Pyblox/tree/python2 + +For users wanting a mid-stable, asynchronous-version: https://github.com/RbxAPI/Pyblox/tree/nightly_build +### Updating + +The Roblox API updates whenever necessary and often the developers don't specify when or why these changes are taking place. +Due to this, this repo could break at anytime. If a break does occur, please open up an issue on this repo detailing the error. + +``Master`` - This branch is at version ``2.4.4`` . Those with ``2.4.1`` may update to this branch without breaking changes. Addresses critical issues and is maintained. Will be uploaded to pip sometime soon. + +``nightly_build`` - Starts at version ``3.x.x`` . Those with ``2.4.1`` or ``2.4.2`` may update to this branch with breaking changes. Features a more organized and powerful version of Pyblox that predicates itself on OOP (Object Orientated Programming) and async (non-blocking method calls / instances). Working towards 100% API coverage and will be marked as master once 80% coverage is completed. Will be uploaded to pip sometime soon. + +## Installing +There's now two ways to install Pyblox. +You may now do it through pip: +``pip install pyblox3`` +or do it manually below: +``` +1. Download or Clone this repo +2. Place the "pyblox" folder into C:\Users\YOURUSERNAMEONWINDOWSMACHINE\AppData\Local\Programs\Python\Python35-32\Lib\site-packages +``` +MacOS and Linux are supported but installation will vary. +This was developed on a windows-based machine and thus, it's recommended to use windows. + +Please note that the "Clone" method is regulary updated. However, the pip-version is often behind. + +## Quick Example + +```py +from pyblox3 import Friends # Imports the Friends class from pyblox wrapper + +def GetAllFriends(): + CoolPeople = Friends.friendList(1) # Takes your userid + print(CoolPeople) # Returns usernames and prints them in the console + +GetAllFriends() # Calls "GetAllFriends" method +``` + +## Requirements + +- Python 3+ +- ``pip install requests`` + +*note: requests may have been already installed.* + +## Related Projects +*https://github.com/iranathan/robloxapi* + +*https://github.com/NoahCristino/robloxlib* + +*https://github.com/sentanos/roblox-js* + +*https://github.com/MartinRBX/bloxy* + +*https://github.com/suufi/noblox.js* + +*https://github.com/gamenew09/RobloxAPI* + +*https://github.com/RbxAPI/Javablox* + +*https://github.com/PizzaCrust/Roblox4j* + +*https://github.com/PizzaCrust/KotlinRoblox* + +*https://github.com/FreeLineTM/roblox.kt* + +*https://github.com/NevermoreFramework/Nevermore* + +*https://github.com/Meqolo/cblox* + +*https://github.com/CrescentCode/RobloxCommunication* + +*https://github.com/OliverHensworth/roblox.lua/* + +*https://github.com/OliverHensworth/roblox.rb* + + + + +%prep +%autosetup -n pyblox3-2.4.4 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-pyblox3 -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot - 2.4.4-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..5f376f5 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +7f1209e5ec8587ba6c3f61933b03e6c4 pyblox3-2.4.4.tar.gz -- cgit v1.2.3