Comments (7)
OK, this is pretty simple, actually. See the answer here as a starting point:
http://stackoverflow.com/a/27091478/64911
from juriscraper.
Turns out this is a bit of a pain, and I could use some help from somebody that knows the conventions.
I was able to do most of the work in a new branch (named issue-59-pip), but ran out of time and had to stop. I think I've got an installable thing working. You can build with:
python setup.py sdist bdist_wheel
And you can install locally with:
pip install dist/juriscraper-1.0.tar.gz --upgrade
So that's cool. But:
- that doesn't handle the installation of the dependencies in the requirements.txt file (these apparently need to get moved to somewhere else)
- It doesn't handle the dependency on phantomJS (though there's apparently a new python project for this.
- In the readme I don't know how to explain installation to developers vs. users (is there a distinction?)
- I haven't figured out how to push it to pypi so it's available everywhere
Needs a bit more research, but I suspect for the right person, this would be a breeze.
This is the reference I've been using: https://hynek.me/articles/sharing-your-labor-of-love-pypi-quick-and-dirty/
from juriscraper.
I guess another thing to take care of here is that Travis is now broken for this branch. That should be easy though. Just a matter of backing out the weird stuff we're already doing...
from juriscraper.
Got an itch to dig into this, mostly to make the freelawmachine simpler.
from juriscraper.
You know, @m4h7 was doing some work on this, but I could never satisfy myself that it was ready, and I think I dropped the ball on taking it the last mile.
I wonder if it might be worth it to try to do the seal rookery and/or judge-pics first? It can't be that hard, but then, there's a TON of voodoo around it that really got me frustrated.
from juriscraper.
Closer. Got a package in PyPI. Seems there are some minor issues surfacing related to how parts of the module are exposed and how some things like logging works (See issue #128).
So right now a pip install juriscraper
appears to work on the surface. Still testing.
from juriscraper.
This is done!
from juriscraper.
Related Issues (20)
- Fill `afcca` gap HOT 2
- Fill `nmcca` gap HOT 1
- Fill `olc` gap HOT 2
- Fill `bap9` gap HOT 1
- Fill `bap10` gap HOT 2
- Site's HTML change is causing InsanityException on all `cal` inheriting scrapers HOT 1
- `ca1` source not showing most recent opinions HOT 4
- `dcd` is failing with InsanityException HOT 1
- Fill `colo` gaps HOT 1
- Fill `coloctapp` gaps HOT 7
- LXML Dependencies/Deprecations
- Fill `mass` and `massappct` gaps HOT 1
- GA: UnexpectedContentTypeError: https://efast.gaappeals.us/ HOT 4
- Fill `conn` gap HOT 1
- Fill `nm` and `nmctapp` gaps HOT 1
- Fill `sd` gaps HOT 1
- Drop support for 3.8 HOT 1
- Fill `vtsuperct` gaps HOT 1
- Fill `wyo` gap HOT 2
- njcourts.gov scrape responds with HTTP 403 Forbidden Imperva page HOT 1
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 juriscraper.