GithubHelp home page GithubHelp logo

pxmyh / helios Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 2.0 2.31 MB

Real Estate Rental Info Data Collector

Home Page: https://beast-helios.herokuapp.com/

License: MIT License

Python 11.96% Dockerfile 0.34% CSS 35.98% JavaScript 27.67% HTML 24.05% Procfile 0.01%
craigslist docker flask mls pipenv postgresql python real-estate scrapy

helios's People

Contributors

dependabot-preview[bot] avatar dependabot-support avatar pxmyh avatar snyk-bot avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

helios's Issues

fetch and filter information from website necessary

@PXMYH commented on Fri Oct 19 2018

requirements:

  • scrape basic information

For the rental market in Vancouver (make the location variable), information to be collected:

  • posted date time
  • updated date time
  • price
  • housing type
  • sqft
  • structure (# of beds # of baths)
  • availability
  • ad body (print information) => for further text analysis
  • accept URL for scraping

Setup Airbrake for your Python application

Installation

Using pip

pip install -U airbrake

Setup

The easiest way to get set up is with a few environment variables:

(You can find your project ID and API KEY with your project's settings):

export AIRBRAKE_API_KEY=<Your project API KEY>
export AIRBRAKE_PROJECT_ID=<Your project ID>
export AIRBRAKE_ENVIRONMENT=production

and you're done!

Otherwise, you can instantiate your AirbrakeHandler by passing these values as arguments to the getLogger() helper:

import airbrake


logger = airbrake.getLogger(api_key="<Your project API KEY>", project_id=<Your project ID>)

try:
    1/0
except Exception:
    logger.exception("Bad math.")

For more information please visit our official GitHub repo.

Dependabot can't resolve your Python dependency files

Dependabot can't resolve your Python dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

pipenv.patched.notpip._internal.exceptions.UnsupportedPythonVersion: pyrsistent requires Python '>=3.5' but the running Python is 2.7.18

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Dependabot can't resolve your Python dependency files

Dependabot can't resolve your Python dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

pipenv.patched.notpip._internal.exceptions.UnsupportedPythonVersion: pyrsistent requires Python '>=3.5' but the running Python is 2.7.18

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Create bot template to simplify adding new data sources

Currently to add a new data source we need to create a new spider and properly configure it, this leads to snowflake configuration and lots of duplicate code base. Have a common service responsible for creating/adding/configuring bots.

Dependabot can't resolve your Python dependency files

Dependabot can't resolve your Python dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

pipenv.patched.notpip._internal.exceptions.UnsupportedPythonVersion: pyrsistent requires Python '>=3.5' but the running Python is 2.7.18

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Dependabot can't resolve your Python dependency files

Dependabot can't resolve your Python dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

pipenv.patched.notpip._internal.exceptions.UnsupportedPythonVersion: pyrsistent requires Python '>=3.5' but the running Python is 2.7.18

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Dependabot can't resolve your Python dependency files

Dependabot can't resolve your Python dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

pipenv.patched.notpip._internal.exceptions.UnsupportedPythonVersion: pyrsistent requires Python '>=3.5' but the running Python is 2.7.18

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Dependabot can't resolve your Python dependency files

Dependabot can't resolve your Python dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

pipenv.patched.notpip._internal.exceptions.UnsupportedPythonVersion: pyrsistent requires Python '>=3.5' but the running Python is 2.7.18

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Dependabot can't resolve your Python dependency files

Dependabot can't resolve your Python dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

pipenv.patched.notpip._internal.exceptions.UnsupportedPythonVersion: pyrsistent requires Python '>=3.5' but the running Python is 2.7.18

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Dependabot can't resolve your Python dependency files

Dependabot can't resolve your Python dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

pipenv.patched.notpip._internal.exceptions.UnsupportedPythonVersion: fastavro requires Python '>=3.6' but the running Python is 2.7.18

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Provide dynamic configuration file to Cassandra cluster

Intent is to use docker config create to create a docker configuration and provide it to Cassandra cluster running in Docker Swarm. Steps as follows:

docker config create cassandra.yaml ./res/cassandra.yaml
docker service create --replicas 1 --name cassandra_cluster --config source=cassandra.yaml,target=/etc/cassandra/cassandra.yaml,mode=644 -d cassandra:3.11.3

However, after feeding config to cluster, getting error:

[atlantis@kali cassandra]$ docker service logs cassandra_cluster
cassandra_cluster.1.scgjmt4g17kk@kali    | chown: changing ownership of '/etc/cassandra/cassandra.yaml': Read-only file system
cassandra_cluster.1.nr7entee1ahm@kali    | chown: changing ownership of '/etc/cassandra/cassandra.yaml': Read-only file system
cassandra_cluster.1.w1h0b6lwfd0s@kali    | chown: changing ownership of '/etc/cassandra/cassandra.yaml': Read-only file system
cassandra_cluster.1.qgjzujcwsokz@kali    | chown: changing ownership of '/etc/cassandra/cassandra.yaml': Read-only file system
[atlantis@kali cassandra]$ 

Reason being Cassandra locked permission to read only and docker config can't overwrite the file.

Possible solution:
instruct Cassandra instead of looking for config in default location /etc/cassandra, it can find config under /cassandra.yaml which is default docker config loading behavior

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.