Neolib is an in-depth and robust Python library designed to assist programmers in creating programs which automate mundane tasks on the popular browser based game, Neopets. The goal of Neolib is to objectify Neopets by translating it's many objects and tasks into classes and functions that represent them.
Project URL: (you need an account to see links)
Project Owner: (you need an account to see links) (AliasXNeo, Alias)
Repository Type: Git
Python Version: 3.2.3
Current Team Members
- Alias (Project Leader)
Helpful Information
- Git for Windows (includes GUI): (you need an account to see links)
- Official book on Git: (you need an account to see links)
- Getting started with GitHub: (you need an account to see links)
- Documenting Python: (you need an account to see links)
Project News
- 21 Sep - Now that the base has been laid, Neolib is now open source again!
Why Join?
- By joining you will be participating in a project that directly helps Clraik
- Participation in the project will teach you important concepts that can help develop your skills as a programmer. These include version control, documentation, and all the little things you learn by interacting with other programmers in a project environment
- Your contributions will help several programmers!
Before you join
- Please checkout the repository from Github and spend time reviewing the code including any recent commits.
- If you have any questions please feel free to contact a project member or join #neolib on Freenode and talk to someone in there.
- Ensure to review any open issues and enhancements and check the wiki for amplifying information
- Please understand that this project is running under Python 2.7.3. If you don't know what that means, please figure it out.
- If you have never used Git, please use the above links to educate yourself prior to joining the project. It is vital you understand how Git works as it differs from it's counterparts like subversion.
- Once you have completed the above steps, and thoroughly reviewed the project, then please submit an application (format shown below) via PM to me (alias).
Feel free to post your feelings, concerns, and/or broad questions below :p
--------------------------------------------------------------------------------------
Member Application
- Name (First name):
- Programming experience in years:
- Proficient languages:
- Experience with Python in years:
- Have you ever used Git? If not, have you since learned how?
- Have you ever been apart of a project like this? Explain.
- Why do you want to join the project?
- Any amplifying information?
Last edited by AliasXNeo; 10-05-2012 at 06:32 PM.
Interesting concept for sure.
Do you have a more well known username on another site?
What's my definition of success?
Creating something no one else can
Being brave enough to dream big
Grindin' when you're told to just quit
Giving more when you got nothin' left
I did a lot of programming about 6 years ago when my username was known a lot more (I've made at least one of every popular program type, including a premium MAB I sold). I have since returned to the programming scene for another bout
I don't really have much to brag with since it's all long gone. However, here's some sample code of the latest version of the library (0.2):
That's an example of the user end. For the developer end, here's a sample:Code:from neolib.user.User import User from neolib.daily.Daily import Daily usr = User("username", "password") if usr.login(): print "Logged in!" list = ['Tombola', 'FruitMachine', 'PetPetPark'] for message in Daily.doDailies(usr, list): print message print "All dailies done!"
That's the code for the UserInventory class __init__() method.Code:def __init__(self, usr): if not usr: raise invalidUser self.items = {} pg = usr.getPage("http://www.neopets.com/objects.phtml?type=inventory") # Indicates an empty inventory if pg.content.find("You aren't carrying anything") != -1: return try: for row in pg.find_all("td", "contentModuleContent")[1].table.find_all("tr"): for item in row.find_all("td"): name = item.text # Some item names contain extra information encapsulated in paranthesis if name.find("(") != -1: name = name.split("(")[0] tmpItem = Item(name) tmpItem.id = item.a['onclick'].split("(")[1].replace(");", "") tmpItem.img = item.img['src'] tmpItem.desc = item.img['alt'] tmpItem.usr = usr self.items[name] = tmpItem except Exception: logging.getLogger("neolib.inventory").exception("Unable to parse user inventory.") logging.getLogger("neolib.html").info("Unable to parse user inventory.", {'pg': pg}) raise parseException
If I wasn't so busy with school and my own projects I have going I would definitely join in on this.
(you need an account to see links)
(you need an account to see links)(you need an account to see links)
------------------------
[02/24/2013] Stealth CORE is made into the first standalone Neopets auto-player.
------------------------
(you need an account to see links)
(you need an account to see links)(you need an account to see links)
------------------------
[02/24/2013] Stealth CORE is made into the first standalone Neopets auto-player.
------------------------
That's cool. This will most likely remain closed source as well, seeing as how powerful it is turning out to be. I've been having a blast refactoring it and making it more Pythonic (then again Python is fun to begin with).
Well anyways, for those that are interested just shoot me a PM. It's currently hosted on a private Github repo at the moment. The base has been laid and focus is currently on expanding the object base (currently supports the basics like inventory, user shops, shop wizard, SDB, etc.).
Hopefully you saved everything you had updated the first post to?
(you need an account to see links)
(you need an account to see links)(you need an account to see links)
------------------------
[02/24/2013] Stealth CORE is made into the first standalone Neopets auto-player.
------------------------
(you need an account to see links)
(you need an account to see links)(you need an account to see links)
------------------------
[02/24/2013] Stealth CORE is made into the first standalone Neopets auto-player.
------------------------
Github link:
(you need an account to see links)