Comments (8)
Rel issue: #188
cc: @illegalnumbers
The last time the package was updated was in 2016: https://test.pypi.org/project/united-states-congress/. I think this is a good time to release the repo to PyPI for people to use.
It has been pushed to the main pypi
directory: https://pypi.org/project/united-states-congress/ by @illegalnumbers
What actions do you need to take to make this happen?
For us to update the united-states-congress
package we need @illegalnumbers to hand over the maintainership of the pypi package over to you or me (or @JoshData assuming he wants to maintain the pypi package see prev comments)
If @illegalnumbers is unresponsive, filing a support ticket at https://github.com/pypa/pypi-support under PEP 514, allows us to reclaim the unmaintained package.
With this we can upload a newer version of the codebase. All of this does not require any commits to this repo.
However, for unitedstates/congress
to "support" such a pypi package, @JoshData would have to write off on a PR that adds installing from pypi as an alternate or recommended install method (again concerns on maintainership burden arise)
Does every commit to the master branch constitute the version incrementing?
As of now the version is fixed no matter commit changes. While semantic versioning has been mentioned, @Andrew-Chen-Wang's suggestion of date versioning makes the most sense. I think the best approach to version and releasing to pypi would be "code dumps", i.e. when things look good enough just make a commit for the version change in setup.py and a tag on github releases with the date version then upload to pypi. (again maintainership burden) Notwithstanding that, just a simple point release scheme is good enough (as long as we don't exceed the current data, which I doubt will happen, so that we can fallback to the date versioning scheme whenever the project wants.
Command line usage instructions and help for the various tasks.
This is def a good one, but I think is orthogonal to a release on pypi.
A previous suggestion by you:
One side-effect however, when I call usc-run from somewhere other than the repo root, it creates the data/ and cache/ dirs in the directory where I called it. I feel like this is undesirable, and it should always download to some default location unless a download destination is provided.
This is another good issue that can be solved with the XDG spec, specifically $XDG_CACHE_HOME/usc
for cache/
. For data/
as that is an output I think default should be current directory and user should be able to specify output data/
dir with a flag like --data-output
Again tho, it should be its own issue from this.
I believe the closure of this issue would be accomplished with decision of adding pip install united-states-congress
on the README.md or not.
from congress.
I've found that sharing of maintainership on PyPi is great, but I also recommend a GitHub workflow that creates a PyPi release when a maintainer releases a GitHub release. This helps when there's a team of maintainers who don't have much down time.
from congress.
I do not recommend a release everyday at all. I don't this project undergoes that many changes to warrant such sophisticated methods.
from congress.
One question I have is regarding versioning. @acxz Does every commit to the master branch constitute the version incrementing?
from congress.
One thing I'd want to see merged before releasing:
- Command line usage instructions and help for the various tasks.
This is something I can work on.
from congress.
Great suggestion, such a change would be required for the closure of this issue if @JoshData is willing to support it. Again maintainership burden
from congress.
@acxz Just a note but for an auto release bot that releases everyday, you can take a look at the auto changelog and release bot at cookiecutter django for inspiration (or copy pasta).
Though I think it would be pretty annoying to release every day
from congress.
I do not recommend a release everyday at all. I don't this project undergoes that many changes to warrant such sophisticated methods.
Agreed. Please do not make a release every day.
from congress.
Related Issues (20)
- [Enhancement] Output current operation for bills.
- [Enhancement] Show a warning when unexpected options are provided.
- Python 3 support HOT 6
- Some bills (maybe 1/7 of them) give module 'lxml.html' has no attribute 'entities' HOT 1
- Vote format has changed for House 2020? HOT 6
- [Bug] Error handling in govinfo.py line 73 HOT 5
- [Bug] Votes scraper not pulling in most recent vote, until I cleared cache HOT 2
- [Bug] Bad zip file HOT 1
- Newbie Q: Pulling bills for only one topic HOT 2
- Is there any interest in using govinfo's bulkdata zip files HOT 1
- Error: ImportError: No module named html.entities after the Feb 28th update HOT 4
- Unable to scrape Committee meetings HOT 1
- Downloading House votes in 2001 and 1991 raises exception HOT 5
- Error in parsing sponsor & byRequest HOT 4
- Discrepancies on amendment roll call votes
- (votes, committee_meetings): senate.gov and clerk.house.gov not redirecting to https
- Correct Virtual Env Suggestion
- Request - Include Mastodon ID for members of congress HOT 2
- Error from lxml when parsing amendments "purpose" field 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 congress.