Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 18 12:23
  • Jan 18 08:24
  • Dec 02 2021 20:38
    TheLazzziest synchronize #126
  • Dec 01 2021 21:58
    TheLazzziest review_requested #126
  • Dec 01 2021 21:58
    TheLazzziest review_request_removed #126
  • Oct 11 2021 06:32

    pylover on master

    add ExifTransposeProcessor and … Merge pull request #128 from br… (compare)

  • Oct 11 2021 06:32
    pylover closed #128
  • Oct 04 2021 07:27
    YukSeungChan removed as member
  • Sep 29 2021 10:41
    pylover commented #128
  • Sep 27 2021 21:08
    briancappello opened #128
  • Sep 27 2021 04:59

    pylover on master

    improve flask integration Merge pull request #127 from br… (compare)

  • Sep 27 2021 04:59
    pylover closed #127
  • Sep 24 2021 17:32
    briancappello opened #127
  • Sep 15 2021 07:22
  • Sep 05 2021 12:24
    TheLazzziest synchronize #126
  • Sep 05 2021 12:23
    TheLazzziest synchronize #126
  • Aug 23 2021 18:32
    TheLazzziest commented #126
  • Aug 23 2021 11:12
    pylover commented #126
  • Aug 23 2021 04:35
    pylover review_requested #126
Vahid
@pylover
Where are you from? china, korea, japan ?
I got it, IUM SOCIUS, a startup based in Korea, is a leader and pioneer in Social Dating services across ...
We are seeing the koran tv serials here, my gf loves that
At all, you are not so strange for us. must of our cultures are the same
loup
@YukSeungChan
oh really? haha I'm from korea.
Vahid
@pylover
yes, believe me
loup
@YukSeungChan
I was interested sqlalchemy-media in seeing the phrase that is "The main idea comes from dahlia's SQLAlchemy-ImageAttach." Cuz, Dahlia is my mentor in the past.
Vahid
@pylover
Wow, interesting
Most loved korean tv movie in iran is: 주몽
jomoong
Yes the dahlias project is awesome. i used it in one project,
loup
@YukSeungChan
I saw that. It was popular in Korea too.
Vahid
@pylover
but because of creating another table, and additional relationship, it's performing bad on production
So, i started to rewriting it with middlewares: (Analysers, filters) and awesome sqlalchemy mutable's
loup
@YukSeungChan
Does it mean sqlalchemy-media ?
Vahid
@pylover
Another difference is, lazy/deferred store factory, which helps to reduce the memory footprints
media comes from the media, attaching media to sqlalchemy model
I assumed every stream on the web is a media
of-cource local hard-drive also
the next phase of the project is to deal with videos and their complexities
Dahlia is a perfect guy, he is so clever
This is just continuing of their works
loup
@YukSeungChan
wow awesome.
I'm going to keep going contiribution.
Vahid
@pylover
thanks bro
Vahid
@pylover
@YukSeungChan , I just added you to collaborators,
Please Note: Test-driven-programming, 100% coverage and PEP8.
To release: just tag your commit and push tags:
git commit -m "Feature 1, Closes #34"
git tag v0.9.7
git push origin master --tags
Take care about documentation also, use
versionadded::

versionchanged::
loup
@YukSeungChan
oh.. okay Thx.
loup
@YukSeungChan
@pylover I committed a tag of v0.9.6. I wonder if I did well...
Vahid
@pylover
lol, it's ok, nice
checkout the travis build history: https://travis-ci.org/pylover/sqlalchemy-media/builds
Your release is distributes
loup
@YukSeungChan
Good. Thx!
Vahid
@pylover
just install it by pip and check is working after install
loup
@YukSeungChan
I did upgrade sqlalchemy-media in my personal project. After i ran tests. It works well.
Vahid
@pylover
That's it
so wait for issue, lol
thanks to travis, coveralls, and pypi
loup
@YukSeungChan
Haha, I have used sqlalchemy-media with flask. Flask default file of form was FileStorage of werkzeug.
I expected to select CgiFieldStorageDescriptor in AttachableDescriptor. But It just select StreamDescriptor. So i have problem that descriptor didn't get original_filename.

Now, I just use like below code.

class Image(BaseImage):
     @classmethod
     def create_from_file_storage(cls, file_storage: FileStorage, **kwargs):
        assert isinstance(file_storage, FileStorage)

        instance = cls()
        kwargs['original_filename'] = file_storage.filename
        return instance.attach(file_storage, **kwargs)

I don't know if sqlalchemy-media should support flask.

Vahid
@pylover
The original filename is not mandatory, and it's sent via multipart header
Vahid
@pylover
Please add chang log also
loup
@YukSeungChan

Hello @pylover, It's been a while.

Are there any plan for version update ?

Vahid
@pylover
Hi, @YukSeungChan . Yes, agree with you
Thanks for OS2 store. you are awesome
Vahid
@pylover
Ther version 0.10.1 is up