Re: [pygame] pygame awesome libraries?

2018-05-14 Thread Daniel Pope
On Sun, 13 May 2018, 21:50 René Dudfield,  wrote:

> (The benefit of python hosted over read the docs, is they don't inflict
> advertising on your users like read the docs does.)
>

I believe pythonhosted.org is closed to new docs uploads.

https://github.com/pypa/pypi-legacy/issues/672

Dan

>


Re: [pygame] pygame awesome libraries?

2018-05-14 Thread DR0ID

Hi René

Thanks a lot for your answers. It will be useful to me (and hopefully to 
others too). I will try to update some of my libs until next pyweek, but 
no promises.


~DR0ID


On 13.05.2018 22:50, René Dudfield wrote:

Hey hey,

Thomas has already answered a lot... but here anyway.


1) online documentation, and pip installable helps a lot. But also 
letting people know your lib exists is helpful.


Especially examples online (not just in a folder), and little 
tutorials help people a lot.
It could be good if we set up a wiki page on the pygame website with 
'awesome pygame libraries'.
Also might be nice if we could contribute to each others stuff more 
easily.
There's quite a few libraries which cover the same functionality 
implemented by different people again and again.



2) Bitbucket has free CI built in these days. 
https://confluence.atlassian.com/bitbucket/python-with-bitbucket-pipelines-873891271.html
If you wanted to, we could host your library on the pygame github 
organisation. The offer is there anyway.


(Also, the offer is there for other mature widely used pygame related 
libraries)

- more visibility
- slightly easier collaboration


3) python packaging guide is the best we have currently. For pure 
python libraries it's not the worst.

https://packaging.python.org/

4) pypi allows you to host documentation on there for free (on 
pythonhosted).


The python packaging guide doesn't mention documentation.
(Which is a pretty major missing piece that probably deserves an issue 
raised.

https://github.com/pypa/python-packaging-user-guide/issues/484)
(The benefit of python hosted over read the docs, is they don't 
inflict advertising on your users like read the docs does.)


(Or do you have your own website library?
Then you can set a CI hook to upload the docs when merging to default 
branch)


Use Sphinx (it's by far the best documentation tool for python these 
days).

http://www.sphinx-doc.org/en/master/


4 a) I've recently discovered you can include examples more easily now 
in the docs. So you can include an example file, and line ranges.
4 b) documenting your param args and types is useful for docs, and for 
things like command line completion in IDEs.

https://thomas-cokelaer.info/tutorials/sphinx/docstring_python.html

(Another improvement for the pygame docs that could be done if only 
someone had time.)



5) Projects which break things up into lots of smaller parts often do 
things in the one repo.

This makes it much easier to do.
However, since python packaging is still quite a lot of work, I'd 
suggest not doing this.


6) cool. Yeah, such generation tools can help with packaging. But then 
you have to maintain the generated code.


7) keep configuration as minimal as possible.
There's the packaging guide of course,
and this 'official' example project. https://github.com/pypa/sampleproject

Whilst not the cleanest, I think following that is probably a good 
idea at this exact moment in time.


8) I think many of the distribution tools support packages these days.
Virtualenvs are the way to go at the moment to avoid version 
conflicts. That's the best we have.


Keeping a stable API if possible is hard, but also lets you install 
things system wide, and have less troubles.


9) stable API, and backwards compatibility helps the most with this.
Which also helps your users programs. But it's harder work coming up 
with stable APIs.


10) You can do tools (scripts) with entry points like this:
https://packaging.python.org/tutorials/distributing-packages/?highlight=console_scripts#entry-points




Feel free to ask if you get stuck with anything, or if you want 
someone to review your docs/website.
Both Thomas and I have quite the packaging quirks knowledge having 
battled with it a lot (unfortunately).

  (as do others on the list of course)

I'd like to help more, but I guess I'm fairly thinly stretched already 
with pygame stuff already.
Perhaps there's somehow a way to give more visibility on the pygame 
website for 'awesome' libraries. If someone has a good idea, PR's 
accepted, and of course I'd make that a priority for my pygame time.




cheers,



On Mon, May 7, 2018 at 9:06 PM, DR0ID > wrote:


Hi René and others

Now after pyweek 25 I have some time to improve my libs.

I would need a little help (I know, its not directly pygame
related and if you want to redirect me to the python list I'll be
fine with it):

[1] What would be your suggestions to make the stuff more useful?
[2] Any tips on (free) CI builds?
[3] Any tips on packaging for pip?
[4] Any tips for the documentation?
[5] Would you break up libs into smaller, maybe partial parts that
are pip installable so they can be installed independently? If so,
should each have its own repo or not (keeping it in the same repo
in sub directories)?

[6] Might need some improvements, but some time ago I made this
and tried to use it everywh

Re: [pygame] pygame awesome libraries?

2018-05-14 Thread René Dudfield
​From https://github.com/pypa/python-packaging-user-guide/issues/406 ,
A better answer to your question about installing tools system wide seems
to be 'pipsi'.

https://pypi.org/project/pipsi/

pipsi = pip script installer

What does it do? pipsi is a wrapper around virtualenv and pip which
installs scripts provided by python packages into separate virtualenvs to
shield them from your system and each other.


Re: [pygame] pygame awesome libraries?

2018-05-13 Thread Thomas Kluyver
On 13 May 2018 at 22:50, René Dudfield  wrote:

> (The benefit of python hosted over read the docs, is they don't inflict
> advertising on your users like read the docs does.)
>

RTD provides a valuable service for free - it builds docs automatically as
well, whereas pythonhosted only hosts docs you build. That's really
convenient for a lot of projects. They show some ads, but it's very
different from most online advertising - it's much more like traditional
non-digital advertising, without the tracking and security issues. There's
more about this here:

http://docs.readthedocs.io/en/latest/ethical-advertising.html

Of course, you may still not like adverts of any kind. I find it reasonable
that RTD shows some unobtrusive advertising, and I hope their experiment
with non-tracking advertising can be successful enough to convince other
ad-supported services that it's viable.

Thomas


Re: [pygame] pygame awesome libraries?

2018-05-13 Thread René Dudfield
Hey hey,

Thomas has already answered a lot... but here anyway.


1) online documentation, and pip installable helps a lot. But also letting
people know your lib exists is helpful.

Especially examples online (not just in a folder), and little tutorials
help people a lot.
It could be good if we set up a wiki page on the pygame website with
'awesome pygame libraries'.
Also might be nice if we could contribute to each others stuff more easily.
There's quite a few libraries which cover the same functionality
implemented by different people again and again.


2) Bitbucket has free CI built in these days.
https://confluence.atlassian.com/bitbucket/python-with-bitbucket-pipelines-873891271.html
If you wanted to, we could host your library on the pygame github
organisation. The offer is there anyway.

(Also, the offer is there for other mature widely used pygame related
libraries)
- more visibility
- slightly easier collaboration


3) python packaging guide is the best we have currently. For pure python
libraries it's not the worst.
https://packaging.python.org/

4) pypi allows you to host documentation on there for free (on
pythonhosted).

The python packaging guide doesn't mention documentation.
(Which is a pretty major missing piece that probably deserves an issue
raised.
https://github.com/pypa/python-packaging-user-guide/issues/484)
(The benefit of python hosted over read the docs, is they don't inflict
advertising on your users like read the docs does.)

(Or do you have your own website library?
Then you can set a CI hook to upload the docs when merging to default
branch)

Use Sphinx (it's by far the best documentation tool for python these days).
http://www.sphinx-doc.org/en/master/


4 a) I've recently discovered you can include examples more easily now in
the docs. So you can include an example file, and line ranges.
4 b) documenting your param args and types is useful for docs, and for
things like command line completion in IDEs.
https://thomas-cokelaer.info/tutorials/sphinx/docstring_python.html

(Another improvement for the pygame docs that could be done if only someone
had time.)


5) Projects which break things up into lots of smaller parts often do
things in the one repo.
This makes it much easier to do.
However, since python packaging is still quite a lot of work, I'd suggest
not doing this.

6) cool. Yeah, such generation tools can help with packaging. But then you
have to maintain the generated code.

7) keep configuration as minimal as possible.
There's the packaging guide of course,
and this 'official' example project. https://github.com/pypa/sampleproject

Whilst not the cleanest, I think following that is probably a good idea at
this exact moment in time.

8) I think many of the distribution tools support packages these days.
Virtualenvs are the way to go at the moment to avoid version conflicts.
That's the best we have.

Keeping a stable API if possible is hard, but also lets you install things
system wide, and have less troubles.

9) stable API, and backwards compatibility helps the most with this.
Which also helps your users programs. But it's harder work coming up with
stable APIs.

10) You can do tools (scripts) with entry points like this:
https://packaging.python.org/tutorials/distributing-packages/?highlight=console_scripts#entry-points




Feel free to ask if you get stuck with anything, or if you want someone to
review your docs/website.
Both Thomas and I have quite the packaging quirks knowledge having battled
with it a lot (unfortunately).
  (as do others on the list of course)

I'd like to help more, but I guess I'm fairly thinly stretched already with
pygame stuff already.
Perhaps there's somehow a way to give more visibility on the pygame website
for 'awesome' libraries. If someone has a good idea, PR's accepted, and of
course I'd make that a priority for my pygame time.



cheers,



On Mon, May 7, 2018 at 9:06 PM, DR0ID  wrote:

> Hi René and others
>
> Now after pyweek 25 I have some time to improve my libs.
>
> I would need a little help (I know, its not directly pygame related and if
> you want to redirect me to the python list I'll be fine with it):
>
> [1] What would be your suggestions to make the stuff more useful?
> [2] Any tips on (free) CI builds?
> [3] Any tips on packaging for pip?
> [4] Any tips for the documentation?
> [5] Would you break up libs into smaller, maybe partial parts that are pip
> installable so they can be installed independently? If so, should each have
> its own repo or not (keeping it in the same repo in sub directories)?
>
> [6] Might need some improvements, but some time ago I made this and tried
> to use it everywhere: https://bitbucket.org/dr0id/
> cookiecutter-pypackage-hg/src/default/
>
> [7] Any hints for best-practices?
>
>
> [8] One thing that has bothered me along time and I have not found any
> good answer yet is following: pip installable packages are good for
> developers while coding and developing. But then, when I want to 'ship

Re: [pygame] pygame awesome libraries?

2018-05-07 Thread Thomas Kluyver
Hi DR0ID, I'll respond to a few of your questions where I feel I might have
useful info.

On 7 May 2018 at 21:06, DR0ID  wrote:

> [2] Any tips on (free) CI builds?
>

Linux: Travis CI & Circle CI
Mac: Travis CI
Windows: Appveyor

All these services are free for open source projects, and they can all be
configured via files in the repository you want to test, so you can see the
config other projects use. Travis only works for projects on Github, though.


> [3] Any tips on packaging for pip?
>

The standard guide is here:
https://packaging.python.org/tutorials/distributing-packages/


> [4] Any tips for the documentation?
>

A lot of Python projects use Sphinx and host docs on readthedocs.org (which
can watch your repository and rebuild docs automatically). Sphinx is a
relatively big system with a bit of a learning curve, but if you use it
well, you get nice features like cross-linking references to classes and
functions. A lighter-weight alternative that some projects prefer is to
write some markdown files. Mkdocs is a tool built for that workflow, but
you can also just point people to the markdown files on Github/Bitbucket.


> [5] Would you break up libs into smaller, maybe partial parts that are pip
> installable so they can be installed independently? If so, should each have
> its own repo or not (keeping it in the same repo in sub directories)?
>

It's a trade off - some people won't like installing a 'heavy' library if
they only want to use one part, but splitting it up means more maintenance
work to deal with the separate pieces. Don't split too small!


> [8] One thing that has bothered me along time and I have not found any
> good answer yet is following: pip installable packages are good for
> developers while coding and developing. But then, when I want to 'ship' or
> 'distribute' some program I'm not so sure that is the way to go. Because I
> think there should be a distinction between a library (that you install in
> site-packages) and a 'executable' which I might want to install somewhere
> else (otherwise I would not know hot to run it, maybe using '-m'?)
>
> Yep, applications are definitely different from libraries, although if
you're aiming at developers, you can often get away with using
library-style packaging for applications, and launching them with '-m'.

Application distribution is a weakness for Python. Pyinstaller is the tool
that's usually recommended, but it doesn't see as much love as the library
packaging tools. I'll also plug my own tool, Pynsist, which builds
installers for Windows rather than 'freezing' your application into an
executable.

Thomas


Re: [pygame] pygame awesome libraries?

2018-05-07 Thread DR0ID

Hi René and others

Now after pyweek 25 I have some time to improve my libs.

I would need a little help (I know, its not directly pygame related and 
if you want to redirect me to the python list I'll be fine with it):


[1] What would be your suggestions to make the stuff more useful?
[2] Any tips on (free) CI builds?
[3] Any tips on packaging for pip?
[4] Any tips for the documentation?
[5] Would you break up libs into smaller, maybe partial parts that are 
pip installable so they can be installed independently? If so, should 
each have its own repo or not (keeping it in the same repo in sub 
directories)?


[6] Might need some improvements, but some time ago I made this and 
tried to use it everywhere: 
https://bitbucket.org/dr0id/cookiecutter-pypackage-hg/src/default/


[7] Any hints for best-practices?


[8] One thing that has bothered me along time and I have not found any 
good answer yet is following: pip installable packages are good for 
developers while coding and developing. But then, when I want to 'ship' 
or 'distribute' some program I'm not so sure that is the way to go. 
Because I think there should be a distinction between a library (that 
you install in site-packages) and a 'executable' which I might want to 
install somewhere else (otherwise I would not know hot to run it, maybe 
using '-m'?).


[9] Also there is the trouble with versions of the libs (I know, use 
virtualenv, but that seems laborious) if to 'programs' need different 
versions of the same lib. So one way around this is to ship all the 
needed libs with the program (so no imports from site-packages used).


[10] This trouble is visible in some of my libs because sometimes I have 
the lib and some 'tools' for it and it seems to me that the tools should 
not go into site-packages. But maybe I got it all wrong or don't know 
best practices for python programs. Maybe someone can point me to a 
tutorial or help clarify those points.


~DR0ID


On 07.04.2018 10:29, René Dudfield wrote:

There's several tons of useful and awesome stuff in there DR0ID!

I guess you know this already... but... hosting the documentation 
somewhere would make it a bit easier to get into. (as would making it 
pip installable).

It looks like you did at some point.




On Fri, Apr 6, 2018 at 8:40 PM, DR0ID > wrote:


On 06.04.2018 18:12, Leif Theden wrote:

Ahem.  I'll shill more of my libraries:

https://github.com/bitcraft/animation


Tasks and tweening using pygame groups.  No framework needed to
have things execute over time.

On Thu, Apr 5, 2018 at 8:39 AM, Martin Kühne mailto:mysat...@gmail.com>> wrote:

On Thu, Apr 5, 2018 at 2:40 PM, Yann Thorimbert
mailto:yann.thorimb...@unige.ch>>
wrote:
> Not exactly awesome,


Come again? What ridiculous standard are you assuming there
for "awesome"?

cheers!
mar77i




Hi

here my awsome libs for pygame:

- hierarchial state machine:
https://bitbucket.org/dr0id/symplehfsm/overview


- loading sprite sheets (it can load any shapes, but usage is a
bit cumbersome, needs an update):
https://bitbucket.org/dr0id/spritesheetlib


- collection of useful tools (tweening, animation, context,
timing, fonts, spritesystem, skeleton, ...) for games (used mostly
in pyweeks): https://bitbucket.org/dr0id/pyknic


- tmx loader: https://bitbucket.org/dr0id/pytmxloader


None of them is pip installable so I recommend to copy them into
your project and use them from there. Maybe someone find any of
this useful. Contribution and suggestions are welcome.

~DR0ID






Re: [pygame] pygame awesome libraries?

2018-04-10 Thread DR0ID

Hi

Thanks for reporting and I'm sorry that I missed your update. I thought 
I just mention it.


~DR0ID

On 11.04.2018 04:31, Christopher Night wrote:
For what it's worth, I did finally get around to removing the numpy 
dependency from ptext after your feedback. As far as I know, the 
current version doesn't require numpy, but let me know if you find 
that's not the case. (Of course, if you prefer your version, that's 
perfectly fine too.)


On Tue, Apr 10, 2018 at 11:42 AM DR0ID > wrote:


Hi

Gummbum and I didn't like the numpy dependency of ptext, therefore
we wrote a pygame only version: pygametext.py

It does the same as ptext but using only pygame as dependency. If
you want to be sure, there is also a comparer script that renders
the output of both so it can be  compared.


https://bitbucket.org/dr0id/pyknic/src/f8bee5c15ec7c7399f15fc3b2e1424793c63c3b2/pyknic-lib/experimental/textrendering/?at=default



On 07.04.2018 10:33, Daniel Pope wrote:

ptext is very good:

https://github.com/cosmologicon/pygame-text

On Thu, 5 Apr 2018, 11:11 René Dudfield, mailto:ren...@gmail.com>> wrote:

What are some awesome libraries for pygame?

  * available via pip
  * documented (with examples, and API docs)
  * generally awesome for some reason (even if not perfect,
maybe it has potential)

I'll start with a few...

  * pyscroll . Scrolling
maps. Fast scrolling images easy.
  * pyTMX . Reads Tiled
Map Editors TMX maps. Can use a Map editor easily.
  * pyinstaller . Make
installers for different platforms. Very easy to use to
make installers.
  * pymunk . 2d physics
library. Lots of examples, very well maintained.



What's awesome or almost awesome?



ps. I also asked over on the reddit.

https://www.reddit.com/r/pygame/comments/89ygm7/pygame_awesome_libraries/







Re: [pygame] pygame awesome libraries?

2018-04-10 Thread Al Sweigart
If you don't mind me plugging my modules, I made Pyganim (a frame animation
module) and Pygcurse (a curses module).

https://inventwithpython.com/pyganim/

https://inventwithpython.com/pygcurse/

On Tue, Apr 10, 2018 at 7:31 PM, Christopher Night 
wrote:

> For what it's worth, I did finally get around to removing the numpy
> dependency from ptext after your feedback. As far as I know, the current
> version doesn't require numpy, but let me know if you find that's not the
> case. (Of course, if you prefer your version, that's perfectly fine too.)
>
>
> On Tue, Apr 10, 2018 at 11:42 AM DR0ID  wrote:
>
>> Hi
>>
>> Gummbum and I didn't like the numpy dependency of ptext, therefore we
>> wrote a pygame only version: pygametext.py
>>
>> It does the same as ptext but using only pygame as dependency. If you
>> want to be sure, there is also a comparer script that renders the output of
>> both so it can be  compared.
>>
>> https://bitbucket.org/dr0id/pyknic/src/f8bee5c15ec7c7399f15fc3b2e1424
>> 793c63c3b2/pyknic-lib/experimental/textrendering/?at=default
>>
>>
>>
>> On 07.04.2018 10:33, Daniel Pope wrote:
>>
>> ptext is very good:
>>
>> https://github.com/cosmologicon/pygame-text
>>
>> On Thu, 5 Apr 2018, 11:11 René Dudfield,  wrote:
>>
>>> What are some awesome libraries for pygame?
>>>
>>>- available via pip
>>>- documented (with examples, and API docs)
>>>- generally awesome for some reason (even if not perfect, maybe it
>>>has potential)
>>>
>>> I'll start with a few...
>>>
>>>- pyscroll . Scrolling maps. Fast
>>>scrolling images easy.
>>>- pyTMX . Reads Tiled Map Editors
>>>TMX maps. Can use a Map editor easily.
>>>- pyinstaller . Make installers for
>>>different platforms. Very easy to use to make installers.
>>>- pymunk . 2d physics library.
>>>Lots of examples, very well maintained.
>>>
>>>
>>>
>>> What's awesome or almost awesome?
>>>
>>>
>>>
>>> ps. I also asked over on the reddit.
>>> https://www.reddit.com/r/pygame/comments/89ygm7/pygame_
>>> awesome_libraries/
>>>
>>
>>


Re: [pygame] pygame awesome libraries?

2018-04-10 Thread Christopher Night
For what it's worth, I did finally get around to removing the numpy
dependency from ptext after your feedback. As far as I know, the current
version doesn't require numpy, but let me know if you find that's not the
case. (Of course, if you prefer your version, that's perfectly fine too.)

On Tue, Apr 10, 2018 at 11:42 AM DR0ID  wrote:

> Hi
>
> Gummbum and I didn't like the numpy dependency of ptext, therefore we
> wrote a pygame only version: pygametext.py
>
> It does the same as ptext but using only pygame as dependency. If you want
> to be sure, there is also a comparer script that renders the output of both
> so it can be  compared.
>
>
> https://bitbucket.org/dr0id/pyknic/src/f8bee5c15ec7c7399f15fc3b2e1424793c63c3b2/pyknic-lib/experimental/textrendering/?at=default
>
>
>
> On 07.04.2018 10:33, Daniel Pope wrote:
>
> ptext is very good:
>
> https://github.com/cosmologicon/pygame-text
>
> On Thu, 5 Apr 2018, 11:11 René Dudfield,  wrote:
>
>> What are some awesome libraries for pygame?
>>
>>- available via pip
>>- documented (with examples, and API docs)
>>- generally awesome for some reason (even if not perfect, maybe it
>>has potential)
>>
>> I'll start with a few...
>>
>>- pyscroll . Scrolling maps. Fast
>>scrolling images easy.
>>- pyTMX . Reads Tiled Map Editors
>>TMX maps. Can use a Map editor easily.
>>- pyinstaller . Make installers for
>>different platforms. Very easy to use to make installers.
>>- pymunk . 2d physics library. Lots
>>of examples, very well maintained.
>>
>>
>>
>> What's awesome or almost awesome?
>>
>>
>>
>> ps. I also asked over on the reddit.
>> https://www.reddit.com/r/pygame/comments/89ygm7/pygame_awesome_libraries/
>>
>
>


Re: [pygame] pygame awesome libraries?

2018-04-10 Thread DR0ID

Hi

Gummbum and I didn't like the numpy dependency of ptext, therefore we 
wrote a pygame only version: pygametext.py


It does the same as ptext but using only pygame as dependency. If you 
want to be sure, there is also a comparer script that renders the output 
of both so it can be  compared.


https://bitbucket.org/dr0id/pyknic/src/f8bee5c15ec7c7399f15fc3b2e1424793c63c3b2/pyknic-lib/experimental/textrendering/?at=default


On 07.04.2018 10:33, Daniel Pope wrote:

ptext is very good:

https://github.com/cosmologicon/pygame-text

On Thu, 5 Apr 2018, 11:11 René Dudfield, > wrote:


What are some awesome libraries for pygame?

  * available via pip
  * documented (with examples, and API docs)
  * generally awesome for some reason (even if not perfect, maybe
it has potential)

I'll start with a few...

  * pyscroll . Scrolling maps.
Fast scrolling images easy.
  * pyTMX . Reads Tiled Map
Editors TMX maps. Can use a Map editor easily.
  * pyinstaller . Make installers
for different platforms. Very easy to use to make installers.
  * pymunk . 2d physics library.
Lots of examples, very well maintained.



What's awesome or almost awesome?



ps. I also asked over on the reddit.
https://www.reddit.com/r/pygame/comments/89ygm7/pygame_awesome_libraries/





Re: [pygame] pygame awesome libraries?

2018-04-10 Thread René Dudfield
ptext surely does make using txt nice.
It solves many of the main problems with the main pygame API(s).


Thanks everyone for contributing to the list. Lots of things I didn't know
about before,
and a few that I'm going to try and use in the next ludumdare/pyweek coming
up.

I collected all the comments from (reddit, discord, twitter, pyweek forum)
here:
https://www.reddit.com/r/pygame/comments/89ygm7/pygame_awesome_libraries/


cheerio,


On Sat, Apr 7, 2018 at 10:33 AM, Daniel Pope  wrote:

> ptext is very good:
>
> https://github.com/cosmologicon/pygame-text
>
>
> On Thu, 5 Apr 2018, 11:11 René Dudfield,  wrote:
>
>> What are some awesome libraries for pygame?
>>
>>- available via pip
>>- documented (with examples, and API docs)
>>- generally awesome for some reason (even if not perfect, maybe it
>>has potential)
>>
>> I'll start with a few...
>>
>>- pyscroll . Scrolling maps. Fast
>>scrolling images easy.
>>- pyTMX . Reads Tiled Map Editors
>>TMX maps. Can use a Map editor easily.
>>- pyinstaller . Make installers for
>>different platforms. Very easy to use to make installers.
>>- pymunk . 2d physics library. Lots
>>of examples, very well maintained.
>>
>>
>>
>> What's awesome or almost awesome?
>>
>>
>>
>> ps. I also asked over on the reddit.
>> https://www.reddit.com/r/pygame/comments/89ygm7/pygame_awesome_libraries/
>>
>


Re: [pygame] pygame awesome libraries?

2018-04-07 Thread Daniel Pope
ptext is very good:

https://github.com/cosmologicon/pygame-text

On Thu, 5 Apr 2018, 11:11 René Dudfield,  wrote:

> What are some awesome libraries for pygame?
>
>- available via pip
>- documented (with examples, and API docs)
>- generally awesome for some reason (even if not perfect, maybe it has
>potential)
>
> I'll start with a few...
>
>- pyscroll . Scrolling maps. Fast
>scrolling images easy.
>- pyTMX . Reads Tiled Map Editors
>TMX maps. Can use a Map editor easily.
>- pyinstaller . Make installers for
>different platforms. Very easy to use to make installers.
>- pymunk . 2d physics library. Lots
>of examples, very well maintained.
>
>
>
> What's awesome or almost awesome?
>
>
>
> ps. I also asked over on the reddit.
> https://www.reddit.com/r/pygame/comments/89ygm7/pygame_awesome_libraries/
>


Re: [pygame] pygame awesome libraries?

2018-04-07 Thread René Dudfield
There's several tons of useful and awesome stuff in there DR0ID!

I guess you know this already... but... hosting the documentation somewhere
would make it a bit easier to get into. (as would making it pip
installable).
It looks like you did at some point.




On Fri, Apr 6, 2018 at 8:40 PM, DR0ID  wrote:

> On 06.04.2018 18:12, Leif Theden wrote:
>
> Ahem.  I'll shill more of my libraries:
>
> https://github.com/bitcraft/animation
>
> Tasks and tweening using pygame groups.  No framework needed to have
> things execute over time.
>
> On Thu, Apr 5, 2018 at 8:39 AM, Martin Kühne  wrote:
>
>> On Thu, Apr 5, 2018 at 2:40 PM, Yann Thorimbert
>>  wrote:
>> > Not exactly awesome,
>>
>>
>> Come again? What ridiculous standard are you assuming there for "awesome"?
>>
>> cheers!
>> mar77i
>>
>
>
> Hi
>
> here my awsome libs for pygame:
>
> - hierarchial state machine: https://bitbucket.org/dr0id/
> symplehfsm/overview
>
> - loading sprite sheets (it can load any shapes, but usage is a bit
> cumbersome, needs an update): https://bitbucket.org/dr0id/spritesheetlib
>
> - collection of useful tools (tweening, animation, context, timing, fonts,
> spritesystem, skeleton, ...) for games (used mostly in pyweeks):
> https://bitbucket.org/dr0id/pyknic
>
> - tmx loader: https://bitbucket.org/dr0id/pytmxloader
>
> None of them is pip installable so I recommend to copy them into your
> project and use them from there. Maybe someone find any of this useful.
> Contribution and suggestions are welcome.
>
> ~DR0ID
>


Re: [pygame] pygame awesome libraries?

2018-04-06 Thread DR0ID

On 06.04.2018 18:12, Leif Theden wrote:

Ahem.  I'll shill more of my libraries:

https://github.com/bitcraft/animation

Tasks and tweening using pygame groups.  No framework needed to have 
things execute over time.


On Thu, Apr 5, 2018 at 8:39 AM, Martin Kühne > wrote:


On Thu, Apr 5, 2018 at 2:40 PM, Yann Thorimbert
mailto:yann.thorimb...@unige.ch>> wrote:
> Not exactly awesome,


Come again? What ridiculous standard are you assuming there for
"awesome"?

cheers!
mar77i




Hi

here my awsome libs for pygame:

- hierarchial state machine: https://bitbucket.org/dr0id/symplehfsm/overview

- loading sprite sheets (it can load any shapes, but usage is a bit 
cumbersome, needs an update): https://bitbucket.org/dr0id/spritesheetlib


- collection of useful tools (tweening, animation, context, timing, 
fonts, spritesystem, skeleton, ...) for games (used mostly in pyweeks): 
https://bitbucket.org/dr0id/pyknic


- tmx loader: https://bitbucket.org/dr0id/pytmxloader

None of them is pip installable so I recommend to copy them into your 
project and use them from there. Maybe someone find any of this useful. 
Contribution and suggestions are welcome.


~DR0ID



Re: [pygame] pygame awesome libraries?

2018-04-06 Thread Leif Theden
Ahem.  I'll shill more of my libraries:

https://github.com/bitcraft/animation

Tasks and tweening using pygame groups.  No framework needed to have things
execute over time.

On Thu, Apr 5, 2018 at 8:39 AM, Martin Kühne  wrote:

> On Thu, Apr 5, 2018 at 2:40 PM, Yann Thorimbert
>  wrote:
> > Not exactly awesome,
>
>
> Come again? What ridiculous standard are you assuming there for "awesome"?
>
> cheers!
> mar77i
>


Re: [pygame] pygame awesome libraries?

2018-04-05 Thread Martin Kühne
On Thu, Apr 5, 2018 at 2:40 PM, Yann Thorimbert
 wrote:
> Not exactly awesome,


Come again? What ridiculous standard are you assuming there for "awesome"?

cheers!
mar77i


Re: [pygame] pygame awesome libraries?

2018-04-05 Thread René Dudfield
Oh yes, the documentation of thorpy really is awesome.

I especially like this tutorial on how to integrate thorpy GUI elements
with a pygame game:
http://www.thorpy.org/tutorials/include.html



On Thu, Apr 5, 2018 at 2:40 PM, Yann Thorimbert 
wrote:

> Not exactly awesome, but still can be useful for standard in-game
> menus/GUI in general : https://pypi.python.org/pypi/thorpy.
>
> I focused on providing as much as examples and tutorials as possible on
> http://www.thorpy.org
>
>
> Cheers,
>
>
> Yann
> --
> *De :* owner-pygame-us...@seul.org  de la
> part de René Dudfield 
> *Envoyé :* jeudi, 5 avril 2018 13:48:37
> *À :* pygame-users@seul.org
> *Objet :* Re: [pygame] pygame awesome libraries?
>
> Oh yes! Please shamelessly plug packages. Especially awesome ones like
> Pynsist.
>


RE: [pygame] pygame awesome libraries?

2018-04-05 Thread Yann Thorimbert
Not exactly awesome, but still can be useful for standard in-game menus/GUI in 
general : https://pypi.python.org/pypi/thorpy.

I focused on providing as much as examples and tutorials as possible on 
http://www.thorpy.org


Cheers,


Yann


De : owner-pygame-us...@seul.org  de la part de 
René Dudfield 
Envoyé : jeudi, 5 avril 2018 13:48:37
À : pygame-users@seul.org
Objet : Re: [pygame] pygame awesome libraries?

Oh yes! Please shamelessly plug packages. Especially awesome ones like Pynsist.


Re: [pygame] pygame awesome libraries?

2018-04-05 Thread René Dudfield
Oh yes! Please shamelessly plug packages. Especially awesome ones like
Pynsist.


Re: [pygame] pygame awesome libraries?

2018-04-05 Thread Thomas Kluyver
If I'm allowed to shamelessly plug my own package...

Pynsist is a tool for building Windows installers for Python applications.
Here's an example for pygame (using the 'aliens' example game):
https://github.com/takluyver/pynsist/tree/master/examples/pygame

On 5 April 2018 at 12:11, René Dudfield  wrote:

> What are some awesome libraries for pygame?
>
>- available via pip
>- documented (with examples, and API docs)
>- generally awesome for some reason (even if not perfect, maybe it has
>potential)
>
> I'll start with a few...
>
>- pyscroll . Scrolling maps. Fast
>scrolling images easy.
>- pyTMX . Reads Tiled Map Editors
>TMX maps. Can use a Map editor easily.
>- pyinstaller . Make installers for
>different platforms. Very easy to use to make installers.
>- pymunk . 2d physics library. Lots
>of examples, very well maintained.
>
>
>
> What's awesome or almost awesome?
>
>
>
> ps. I also asked over on the reddit.
> https://www.reddit.com/r/pygame/comments/89ygm7/pygame_awesome_libraries/
>


[pygame] pygame awesome libraries?

2018-04-05 Thread René Dudfield
What are some awesome libraries for pygame?

   - available via pip
   - documented (with examples, and API docs)
   - generally awesome for some reason (even if not perfect, maybe it has
   potential)

I'll start with a few...

   - pyscroll . Scrolling maps. Fast
   scrolling images easy.
   - pyTMX . Reads Tiled Map Editors TMX
   maps. Can use a Map editor easily.
   - pyinstaller . Make installers for
   different platforms. Very easy to use to make installers.
   - pymunk . 2d physics library. Lots of
   examples, very well maintained.



What's awesome or almost awesome?



ps. I also asked over on the reddit.
https://www.reddit.com/r/pygame/comments/89ygm7/pygame_awesome_libraries/