Comments (15)
Hi,
I started to port this to python3.4.3. I have a fork where it passes almost all tests. However, it isn't backwards compatible with 2.7 (the project that I need talon for only uses python3). Feel free to check it out. In the next few weeks, I'll try to make it backwards compatible.
from talon.
+1
from talon.
Python 3 support will be great.
from talon.
+1
from talon.
+1
from talon.
I am would like mark mailgun/talon require mailgun/flanker (lack python3 support) which require mailgun/expiringdict, which lack of python 3 support too.
from talon.
Hi,
I've created a fork of talon, https://github.com/tictail/claw, in which I've removed the signature extraction that depends on ML (which I didn't use), and cleaned up some dependencies (now much less weird stuff installed). I've also started to implement some bug fixes, along with CI test suites and so on.
Flanker is only used in the tests, so to get Python3.4 support working would be to just find another way to run those tests.
from talon.
Hi all. Talon has been updated to have no flanker dependency. Could you please check compatibility with Python 3.4?
from talon.
@obukhov-sergey , talon still require "lxml==2.3.3", but lxml < 3, are not python 3 compatible.
from talon.
@obukhov-sergey , At https://github.com/ad-m/claw/tree/mailgun_talon I created fork of your repo, added TravisCi by python 2.7,3.3 and 3.4.
In .travis.yml
I used conda
package manager, due some performance issues (which make installations fails on Travis) for numpy, scipy and scikit-learn. Now it install fast enought.
Unfortuanetly, syntax of talon aren't python3 compatible. See for your code: https://travis-ci.org/ad-m/claw/jobs/79189172 .
I tried use 2to3
over talon code, but it still fails (see https://travis-ci.org/ad-m/claw/jobs/79186653 ).
from talon.
Hi @ad-m, thanks. I've unpinned lxml version. Will try to address other comments as soon as possible but no ETA.
from talon.
@obukhov-sergey , you have to add cssselect
to dependencies too.
from talon.
@Sumeet-Jain , thank you.
from talon.
#97 does the work to make the parts of talon that don't use ML support Python 3.
from talon.
Since this is still unsolved, I have a python 3 version of talon ready to go. All tests are passing from python 2.7 to python 3.6 although I had to modify some of the tests to assert against byte arrays instead of string, and to pass an encoding when opening unicode files on python 3.
I'll send in a PR shortly.
from talon.
Related Issues (20)
- Consider locking down the version of scipy in setup.py HOT 1
- PyPI not up-to-date HOT 6
- TypeError: cannot use a string pattern on a bytes-like object HOT 2
- Can not install using python 3.7
- Feature Request: Provide methods that return cursor and/or placeholder at end of reply
- How to arrange the two methods
- html to lined text issue
- How to run the code and extract the body of the email alone
- Not able to use Custom Classifier HOT 1
- Demo app source code HOT 2
- joblib warning HOT 3
- How to calculate Talon's accuracy score
- Joblib error HOT 9
- Parsing email in other languages HOT 1
- Unable to use signature extraction library HOT 1
- Unable to remove the part containing '--- Forwarded message ---' HOT 2
- Unable extract email signature by using talon HOT 1
- When is the next release planned? HOT 1
- error in importing signature
- What version of this library is compatible with Python 3.6?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from talon.